fleet/cypress/integration/basic/README.md
Zach Wasserman 417ef2c9b6
Refactor teams service methods (#910)
- 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.
2021-05-31 17:07:51 -07:00

23 lines
522 B
Markdown

# Basic tier tests
These tests should only run when the server is in `basic` tier.
To enable the tests:
```sh
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?
```js
if (Cypress.env("FLEET_TIER") === "basic") {
// test suite here
}
```