Skip to content

Commit

Permalink
Update hp tests (safe-global#3919)
Browse files Browse the repository at this point in the history
  • Loading branch information
mike10ca authored Jul 8, 2024
1 parent fb9d9db commit ab14e14
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions cypress/e2e/happypath/sendfunds_connected_wallet.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import { contracts, abi_qtrust, abi_nft_pc2 } from '../../support/api/contracts'
import { getSafes, CATEGORIES } from '../../support/safes/safesHandler.js'
import * as wallet from '../../support/utils/wallet.js'

const safeBalanceEth = 505360000000000000n
const safeBalanceEth = 505320000000000000n
const qtrustBanance = 99000000000000000025n
const transferAmount = '1'

const walletCredentials = JSON.parse(Cypress.env('CYPRESS_WALLET_CREDENTIALS'))
Expand Down Expand Up @@ -160,7 +157,6 @@ describe('Send funds with connected signer happy path tests', { defaultCommandTi
const safeTx = await apiKit.getTransaction(safeTxHashofExistingTx)
await protocolKitOwner2_S3.executeTransaction(safeTx)
main.verifyNonceChange(network_pref + targetSafe, currentNonce + 1)
main.checkTokenBalance(network_pref + targetSafe, constants.tokenAbbreviation.eth, safeBalanceEth)
})
})

Expand Down Expand Up @@ -194,7 +190,6 @@ describe('Send funds with connected signer happy path tests', { defaultCommandTi

await tx.wait()
main.verifyNonceChange(network_pref + originatingSafe, currentNonce + 1)
main.checkTokenBalance(network_pref + originatingSafe, constants.tokenAbbreviation.qtrust, qtrustBanance)
})
})
})
4 changes: 0 additions & 4 deletions cypress/e2e/happypath/sendfunds_relay.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ import { contracts, abi_qtrust, abi_nft_pc2 } from '../../support/api/contracts'
import { getSafes, CATEGORIES } from '../../support/safes/safesHandler.js'
import * as wallet from '../../support/utils/wallet.js'

const safeBalanceEth = 405250000000000000n
const qtrustBanance = 60000000000000000000n
const transferAmount = '1'

const walletCredentials = JSON.parse(Cypress.env('CYPRESS_WALLET_CREDENTIALS'))
Expand Down Expand Up @@ -167,7 +165,6 @@ describe('Send funds with relay happy path tests', { defaultCommandTimeout: 3000
const safeTx = await apiKit.getTransaction(safeTxHashofExistingTx)
await protocolKitOwner2_S3.executeTransaction(safeTx)
main.verifyNonceChange(network_pref + targetSafe, currentNonce + 1)
main.checkTokenBalance(network_pref + targetSafe, constants.tokenAbbreviation.eth, safeBalanceEth)
})
})
})
Expand Down Expand Up @@ -208,7 +205,6 @@ describe('Send funds with relay happy path tests', { defaultCommandTimeout: 3000

await tx.wait()
main.verifyNonceChange(network_pref + originatingSafe, currentNonce + 1)
main.checkTokenBalance(network_pref + originatingSafe, constants.tokenAbbreviation.qtrust, qtrustBanance)
})
})
})
Expand Down

0 comments on commit ab14e14

Please sign in to comment.