Commit Graph

20 Commits

Author SHA1 Message Date
Joe Tsang
5bc861b5ec
chore(cypress-11): upgrade to cypress 11.2 (#2251)
* chore: upgrade to cypress 11.2

* fix: update grep tags
2022-11-30 12:32:01 +00:00
Joe Tsang
6b6c05f04d
test(2061): token vegawallet v2 (#2150)
* test: use vega wallet v2 connect flow

* test: update tests using wallet v2

* test: fix failing token test

* test: add wait for spinner

* chore: purge capsule teardown
2022-11-17 18:22:51 +00:00
Joe Tsang
3ff6514cf8
chore(token tests): update failing tests (#1995)
* chore: update capsule files

* chore: fix failing staking tests

* chore: move capsule teardown var to cypress config

* chore: update teardown in workdflows
2022-11-08 17:44:01 +00:00
Joe Tsang
fb9505a8a8
chore: acs updated for token association (#1687) 2022-10-10 09:22:41 +01:00
Radosław Szpiech
dade1e502e
fix: wallet connection issue in PR check (#1583) 2022-10-01 12:09:50 -07:00
Joe Tsang
ac16ca9ee5
Test/783 cypress tags (#1428)
* test: add tags for slow tests

* chore: remove old flows

* test: added smoke tags to view tests

* test: add tags for trading tests

* test: tags for explorer tests added

* chore: add tags to remaining tests and tidy files

* chore: pass env in test command

* chore: fix build errors

* chore: re-add teardown for manual flow

* chore: ability to only run smoke tests in manual flow

* chore: fix manual input flow
2022-09-22 18:40:11 +01:00
Radosław Szpiech
4d9c43cf19
Chore/improve ci test times (#1423)
* chore: disable video record for token e2e

* chore: disable videos in all tests

* fix: change main-branch-name to base-ref

* chore: disable capsule being run when not necessary

* fix: missing true

* chore: fix typo

* chore: fix if contruction

* chore: fix env

* chore: fix envs

* chore: try to fix develop ref
2022-09-22 16:07:18 +02:00
AndyWhiteVega
d47d754ac9
Test/governance suite expansion (#1372)
* test: initial commit

* test: commit

* test: extra tests and references added also new tag 0.55.0 for builds

* test: lint

* test: back to 0.54 for capsule cypress until tests fixed

* test: skip two tests since wallet name no longer shown soon to be fixed

* test: couple more tests to fulfill ACs

* test: lint

* test: more tests

* test: lint

* test: extra check within test

* test: lint

* test: minor

* test: improve test flake and skip test bugs outstanding

* test: lint and increase epoch length by second

* test: more tests

* test: lint

* test: lint

* test: lint

* test: teardown functionality

* test: lint

* test: epoch speed up and network restart stuff

* test: lint

* test: change epoch duration

* test: timing tweaks due to failures in CI

* test: lint

* test: more timing tweaks

* test: lint

* test: timing tweak

* test: lint

* test: lint

* test: config changes
2022-09-16 18:12:08 +01:00
AndyWhiteVega
e66e5af6a3
Test/token association fixes (#1216)
* test: fixes

* test: lint
2022-09-01 12:25:11 +01:00
AndyWhiteVega
3519f1b814
Test/1205 increase coverage of staking tests (#1206)
* test: initial commit

* test: lint

* test: flake fix

* test: lint

* test: improve flake

* test: lint
2022-08-31 15:31:00 +01:00
Radosław Szpiech
664c55960b
test: added missing block confirmation coverage (#1115) 2022-08-23 10:27:43 -07:00
AndyWhiteVega
61e164e78c
Test/757 tfe add e2e tests for governance (#1085)
* test: initial commit

* test: lint

* chore: set different environement variable for rest url

* test: enable commented out steps

* chore: set base correctly

* chore: correct env var

* test: update to function

* test: lint

* test: governance flow

* test: lint

* test: extra tests

* fix: set fetchPolicy to not cache results so new proposals are updated

* test: update

* test: lint

* test: extra tests

* test: lint

* test: add wait and select proposal

* test: lint

* test: extra checks

* test: lint

* Revert "chore: use custom vega capsule file (#1055)"

This reverts commit 6b4b896bbc.

* test: final commit of initial tests

* test: removal of unused file

* test: before all change to reset before each test

* test: speed enhancement

* test: lint

* test: lint check fix

Co-authored-by: Dexter <dexter.edwards93@gmail.com>
2022-08-19 14:39:00 +01:00
Joe Tsang
181819fb24
Test/868 staking ACs (#939)
* test: staking validation tests

* chore: standardise codes

* chore: standardise codes

* test: additional ACs added and view tests mostly done

* chore: update codes

* test: staking tests passing

* chore: remove comments and formatting

* test: fix staking view tests

* fix: empty string assertion

* fix: lint

* chore: remove unnecessary assertions

Co-authored-by: Edd <edd@vega.xyz>
2022-08-05 17:59:44 +01:00
Radosław Szpiech
90b2d9bbb0
Fix manual workflow (#786)
* chore: fix typo

* chore: fix flag in workflow

* chore: fix if

Co-authored-by: Rado <rado@vegaprotocol.io>
2022-07-18 13:55:31 +02:00
Radosław Szpiech
462ccc93c5
chore: fix nightly jobs and allow choosing flows (#769)
* chore: fix nightly jobs and allow choosing flows

* chore: restore env variable CYPRESS_NIGHTLY_RUN

Co-authored-by: Rado <rado@vegaprotocol.io>
2022-07-18 10:38:11 +02:00
Joe Tsang
53faf03d43
test: increase resolution in config files (#750)
* test: increase resolution in config files

* fix: failing market list test

* fix: increase timeout for intermittent failing market test
2022-07-14 16:49:20 +01:00
Radosław Szpiech
f9a91938fb
test(token): eth wallet widget validations with wallet connected (#731)
* test(token): eth wallet widget validations with wallet connected

* test(token): change currency tests to be more readable

Co-authored-by: Rado <rado@vegaprotocol.io>
2022-07-11 15:32:32 +02:00
AndyWhiteVega
86310d7bb1
test: changing config to prevent successful test videos from compress and uploading (#730) 2022-07-08 13:54:56 +01:00
AndyWhiteVega
2757429018
Task/token flow tests (#695)
* test(token-e2e): initial commit

* test(token-e2e): lint

* test: function Enhancements

* test: linting

* test: remove custom command type decs

* test: more tests

* test: linting

* test: working with capsule still needs rounding issues sorting

* test: enhancements

* test: enhancements

* test: check enhancements

* test: add brdige logic

* test: share instance rather than recreating on each test

* test: minor bug fix, add comment

* test: ensure working against capsule

* test: teardown functions in place

* test: linting

* test: completion of first iteration of happy paths

* test: lint

* test: typo change

* test: tweaks

* test: fix merge issues

* test: lint

* test: env variable handling and cleanup

* test: lint

* test: enhancements to logging to aid debugging

* test: lint

* test: ehancements after feedback

* test: lint

* Update apps/token-e2e/src/support/wallet-teardown.functions.js

Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>

* test: skipping non-essential tests to reduce time

* test: typo

* test: ci test fails coz capsule runs quicker their - disabled this one check to help

* test: reduction of coverage to help PR time

* test: disable infinte scroll test since capsule blockchain data to small

* test: corrected test: staked tokens field value no longer in a fixed state

* test: clearup to stop test bleed across projects plus bugfix

* test: lint

* test: update .env for trading

* Revert "test: update .env for trading"

This reverts commit 741743e4d2.

Co-authored-by: Dexter <dexter.edwards93@gmail.com>
2022-07-08 11:48:51 +01:00
Joe Tsang
46803ce619
test: update to latest Cypress version (10.2.0) (#655)
* test: update to latest Cypress version (10.2.0)

* fix: cypress error on simple trading app
2022-06-28 11:07:31 -07:00