Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mike10ca committed Sep 8, 2023
1 parent e5e7555 commit 50ddd75
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/pages/address_book.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ export function verifyNewEntryAdded(name, address) {
}

export function clickOnEditEntryBtn() {
cy.get(addressBook.editEntryBtn).click({ force: true })
cy.get(editEntryBtn).click({ force: true })
}

export function typeInNameInput(name) {
cy.get(addressBook.nameInput).clear().type(name).should('have.value', name)
cy.get(nameInput).clear().type(name).should('have.value', name)
}

export function clickOnSaveButton() {
Expand All @@ -89,5 +89,5 @@ export function clickDeleteEntryModalDeleteButton() {
}

export function verifyEditedNameNotExists(name) {
cy.get(nae).should('not.exist')
cy.get(name).should('not.exist')
}
2 changes: 1 addition & 1 deletion cypress/e2e/pages/main.page.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ const gotItBtn = 'Got it'

export function acceptCookies() {
cy.contains(acceptSelection).click()
cy.contains('button', gotItBtn).click()
cy.contains(acceptSelection).should('not.exist')
}
2 changes: 1 addition & 1 deletion cypress/e2e/smoke/balances.cy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as constants from '../../support/constants'
import * as balances from '../pages/balnces.pages'
import * as balances from '../pages/balances.pages'

const ASSETS_LENGTH = 8
const ASSET_NAME_COLUMN = 0
Expand Down

0 comments on commit 50ddd75

Please sign in to comment.