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

* Variables: Confirms selection before opening new picker

* Tests: fixes e2e tests

(cherry picked from commit 6087980de0)
This commit is contained in:
Hugo Häggmark
2021-04-06 13:13:16 +02:00
committed by GitHub
parent 0d6b30ee28
commit e1006c8395
6 changed files with 268 additions and 15 deletions
@@ -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);
});
});
});