mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 16:10:55 +00:00
Merge "[Tests] Strengthen the reference drawer test"
This commit is contained in:
commit
562810e633
|
@ -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.' );
|
||||||
} );
|
} );
|
||||||
|
|
Loading…
Reference in a new issue