Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit 1e406d6

Browse files
Wait for Button to be present in Dialog e2e tests (#608)
Similar to how the Lookup tests wait for the Lookup to be present.
1 parent 1301b20 commit 1e406d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vue-components/tests/e2e/specs/Dialog.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ describe( 'Dialog', function () {
1616
beforeEach( function ( client ) {
1717
client
1818
.pause( 500 )
19-
.init( client.launch_url + '/iframe.html?id=dialog--complex&viewMode=story' );
19+
.init( client.launch_url + '/iframe.html?id=dialog--complex&viewMode=story' )
20+
.waitForElementPresent( '.wikit-Button' );
2021
} );
2122

2223
afterEach( function ( client, done ) {

0 commit comments

Comments
 (0)