Ensure UI is loaded before attempting clicks

This commit is contained in:
Matthias 2023-04-07 15:01:32 +02:00
parent c06e290290
commit e7ff0d032e

View File

@ -9,6 +9,7 @@ describe('Settings', () => {
cy.visit('/');
cy.wait('@Ping');
cy.wait('@ShowConf');
cy.get('li').contains('Online', { timeout: 5000 }).should('be.visible');
// cy.wait('@Strategies');
cy.get('[id=avatar-drop]').should('be.visible').parent().click();