Merge "[Tests] Strengthen the reference drawer test"

This commit is contained in:
jenkins-bot 2022-04-25 22:47:25 +00:00 committed by Gerrit Code Review
commit 562810e633

View file

@ -33,6 +33,7 @@ describe( 'Opening and closing the reference drawer', () => {
it( 'Opening a reference', () => { it( 'Opening a reference', () => {
iAmOnPage( 'Selenium References test page' ); iAmOnPage( 'Selenium References test page' );
iClickOnAReference(); iClickOnAReference();
iShouldSeeDrawerWithText( 'This is a note.' );
iClickOnTheMask(); iClickOnTheMask();
iShouldSeeNotTheReferenceDrawer(); iShouldSeeNotTheReferenceDrawer();
} ); } );
@ -40,6 +41,7 @@ describe( 'Opening and closing the reference drawer', () => {
it( 'Opening a nested reference', () => { it( 'Opening a nested reference', () => {
iAmOnPage( 'Selenium References test page' ); iAmOnPage( 'Selenium References test page' );
iClickOnAReference(); iClickOnAReference();
iShouldSeeDrawerWithText( 'This is a note.' );
iClickOnANestedReference(); iClickOnANestedReference();
iShouldSeeDrawerWithText( 'This is a nested ref.' ); iShouldSeeDrawerWithText( 'This is a nested ref.' );
} ); } );