Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mike10ca committed Oct 31, 2023
1 parent 3efd0f2 commit f2b850c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/pages/owners.pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const tooltipLabel = (label) => `span[aria-label="${label}"]`
const removeOwnerBtn = 'span[data-track="settings: Remove owner"] > span > button'
const replaceOwnerBtn = 'span[data-track="settings: Replace owner"] > span > button'
const addOwnerBtn = 'span[data-track="settings: Add owner"]'
const tooltip = 'div[role="tooltip"]'
const tooltip = 'div[id=":rf:"]'
const expandMoreIcon = 'svg[data-testid="ExpandMoreIcon"]'
const sentinelStart = 'div[data-testid="sentinelStart"]'
const newOwnerName = 'input[name="newOwner.name"]'
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/smoke/create_tx.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe('Create transactions tests', () => {
before(() => {
cy.clearLocalStorage()
cy.visit(constants.BALANCE_URL + constants.SEPOLIA_TEST_SAFE_5)
main.acceptCookies()
main.acceptCookies(2)
})

it('Verify a new send token transaction can be created [C56104]', () => {
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/smoke/import_export_data.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ describe('Import Export Data tests', () => {
})

it('Verify address book imported data [C56112]', () => {
main.acceptCookies(1)
file.clickOnAddressBookBtn()
file.verifyImportedAddressBookData()
})
Expand All @@ -32,7 +33,6 @@ describe('Import Export Data tests', () => {
const appNames = ['Transaction Builder']

file.clickOnAppsBtn()
file.clickOnBookmarkedAppsBtn()
file.verifyAppsAreVisible(appNames)
})

Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/smoke/tx_history.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('Transaction history tests', () => {
// So that tests that rely on this feature don't randomly fail
cy.window().then((win) => win.localStorage.setItem('SAFE_v2__AB_human-readable', true))

main.acceptCookies()
main.acceptCookies(1)
})

//Skipping this due to test data creation
Expand Down Expand Up @@ -129,7 +129,7 @@ describe('Transaction history tests', () => {
})

it('Verify transaction can be expanded/collapsed [C56129]', () => {
createTx.clickOnTransactionExpandableItem('Oct 9, 2023', () => {
createTx.clickOnTransactionExpandableItem('Oct 20, 2023', () => {
createTx.verifyTransactionStrExists(str1)
createTx.verifyTransactionStrExists(str2)
createTx.verifyTransactionStrExists(str3)
Expand Down

0 comments on commit f2b850c

Please sign in to comment.