Skip to content

Commit

Permalink
Merge branch 'trunk' into release/1.4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyakrishnai committed Dec 16, 2024
2 parents f95b5bb + 787871b commit c619574
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions tests/cypress/integration/Home/migration.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,14 @@ describe(
cy.get( '.help-container', {
timeout: customCommandTimeout,
} ).should( 'be.visible' );
cy.get( '#search-input-box' )
.should( 'have.attr', 'value' )
.then( ( value ) => {
expect( value.toLowerCase() ).to.contain( 'nameserver' );
} );
cy.wait( 1000 );
cy.get( 'div.helpcenter-question-block' ).then( ( $el ) => {
if ( $el.length ) {
cy.wrap( $el ).children().last().invoke( 'text' ).then( ( text ) => {
expect( text.toLowerCase() ).to.contain( 'nameserver' );
});
}
});
} );

it( 'Verify when connect domain to site clicked', () => {
Expand All @@ -90,11 +93,14 @@ describe(
cy.get( '.help-container', {
timeout: customCommandTimeout,
} ).should( 'be.visible' );
cy.get( '#search-input-box' )
.should( 'have.attr', 'value' )
.then( ( value ) => {
expect( value.toLowerCase() ).to.contain( 'domain' );
} );
cy.wait( 1000 );
cy.get( 'div.helpcenter-question-block' ).then( ( $el ) => {
if ( $el.length ) {
cy.wrap( $el ).children().last().invoke( 'text' ).then( ( text ) => {
expect( text.toLowerCase() ).to.contain( 'domain' );
});
}
});
} );

it( 'Verify when continue with store setup clicked', () => {
Expand Down

0 comments on commit c619574

Please sign in to comment.