Merge "Cypress: selecting the manual tab is fragile"

This commit is contained in:
jenkins-bot 2024-07-12 11:33:24 +00:00 committed by Gerrit Code Review
commit 660214f9cf

View file

@ -52,7 +52,7 @@ describe( 'Re-using refs in Visual Editor using templates', () => {
// TODO: Sometimes enabling the tab does not work right away.
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait( 500 );
cy.get( '.oo-ui-labelElement-label' ).contains( 'Manual' ).click();
cy.get( '.oo-ui-tabSelectWidget .oo-ui-labelElement-label' ).contains( 'Manual' ).click();
cy.get( '.oo-ui-labelElement-label' ).contains( 'Literatur' )
.should( 'be.visible' );