We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84baff2 commit 74c408aCopy full SHA for 74c408a
tests/e2e/specs/core-themes/twentynineteen.js
@@ -46,10 +46,10 @@ describe( 'Twenty Nineteen theme on AMP', () => {
46
47
expect( menuItemWithSubmenu ).not.toBeNull();
48
49
- await expect( menuItemWithSubmenu ).toMatchElement( '.submenu-expand' );
+ await expect( menuItemWithSubmenu ).toMatchElement( '.display-on-mobile' );
50
await expect( menuItemWithSubmenu ).toMatchElement( '.sub-menu', { visible: false } );
51
52
- await expect( menuItemWithSubmenu ).toClick( '.submenu-expand' );
+ await expect( menuItemWithSubmenu ).toClick( '.display-on-mobile' );
53
await expect( menuItemWithSubmenu ).toMatchElement( '.sub-menu', { visible: true } );
54
} );
55
0 commit comments