vega-frontend-monorepo/apps/trading-e2e/.env

30 lines
1.6 KiB
Bash
Raw Normal View History

feat(#2255): capsule tests for trading (#2498) * feat: improve proposal types, add faucet for trading asset * chore: yarn lock update * fix: capsule tests to avoid jsx import * chore: throw error so that ethereum setup failure is caught * chore: org files and add logging * chore: revert current trading-e2e .env file * chore: add .env.capsule for trading tests on capsule * chore: remove unused nx command * chore: remove try catchs and allow errors to be caught by cypress * chore: add slow tag for capsule test * feat: move create market setup to libs/cypress * chore: clearly separate vars meant for capsule with vars meant for non-capsule * feat: remove hardcoded urls and use config obj * chore: fix missing comma in genesis.tmpl * chore: added limit order edit price test * chore: remove encoding of transaction, update proposal tx trigger ratio to string * chore: fix date and add date verification for update order * chore: formatting fix * chore: adjust trading app tests and workflows to be run in capsule in ci (#2574) * chore: adjust trading app tests and workflows to be run in capsule in ci * chore: fix token tests * chore: increase timeout as it fails in ci * chore: move market check to before function * chore: add capsule logs to trading * chore: increase proposal close time, also break up script for better debugging * chore: bump up ethereum account setup timeout * chore: suppress fetch logs to help with debugging * chore: revert cy wraps now with suppressed logging * chore: decrease tick amount * chore: promise with timeout for better debugging * chore: bump individual timeouts * chore: bump timeout for tx wait promises * chore: minor fix * fix: leave Promise<any> * fix: leave Promise<any> * chore: fix home fail Co-authored-by: Joe <joe@vega.xyz> Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com> Co-authored-by: Radosław Szpiech <szpiechrados@gmail.com> Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
2023-01-17 15:33:43 +00:00
NX_ETHEREUM_PROVIDER_URL=http://localhost:8545
NX_ETHERSCAN_URL=https://sepolia.etherscan.io
NX_HOSTED_WALLET_URL=https://wallet.testnet.vega.xyz
feat(#2255): capsule tests for trading (#2498) * feat: improve proposal types, add faucet for trading asset * chore: yarn lock update * fix: capsule tests to avoid jsx import * chore: throw error so that ethereum setup failure is caught * chore: org files and add logging * chore: revert current trading-e2e .env file * chore: add .env.capsule for trading tests on capsule * chore: remove unused nx command * chore: remove try catchs and allow errors to be caught by cypress * chore: add slow tag for capsule test * feat: move create market setup to libs/cypress * chore: clearly separate vars meant for capsule with vars meant for non-capsule * feat: remove hardcoded urls and use config obj * chore: fix missing comma in genesis.tmpl * chore: added limit order edit price test * chore: remove encoding of transaction, update proposal tx trigger ratio to string * chore: fix date and add date verification for update order * chore: formatting fix * chore: adjust trading app tests and workflows to be run in capsule in ci (#2574) * chore: adjust trading app tests and workflows to be run in capsule in ci * chore: fix token tests * chore: increase timeout as it fails in ci * chore: move market check to before function * chore: add capsule logs to trading * chore: increase proposal close time, also break up script for better debugging * chore: bump up ethereum account setup timeout * chore: suppress fetch logs to help with debugging * chore: revert cy wraps now with suppressed logging * chore: decrease tick amount * chore: promise with timeout for better debugging * chore: bump individual timeouts * chore: bump timeout for tx wait promises * chore: minor fix * fix: leave Promise<any> * fix: leave Promise<any> * chore: fix home fail Co-authored-by: Joe <joe@vega.xyz> Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com> Co-authored-by: Radosław Szpiech <szpiechrados@gmail.com> Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
2023-01-17 15:33:43 +00:00
NX_VEGA_CONFIG_URL=''
NX_VEGA_DOCS_URL=https://docs.vega.xyz/testnet
NX_VEGA_ENV=CUSTOM
NX_VEGA_EXPLORER_URL=https://explorer.fairground.wtf
NX_VEGA_NETWORKS={\"TESTNET\":\"https://console.fairground.wtf\",\"STAGNET1\":\"https://stagnet1.console.vega.xyz\",\"STAGNET3\":\"https://stagnet3.console.vega.xyz\"}
NX_VEGA_TOKEN_URL=https://token.fairground.wtf
feat(#2255): capsule tests for trading (#2498) * feat: improve proposal types, add faucet for trading asset * chore: yarn lock update * fix: capsule tests to avoid jsx import * chore: throw error so that ethereum setup failure is caught * chore: org files and add logging * chore: revert current trading-e2e .env file * chore: add .env.capsule for trading tests on capsule * chore: remove unused nx command * chore: remove try catchs and allow errors to be caught by cypress * chore: add slow tag for capsule test * feat: move create market setup to libs/cypress * chore: clearly separate vars meant for capsule with vars meant for non-capsule * feat: remove hardcoded urls and use config obj * chore: fix missing comma in genesis.tmpl * chore: added limit order edit price test * chore: remove encoding of transaction, update proposal tx trigger ratio to string * chore: fix date and add date verification for update order * chore: formatting fix * chore: adjust trading app tests and workflows to be run in capsule in ci (#2574) * chore: adjust trading app tests and workflows to be run in capsule in ci * chore: fix token tests * chore: increase timeout as it fails in ci * chore: move market check to before function * chore: add capsule logs to trading * chore: increase proposal close time, also break up script for better debugging * chore: bump up ethereum account setup timeout * chore: suppress fetch logs to help with debugging * chore: revert cy wraps now with suppressed logging * chore: decrease tick amount * chore: promise with timeout for better debugging * chore: bump individual timeouts * chore: bump timeout for tx wait promises * chore: minor fix * fix: leave Promise<any> * fix: leave Promise<any> * chore: fix home fail Co-authored-by: Joe <joe@vega.xyz> Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com> Co-authored-by: Radosław Szpiech <szpiechrados@gmail.com> Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
2023-01-17 15:33:43 +00:00
NX_VEGA_URL=http://localhost:3028/query
NX_VEGA_WALLET_URL=http://localhost:1789
NX_ETH_LOCAL_PROVIDER_URL=http://localhost:8545/
NX_ETH_WALLET_MNEMONIC="ozone access unlock valid olympic save include omit supply green clown session"
feat(#2255): capsule tests for trading (#2498) * feat: improve proposal types, add faucet for trading asset * chore: yarn lock update * fix: capsule tests to avoid jsx import * chore: throw error so that ethereum setup failure is caught * chore: org files and add logging * chore: revert current trading-e2e .env file * chore: add .env.capsule for trading tests on capsule * chore: remove unused nx command * chore: remove try catchs and allow errors to be caught by cypress * chore: add slow tag for capsule test * feat: move create market setup to libs/cypress * chore: clearly separate vars meant for capsule with vars meant for non-capsule * feat: remove hardcoded urls and use config obj * chore: fix missing comma in genesis.tmpl * chore: added limit order edit price test * chore: remove encoding of transaction, update proposal tx trigger ratio to string * chore: fix date and add date verification for update order * chore: formatting fix * chore: adjust trading app tests and workflows to be run in capsule in ci (#2574) * chore: adjust trading app tests and workflows to be run in capsule in ci * chore: fix token tests * chore: increase timeout as it fails in ci * chore: move market check to before function * chore: add capsule logs to trading * chore: increase proposal close time, also break up script for better debugging * chore: bump up ethereum account setup timeout * chore: suppress fetch logs to help with debugging * chore: revert cy wraps now with suppressed logging * chore: decrease tick amount * chore: promise with timeout for better debugging * chore: bump individual timeouts * chore: bump timeout for tx wait promises * chore: minor fix * fix: leave Promise<any> * fix: leave Promise<any> * chore: fix home fail Co-authored-by: Joe <joe@vega.xyz> Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com> Co-authored-by: Radosław Szpiech <szpiechrados@gmail.com> Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
2023-01-17 15:33:43 +00:00
# Expose some env vars to cypress environment for market setup
CYPRESS_ETH_WALLET_MNEMONIC=ozone access unlock valid olympic save include omit supply green clown session
CYPRESS_ETHEREUM_WALLET_ADDRESS=0xEe7D375bcB50C26d52E1A4a472D8822A2A22d94F
feat(#2255): capsule tests for trading (#2498) * feat: improve proposal types, add faucet for trading asset * chore: yarn lock update * fix: capsule tests to avoid jsx import * chore: throw error so that ethereum setup failure is caught * chore: org files and add logging * chore: revert current trading-e2e .env file * chore: add .env.capsule for trading tests on capsule * chore: remove unused nx command * chore: remove try catchs and allow errors to be caught by cypress * chore: add slow tag for capsule test * feat: move create market setup to libs/cypress * chore: clearly separate vars meant for capsule with vars meant for non-capsule * feat: remove hardcoded urls and use config obj * chore: fix missing comma in genesis.tmpl * chore: added limit order edit price test * chore: remove encoding of transaction, update proposal tx trigger ratio to string * chore: fix date and add date verification for update order * chore: formatting fix * chore: adjust trading app tests and workflows to be run in capsule in ci (#2574) * chore: adjust trading app tests and workflows to be run in capsule in ci * chore: fix token tests * chore: increase timeout as it fails in ci * chore: move market check to before function * chore: add capsule logs to trading * chore: increase proposal close time, also break up script for better debugging * chore: bump up ethereum account setup timeout * chore: suppress fetch logs to help with debugging * chore: revert cy wraps now with suppressed logging * chore: decrease tick amount * chore: promise with timeout for better debugging * chore: bump individual timeouts * chore: bump timeout for tx wait promises * chore: minor fix * fix: leave Promise<any> * fix: leave Promise<any> * chore: fix home fail Co-authored-by: Joe <joe@vega.xyz> Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com> Co-authored-by: Radosław Szpiech <szpiechrados@gmail.com> Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
2023-01-17 15:33:43 +00:00
CYPRESS_ETHEREUM_PROVIDER_URL=http://localhost:8545
CYPRESS_EXPLORER_URL=https://explorer.fairground.wtf
feat(#2255): capsule tests for trading (#2498) * feat: improve proposal types, add faucet for trading asset * chore: yarn lock update * fix: capsule tests to avoid jsx import * chore: throw error so that ethereum setup failure is caught * chore: org files and add logging * chore: revert current trading-e2e .env file * chore: add .env.capsule for trading tests on capsule * chore: remove unused nx command * chore: remove try catchs and allow errors to be caught by cypress * chore: add slow tag for capsule test * feat: move create market setup to libs/cypress * chore: clearly separate vars meant for capsule with vars meant for non-capsule * feat: remove hardcoded urls and use config obj * chore: fix missing comma in genesis.tmpl * chore: added limit order edit price test * chore: remove encoding of transaction, update proposal tx trigger ratio to string * chore: fix date and add date verification for update order * chore: formatting fix * chore: adjust trading app tests and workflows to be run in capsule in ci (#2574) * chore: adjust trading app tests and workflows to be run in capsule in ci * chore: fix token tests * chore: increase timeout as it fails in ci * chore: move market check to before function * chore: add capsule logs to trading * chore: increase proposal close time, also break up script for better debugging * chore: bump up ethereum account setup timeout * chore: suppress fetch logs to help with debugging * chore: revert cy wraps now with suppressed logging * chore: decrease tick amount * chore: promise with timeout for better debugging * chore: bump individual timeouts * chore: bump timeout for tx wait promises * chore: minor fix * fix: leave Promise<any> * fix: leave Promise<any> * chore: fix home fail Co-authored-by: Joe <joe@vega.xyz> Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com> Co-authored-by: Radosław Szpiech <szpiechrados@gmail.com> Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
2023-01-17 15:33:43 +00:00
CYPRESS_FAUCET_URL=http://localhost:1790/api/v1/mint
CYPRESS_TRUNCATED_VEGA_PUBLIC_KEY=02ecea…342f65
CYPRESS_TRUNCATED_VEGA_PUBLIC_KEY2=7f9cf0…c25535
CYPRESS_VEGA_ENV=CUSTOM
CYPRESS_VEGA_PUBLIC_KEY=02eceaba4df2bef76ea10caf728d8a099a2aa846cced25737cccaa9812342f65
CYPRESS_VEGA_PUBLIC_KEY2=7f9cf07d3a9905b1a61a1069f7a758855da428bc0f4a97de87f48644bfc25535
CYPRESS_VEGA_TOKEN_URL=https://token.fairground.wtf
CYPRESS_VEGA_URL=http://localhost:3028/query
CYPRESS_VEGA_WALLET_URL=http://localhost:1789
CYPRESS_VEGA_WALLET_API_TOKEN=