Test for H1, too

This commit is contained in:
Matthias 2023-04-07 15:13:26 +02:00
parent e7ff0d032e
commit a4e3567870

View File

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