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