From 4f0e6c5013b3616ec19882e97d77d85bc8eabd39 Mon Sep 17 00:00:00 2001 From: shameerrehman <94149351+shameerrehman@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:33:21 -0400 Subject: [PATCH] test: adding cypress tests for feature filtering (#25) * feat: when initializing astral added options to filter which widgets to see, also added more detail in readme * chore: enabled all widgets * chore: changed variable name, docs: updated README file * test: adding cypress tests to check if enabling of features work --------- Co-authored-by: smalik --- README.md | 12 +++- cypress.config.ts | 1 + cypress/e2e/filter-feature.cy.ts | 113 +++++++++++++++++++++++++++++++ projects/demo/blank-page.html | 14 ++++ 4 files changed, 139 insertions(+), 1 deletion(-) create mode 100644 cypress/e2e/filter-feature.cy.ts create mode 100644 projects/demo/blank-page.html diff --git a/README.md b/README.md index 96eb1bd..4b1413b 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,16 @@ You can choose which widgets should appear by passing an object inside of the `i Here's an example: +```html + +``` + +Optionally we can choose which widgets should appear by passing an object inside of function call: + ```html + +