-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fork from block number * Save anvil cache * Kill anvil to flush caches * No need for privateKey on anvil, use pre-defined test wallet * No need to update prices * Snapshots and account id * New block with all prices * Snapshot restore after test * data-cy="balance amount" * evmRevert * fix timeouts * stub icons * Less annoying logs * Comment out snapshots where not needed * Fix for undefined historicalClaims: Cannot read properties of undefined (reading 'reduce') * Fix for undefined vaults * Comment out second deposit test until bug with wrapped token balance refetching is fixed * Switch to a vanity address with simple new account * Update block number on Base * Typecheck * Account number * Fix undefined poolInfo * More timeouts * Back to test wallet * poolInfo may be undefined * Allow making price update calls * More fixes * Use importPythFeeds * Fix Base tests * Always have cypress_exit_code
- Loading branch information
Showing
33 changed files
with
427 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/usr/bin/env ts-node | ||
|
||
import { approveCollateral } from '../cypress/tasks/approveCollateral'; | ||
const [privateKey, symbol] = process.argv.slice(2); | ||
if (!privateKey || !symbol) { | ||
throw new Error('Usage: ./approveCollateral.ts <privateKey> <symbol>'); | ||
const [address, symbol] = process.argv.slice(2); | ||
if (!address || !symbol) { | ||
throw new Error('Usage: ./approveCollateral.ts <address> <symbol>'); | ||
} | ||
approveCollateral({ privateKey, symbol }); | ||
approveCollateral({ address, symbol }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#!/usr/bin/env ts-node | ||
|
||
import { createAccount } from '../cypress/tasks/createAccount'; | ||
const [privateKey] = process.argv.slice(2); | ||
if (!privateKey) { | ||
throw new Error('Usage: ./approveCollateral.ts <privateKey>'); | ||
const [address, accountId] = process.argv.slice(2); | ||
if (!address || !accountId) { | ||
throw new Error('Usage: ./approveCollateral.ts <address> <accountId>'); | ||
} | ||
createAccount({ privateKey }); | ||
createAccount({ address, accountId }); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env yarn ts-node | ||
|
||
import { doAllPriceUpdates } from '../cypress/tasks/doAllPriceUpdates'; | ||
const [privateKey] = process.argv.slice(2); | ||
doAllPriceUpdates({ privateKey }).then((data) => console.log(JSON.stringify(data, null, 2))); | ||
const [address] = process.argv.slice(2); | ||
doAllPriceUpdates({ address }).then((data) => console.log(JSON.stringify(data, null, 2))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 16 additions & 2 deletions
18
liquidity/cypress/cypress/e2e/42161-main/Create Account.e2e.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 17 additions & 5 deletions
22
liquidity/cypress/cypress/e2e/42161-main/Dashboard - Connected.e2e.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
liquidity/cypress/cypress/e2e/42161-main/Dashboard - Not Connected.e2e.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.