Skip to content

Commit

Permalink
removed localstorage check
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayadav09 committed Dec 16, 2024
1 parent 9fabf52 commit 9d435b4
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/cypress/integration/Home/migration.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,6 @@ describe(
cy.wrap( $el ).children().last().invoke( 'text' ).then( ( text ) => {
expect( text.toLowerCase() ).to.contain( 'nameserver' );
});
} else {
cy.window().then( ( win ) => {
const localStorageValue = win.localStorage.getItem( 'nfdHelpCurrentQuery' );
const localStorageContainsNameserver = localStorageValue
? localStorageValue.toLowerCase().includes( 'nameserver' )
: false;
expect( localStorageContainsNameserver ).to.be.true;
});
}
});
} );
Expand All @@ -107,14 +99,6 @@ describe(
cy.wrap( $el ).children().last().invoke( 'text' ).then( ( text ) => {
expect( text.toLowerCase() ).to.contain( 'domain' );
});
} else {
cy.window().then( ( win ) => {
const localStorageValue = win.localStorage.getItem( 'nfdHelpCurrentQuery' );
const localStorageContainsDomain = localStorageValue
? localStorageValue.toLowerCase().includes( 'domain' )
: false;
expect( localStorageContainsDomain ).to.be.true;
});
}
});
} );
Expand Down

0 comments on commit 9d435b4

Please sign in to comment.