E2E: Fix failing old arch test. (#104793)

* Wait for all queries

* wait for the item to become a button instead
This commit is contained in:
Oscar Kilhed 2025-05-01 11:26:58 +02:00 committed by GitHub
parent 3bb5a13275
commit b8c5ca0632
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -71,7 +71,10 @@ describe('Variables - Set options from ui', () => {
e2e.components.LoadingIndicator.icon().should('have.length', 0); e2e.components.LoadingIndicator.icon().should('have.length', 0);
e2e.pages.Dashboard.SubMenu.submenuItemValueDropDownValueLinkTexts('AA').should('be.visible').click(); e2e.pages.Dashboard.SubMenu.submenuItemValueDropDownValueLinkTexts('AA')
.should('be.visible')
.should('match', 'button')
.click();
e2e.pages.Dashboard.SubMenu.submenuItemValueDropDownDropDown() e2e.pages.Dashboard.SubMenu.submenuItemValueDropDownDropDown()
.should('be.visible') .should('be.visible')