Cypress: selecting the manual tab is fragile

A change to the citoid error message referencing the manual tab is
breaking this test.

Bug: T364595
Change-Id: Ie79be1dbc1b7469cffc380478cf2d24bbe06f470
This commit is contained in:
David Lynch 2024-07-11 11:59:39 -05:00
parent e22dc3c08b
commit 68a3eb496e

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' );