From 9ca6425c3dd4249b5b9ebce241c155e8647fd10a Mon Sep 17 00:00:00 2001 From: mike10ca Date: Tue, 30 Jan 2024 15:51:38 +0100 Subject: [PATCH] tests: fix tests --- cypress/e2e/pages/spending_limits.pages.js | 2 +- cypress/e2e/regression/create_safe_google.cy.js | 2 +- cypress/e2e/smoke/create_tx.cy.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress/e2e/pages/spending_limits.pages.js b/cypress/e2e/pages/spending_limits.pages.js index 544d1d000f..f0cf01ee63 100644 --- a/cypress/e2e/pages/spending_limits.pages.js +++ b/cypress/e2e/pages/spending_limits.pages.js @@ -43,7 +43,7 @@ export const timePeriodOptions = { const getBeneficiaryInput = () => cy.get(beneficiarySection).find('input').should('be.enabled') const automationOwner = ls.addressBookData.sepoliaAddress2[11155111]['0xC16Db0251654C0a72E91B190d81eAD367d2C6fED'] -const expectedSpendOptions = ['0 of 0.17 ETH', '0 of 0.05 ETH', '0 of 0.01 ETH'] +const expectedSpendOptions = ['0 of 0.17 ETH', '0.00001 of 0.05 ETH', '0 of 0.01 ETH'] const expectedResetOptions = new Array(3).fill('One-time') const newTransactionStr = 'New transaction' diff --git a/cypress/e2e/regression/create_safe_google.cy.js b/cypress/e2e/regression/create_safe_google.cy.js index f29ded27e1..54ca5e127a 100644 --- a/cypress/e2e/regression/create_safe_google.cy.js +++ b/cypress/e2e/regression/create_safe_google.cy.js @@ -6,7 +6,7 @@ import * as navigation from '../pages/navigation.page' describe('Safe creation Google tests', () => { beforeEach(() => { - cy.visit(constants.welcomeUrl + '?chain=gor') + cy.visit(constants.welcomeUrl + '?chain=sep') cy.clearLocalStorage() main.acceptCookies() // TODO: Need credentials to finish API Google login diff --git a/cypress/e2e/smoke/create_tx.cy.js b/cypress/e2e/smoke/create_tx.cy.js index d5fa633939..e7c9c425bf 100644 --- a/cypress/e2e/smoke/create_tx.cy.js +++ b/cypress/e2e/smoke/create_tx.cy.js @@ -3,7 +3,7 @@ import * as main from '../../e2e/pages/main.page' import * as createtx from '../../e2e/pages/create_tx.pages' const sendValue = 0.00002 -const currentNonce = 0 +const currentNonce = 1 function happyPathToStepTwo() { createtx.typeRecipientAddress(constants.EOA)