Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mike10ca committed Dec 2, 2024
1 parent b4c7d99 commit 261067c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 9 deletions.
6 changes: 0 additions & 6 deletions cypress/e2e/happypath/recovery_hp_1.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@ describe('Recovery happy path tests 1', () => {
recovery.clickOnNextBtn()
tx.executeFlow_1()
recovery.verifyRecovererAdded([constants.SEPOLIA_OWNER_2_SHORT])

recovery.clearRecoverers()

// recovery.removeRecoverer(0, constants.SEPOLIA_OWNER_2)
// recovery.clickOnNextBtn()
// tx.executeFlow_1()

recovery.getSetupRecoveryBtn()
})
})
2 changes: 1 addition & 1 deletion cypress/e2e/pages/nfts.pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const txDetailsSummary = '[data-testid="decoded-tx-summary"]'
const txAccordionDetails = '[data-testid="decoded-tx-details"]'
const accordionActionItem = '[data-testid="action-item"]'

const noneNFTSelected = '0 NFTs selected'
const noneNFTSelected = /0 NFT[s]? selected/
const sendNFTStr = 'Send NFTs'
const recipientAddressStr = 'Recipient address or ENS'
const selectedNFTStr = 'Selected NFTs'
Expand Down
1 change: 0 additions & 1 deletion cypress/e2e/pages/recovery.pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ export function getSetupRecoveryBtn() {

export function clickOnSetupRecoveryBtn() {
getSetupRecoveryBtn().click()
cy.get(setupRecoveryModalBtn).should('be.visible')
}

export function clickOnSetupRecoveryModalBtn() {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/pages/sidebar.pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export function checkSafeGroupBalance(index) {
.find(groupBalance)
.invoke('text')
.should('include', '$')
.and('match', /\d+\.\d{2}/)
.and('match', /\$?\s?\d+(\.\d{1,3})?/)
}

export function checkSafeGroupAddress(index, address) {
Expand Down

0 comments on commit 261067c

Please sign in to comment.