mirror of
https://github.com/empayre/fleet.git
synced 2024-11-07 01:15:22 +00:00
914fd9013d
* 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> |
||
---|---|---|
.. | ||
admin.spec.ts | ||
maintainer.spec.ts | ||
observer.spec.ts | ||
README.md |
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
}