fleet/cypress/integration/basic
gillespi314 2dbeea528e
Cypress e2e test for teams global admin (Fleet basic tier) (#1082)
* Add cypress test for Basic tier - Admin user

* Add cypress test for Basic tier - Admin user

* Refine Cypress tests for global admin role

* Fix linting error
2021-06-15 12:57:03 -05:00
..
admin.spec.ts Cypress e2e test for teams global admin (Fleet basic tier) (#1082) 2021-06-15 12:57:03 -05:00
maintainer.spec.ts Set up Cypress testing for Teams/Tiers (#1005) 2021-06-09 11:56:59 -07:00
observer.spec.ts Added command for seeding queries (#1061) 2021-06-11 14:27:19 -07:00
README.md Refactor teams service methods (#910) 2021-05-31 17:07:51 -07:00
team_maintainer_observer.spec.ts Set up Cypress testing for Teams/Tiers (#1005) 2021-06-09 11:56:59 -07:00
teamflow.spec.ts Refactor teams service methods (#910) 2021-05-31 17:07:51 -07:00

Basic tier tests

These tests should only run when the server is in basic tier.

To enable the tests:

export CYPRESS_FLEET_TIER=basic

Before running the appropriate yarn cypress (open|run) command.

Filtering

Any test suite in this directory should use the following pattern for filtering:

FIXME: There must be a better way to do this for all tests in the directory rather than having to add the check in each file?

if (Cypress.env("FLEET_TIER") === "basic") {
  // test suite here
}