diff --git a/cypress/e2e/pages/balances.pages.js b/cypress/e2e/pages/balances.pages.js index e3e6d14dbc..1dcaf46e5c 100644 --- a/cypress/e2e/pages/balances.pages.js +++ b/cypress/e2e/pages/balances.pages.js @@ -20,7 +20,6 @@ const hiddenTokenDeselectAllBtn = 'span[data-track="assets: Deselect all hide di const hiddenTokenIcon = 'svg[data-testid="VisibilityOffOutlinedIcon"]' const hideTokenDefaultString = 'Hide tokens' -const gotItStr = 'Got it!' const assetNameSortBtnStr = 'Asset' const assetBalanceSortBtnStr = 'Balance' const sendBtnStr = 'Send' @@ -184,14 +183,6 @@ export function verifyEachRowHasCheckbox(state) { }) } -export function acceptSpamWarning() { - cy.get('button').contains(gotItStr).click() - verifySpamWarningNotdisplayed() -} - -export function verifySpamWarningNotdisplayed() { - cy.contains(gotItStr).should('not.exist') -} export function verifyTokensTabIsSelected(option) { cy.get(`a[aria-selected="${option}"]`).contains('Tokens') } diff --git a/cypress/e2e/smoke/assets.cy.js b/cypress/e2e/smoke/assets.cy.js index 075ac1bd20..6a6c7e4717 100644 --- a/cypress/e2e/smoke/assets.cy.js +++ b/cypress/e2e/smoke/assets.cy.js @@ -14,7 +14,6 @@ describe('Assets tests', () => { cy.visit(constants.BALANCE_URL + constants.SEPOLIA_TEST_SAFE_5) cy.clearLocalStorage() main.acceptCookies() - balances.acceptSpamWarning() }) it('Verify that the token tab is selected by default and the table is visible [C56039]', () => { diff --git a/cypress/e2e/smoke/balances.cy.js b/cypress/e2e/smoke/balances.cy.js index e87d423346..98f32cad67 100644 --- a/cypress/e2e/smoke/balances.cy.js +++ b/cypress/e2e/smoke/balances.cy.js @@ -15,7 +15,6 @@ describe('Balance tests', () => { cy.clearLocalStorage() cy.visit(constants.BALANCE_URL + constants.SEPOLIA_TEST_SAFE_5) main.acceptCookies() - balances.acceptSpamWarning() cy.contains('Assets') cy.get(balances.balanceSingleRow).should('have.length.lessThan', ASSETS_LENGTH) balances.selectTokenList(balances.tokenListOptions.allTokens) diff --git a/cypress/e2e/smoke/batch_tx.cy.js b/cypress/e2e/smoke/batch_tx.cy.js index 9ed34130fc..4fa99449e9 100644 --- a/cypress/e2e/smoke/batch_tx.cy.js +++ b/cypress/e2e/smoke/batch_tx.cy.js @@ -12,7 +12,6 @@ describe('Batch transaction tests', () => { cy.clearLocalStorage() cy.visit(constants.BALANCE_URL + constants.SEPOLIA_TEST_SAFE_5) main.acceptCookies() - balances.acceptSpamWarning() }) it('Verify empty batch list can be opened [C56082]', () => { diff --git a/cypress/e2e/smoke/create_tx.cy.js b/cypress/e2e/smoke/create_tx.cy.js index 033d61f3ca..dea585e611 100644 --- a/cypress/e2e/smoke/create_tx.cy.js +++ b/cypress/e2e/smoke/create_tx.cy.js @@ -11,7 +11,6 @@ describe('Create transactions tests', () => { cy.clearLocalStorage() cy.visit(constants.BALANCE_URL + constants.SEPOLIA_TEST_SAFE_5) main.acceptCookies() - balances.acceptSpamWarning() }) it('Verify a new send token transaction can be created [C56104]', () => {