Skip to content

Commit

Permalink
fix: Failing e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
usame-algan committed Oct 10, 2023
1 parent 34921dd commit 499a656
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/pages/create_wallet.pages.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as constants from '../../support/constants'

const newAccountBtnStr = 'Create new Account'
const newAccountBtnStr = 'Continue with E2E Wallet'

const nameInput = 'input[name="name"]'
const selectNetworkBtn = '[data-cy="create-safe-select-network"]'
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/pages/load_safe.pages.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as constants from '../../support/constants'

const addExistingAccountBtnStr = 'Add existing Account'
const addExistingAccountBtnStr = 'Add existing one'
const contactStr = 'Name, address & network'
const invalidAddressFormatErrorMsg = 'Invalid address format'

Expand All @@ -16,7 +16,7 @@ const ownersConfirmationsStr = 'Owners and confirmations'
const transactionStr = 'Transactions'

export function openLoadSafeForm() {
cy.contains('button', addExistingAccountBtnStr).click()
cy.contains('a', addExistingAccountBtnStr).click()
cy.contains(contactStr)
}

Expand Down
3 changes: 2 additions & 1 deletion cypress/e2e/smoke/import_export_data.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import * as file from '../pages/import_export.pages'
import * as main from '../pages/main.page'
import * as constants from '../../support/constants'

describe('Import Export Data', () => {
// TODO: This is currently removed from the welcome page
describe.skip('Import Export Data', () => {
before(() => {
cy.clearLocalStorage()
cy.visit(constants.welcomeUrl)
Expand Down

0 comments on commit 499a656

Please sign in to comment.