vega-frontend-monorepo/apps/explorer-e2e
Matthew Russell 04872522d6
Task/229 Stub api in trading e2e (#211)
* add fixture for markets query

* stub graphql requests

* re-add assertion for tx hash, stub command/sync requests

* refactor to get tests to run with trading page mocked queries

* add test wallet credentials

* split up markets page from trading page

* add portfolio page feature, add market page scenarios

* move hasOperationName helper to support/index

* fix home-page.feature

* fix missing feature step

* Minor changes to BDD steps

* Use in object syntax to get better type safety on hasOperationName helper function

* remove bypass placing orders env var and usage in tests

* use UI_Trading_Test wallet publick key in command/sync mock

* move public key to cypress env

* replace fixtures with generator functions

* colocate query generators with queries

* add custom commands, add index files

* fix dodgy merge, remove duplicate market page feature

* make tsconfig for cypress lib match

* update tsconfig for explorer e2e so commands using merge work

* revert trading step to js

Co-authored-by: Joe <joe@vega.xyz>
2022-04-12 12:04:26 +01:00
..
src Additional tests in mobile resolution (#225) 2022-04-11 18:09:54 +01:00
.cypress-cucumber-preprocessorrc Fix for .env not picked up and Cypress update 2022-03-02 16:25:48 +00:00
.env Chore/sentry (#163) 2022-03-29 18:29:29 +01:00
.env.devent Chore/sentry (#163) 2022-03-29 18:29:29 +01:00
.env.mainnet Chore/sentry (#163) 2022-03-29 18:29:29 +01:00
.env.stagnet1 Chore/sentry (#163) 2022-03-29 18:29:29 +01:00
.env.stagnet2 Chore/sentry (#163) 2022-03-29 18:29:29 +01:00
.env.testnet Chore/sentry (#163) 2022-03-29 18:29:29 +01:00
.eslintrc.json migrate stuff into new NX 2022-02-23 08:53:57 +00:00
cypress.json Test/deal ticket tests (#161) 2022-04-04 16:11:27 +01:00
project.json migrate stuff into new NX 2022-02-23 08:53:57 +00:00
tsconfig.json Task/229 Stub api in trading e2e (#211) 2022-04-12 12:04:26 +01:00