Skip to content

Commit

Permalink
Update cy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mike10ca committed Jan 15, 2025
1 parent fdba84c commit c93bc39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/web/cypress/e2e/pages/create_tx.pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const enabledBulkExecuteBtnTooltip = 'All highlighted transactions will be inclu
const bulkExecuteBtnStr = 'Bulk execute'

const batchModalTitle = 'Batch'
const bulkTxStr = 'Bulk transactions'
const swapOrder = 'Swap order settlement'

export const filterTypes = {
incoming: 'Incoming',
Expand Down Expand Up @@ -634,7 +634,7 @@ export function verifyBulkConfirmationScreen(tx, actions) {
}

export function verifyBulkTxHistoryBlock(tx, actions) {
cy.contains(bulkTxStr)
cy.contains(swapOrder)
.parent('div')
.parent()
.eq(0)
Expand Down
1 change: 1 addition & 0 deletions apps/web/cypress/e2e/pages/create_wallet.pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ export function clickOnSignerAddressInput(index) {
}

export function selectSignerOnAutocomplete(index) {
cy.wait(500)
cy.get(addressAutocompleteOptions).eq(index).click()
}

Expand Down
1 change: 1 addition & 0 deletions apps/web/cypress/e2e/pages/sidebar.pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ export function verifyCopyAddressBtn(data) {
}

export function verifyEtherscanLinkExists() {
main.verifyMinimumElementsCount(explorerBtn, 1)
cy.get(sidebarContainer)
.should('be.visible')
.within(() => {
Expand Down

0 comments on commit c93bc39

Please sign in to comment.