mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
* 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 |
||
|---|---|---|
| .. | ||
| admin.spec.ts | ||
| maintainer.spec.ts | ||
| observer.spec.ts | ||
| README.md | ||
| team_maintainer_observer.spec.ts | ||
| teamflow.spec.ts | ||
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
}