mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
- Move team-related service methods to `ee/server/service`. - Instantiate different service on startup based on license key. - Refactor service errors into separate package. - Add support for running E2E tests in both Core and Basic tiers.
522 B
522 B
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
}