Skip to content

Commit 45402a4

Browse files
Include a cy.wait to prevent fail test on general onboarding-flow
1 parent 7addb62 commit 45402a4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/cypress/integration/2-general-onboarding-flow/basic-info.cy.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ describe( 'Basic Info Page', function () {
2323

2424
it( 'Check Drawer Activity', () => {
2525
let href;
26+
cy.wait( 3000 );
2627
cy.get( '.nfd-onboarding-drawer__toggle' )
2728
.as( 'drawerOpen' )
2829
.invoke( 'attr', 'class' )
@@ -194,9 +195,9 @@ describe( 'Basic Info Page', function () {
194195
).should( 'have.css', 'opacity', '0.75' );
195196
// The URL Checker runs on a debounce
196197
// Shows the message to the User in case of Invalid URL
197-
198+
198199
// cy.get( '.components-modal__content' ).type( '{esc}' );
199-
200+
200201

201202
socialTest.focus();
202203
socialTest.clear();
@@ -269,15 +270,15 @@ describe( 'Basic Info Page', function () {
269270
cy.get('@socialFormToggle').click();
270271
}
271272
});
272-
273+
273274
cy.get( socialTest ).should( 'exist' );
274275
cy.get( socialTest ).clear();
275276
cy.get( socialTest ).type( 'https://www.facebook.com/testfacebook' );
276-
277+
277278
cy.get( socialTest2 ).should( 'exist' );
278279
cy.get( socialTest2 ).clear();
279280
cy.get(socialTest2).type('@testTweet');
280-
281+
281282
cy.get( socialTest3 ).should( 'exist' );
282283
cy.get( socialTest3 ).clear();
283284
cy.get( socialTest3 ).type( '@testInsta' );

0 commit comments

Comments
 (0)