Navigation: Update e2e tests to work with topnav (#60910)

* turn on topnav toggle in e2e tests

* fix variable e2e tests

* fix remaining tests + remove some hardcoded waits

* speculative fixes

* wait for error to disappear

* use new selector, turn toggle back off
This commit is contained in:
Ashley Harrison
2023-01-04 14:59:53 +00:00
committed by GitHub
parent 4d989860fb
commit 7005b7bf8a
13 changed files with 144 additions and 35 deletions
@@ -29,6 +29,7 @@ e2e.scenario({
e2e.components.QueryEditorRows.rows({ timeout: flakyTimeout }).should('have.length', 2);
// Remove refId A
e2e.components.QueryEditorRow.actionButton('Remove query').eq(0).scrollIntoView();
e2e.components.QueryEditorRow.actionButton('Remove query').eq(0).should('be.visible').click();
// We expect row with refId B to exist and be visible