Variables: Confirms selection before opening new picker (#32586)

* Variables: Confirms selection before opening new picker

* Tests: fixes e2e tests
This commit is contained in:
Hugo Häggmark
2021-04-06 09:21:37 +02:00
committed by GitHub
parent f1bc4078c8
commit 6087980de0
5 changed files with 267 additions and 14 deletions

View File

@@ -150,14 +150,7 @@ describe('Variables - Load options from Url', () => {
e2e.pages.Dashboard.SubMenu.submenuItemValueDropDownDropDown()
.should('be.visible')
.within(() => {
e2e().get('.variable-option').should('have.length', 0);
});
e2e.pages.Dashboard.SubMenu.submenuItemValueDropDownValueLinkTexts('All').should('be.visible').click();
e2e.pages.Dashboard.SubMenu.submenuItemValueDropDownDropDown()
.should('be.visible')
.within(() => {
e2e().get('.variable-option').should('have.length', 0);
e2e().get('.variable-option').should('have.length', 10);
});
});
});