fleet/cypress/integration/free
Martavis Parker 914fd9013d
E2E refactor - Free tier (#3734)
* new session pattern; refactor admin test free tier

* making sure all sessions are cleared before setup

* modified free tier admin test; typescript addition

* refactored maintainer tests

* refactored observer tests - free; renamed login

* lint fixes

* added query tests

* lint fixes

* fixing tests

* lint fixes

* fixed finding text in save query modal

* Clear inputs

* Targeting

Co-authored-by: Luke Heath <luke@fleetdm.com>
2022-02-02 07:37:35 -08:00
..
admin.spec.ts E2E refactor - Free tier (#3734) 2022-02-02 07:37:35 -08:00
maintainer.spec.ts E2E refactor - Free tier (#3734) 2022-02-02 07:37:35 -08:00
observer.spec.ts E2E refactor - Free tier (#3734) 2022-02-02 07:37:35 -08:00
README.md Rename core->free and basic->premium (#1870) 2021-09-03 13:05:23 -03:00

Free tier tests

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

To enable the tests:

export CYPRESS_FLEET_TIER=free

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") === "free") {
  // test suite here
}