Chore: Login via the API by default in Cypress (#43167)

* Use the api to login in cypress by default

* export getBaseUrl

* Revert "export getBaseUrl"

This reverts commit ae7eecea37.

* just use BASE_URL from the env

* fix exemplars test

* move into separate functions
This commit is contained in:
Ashley Harrison
2021-12-16 09:28:37 +00:00
committed by GitHub
parent d03aef1951
commit c3ca46d5f6
4 changed files with 26 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ export const smokeTestScenario = {
addScenarioDataSource: true,
addScenarioDashBoard: true,
skipScenario: false,
loginViaApi: false,
scenario: () => {
e2e.flows.openDashboard();
e2e.components.PageToolbar.item('Add panel').click();