Commit Graph

136 Commits

Author SHA1 Message Date
Joe Tsang
e4babe42c2
chore: update toml url (#2184) 2022-11-21 12:05:14 +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
Radosław Szpiech
9f4f54af6d
chore: separate running vegawallet service out of vegacapsule (#2095) 2022-11-16 16:04:33 +01:00
Radosław Szpiech
94c93ce790
test: use vegawallet dummy in e2e test workflows (#2055)
* chore: use vegawallet-dummy in workflows

* chore: fix

* chore: fix

* chore: add info about dummy in readme
2022-11-14 16:03:57 +01:00
Joe Tsang
3df69788fb
chore: update pipelines to use v0.62.1 (#2030) 2022-11-11 14:28:20 +01:00
Dexter Edwards
85120c0a3b
ci: fix verify workflow tirggers (#2032) 2022-11-11 12:45:38 +00:00
Joe Tsang
6a0ec22ee4
chore(test updates): fix withdrawal tests (#2007)
* chore: update withdrawal tests

* chore: fix teardown for manual flow

* chore: add wait

* chore: remove waits

* chore: update vega to v 0.62

* chore: reload page for first withdrawal

* chore: add navigate to withdrawals

* chore: add click

* fix: lint

* chore: turn off teardown and revert tag change
2022-11-10 09:53:30 +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
Radosław Szpiech
5cf6c11d36
chore: change condition check directly in test job (#1989)
It fixes the issue with required jobs in PR.
2022-11-08 16:58:46 +01:00
Matthew Russell
12ae6477a9
ci: add check for pr title (#1973)
* chore: addd lint_pr workflow

* ci: add workflow for commitlint on pr title

* ci: install and use config-conventional

* ci: add npx so command is found

* ci: update action name
2022-11-08 15:38:30 +00:00
Radosław Szpiech
205f348a01
fix: add missing yarn install in provision workflow (#1986) 2022-11-08 13:07:50 +00:00
Radosław Szpiech
55725930d7
Fix/fix wallet issue (#1983)
fix: change boolean to strings in conditionals
2022-11-08 14:01:37 +01:00
Radosław Szpiech
77bb148a70
fix: output path fixed to trigger jobs (#1978) 2022-11-08 12:21:29 +01:00
Gordsport
37882378b6
chore: update add issues to project action (#1975)
* chore: update add issues to project action

chore: update add issues to project action

The GitHub projects API has been replaced with ProjectsV2. This PR corrects the add issues to project action.

* style: fix formatting

Co-authored-by: Dexter <dexter.edwards93@gmail.com>
2022-11-08 11:07:10 +00:00
Radosław Szpiech
64b06ca801
chore(#1897): create separate e2e workflows to be run in parallel (#1969)
* test: modify existing workflows to make them run specific tests on separate runners

* chore: increase token-e2e job timeout
2022-11-08 10:33:22 +00:00
Radosław Szpiech
58caf0733d
test: add separate workflows for each app (#1958) 2022-11-04 14:13:54 +01:00
Radosław Szpiech
1febd76511
chore: fix live test workflow (#1882)
* chore: fix live test workflow

* chore: fix live test workflow
2022-10-27 12:40:30 +02:00
Radosław Szpiech
0b6670633e
test: add some tests to be run on live environments (#1858)
* test: add some tests to be run on live environments

* chore: move live env tests to separate file
2022-10-27 11:59:09 +02:00
Bartłomiej Głownia
17f93c2b7e
chore: add build-spec targets and execute on affected apps and libs on CI (#1745)
* chore: add build-spec targets and execute on affected apps and libs on CI

* chore: fix market-depth and react-helpers specs typings

* chore: fix ui-toolkit specs typings

* chore: fix trades specs typings

* chore: fix orders specs typings

* chore: fix deposits specs typings

* chore: fix deal-ticket specs typings

* feat: fix tsc on specs check

* feat: fix tsc on specs check

* feat: fix tsc on specs check

* feat: fix tsc on specs check

* feat: fix tsc on specs check - fix token app

* feat: fix tsc on specs check - fix positions lib

* feat: fix tsc on specs check - fix environment lib

* chore: fix failling build-spec in positions lib

Co-authored-by: maciek <maciek@vegaprotocol.io>
2022-10-25 09:41:16 +02:00
Joe Tsang
044eb160af
chore: tidy up capsule restart variables (#1800)
* chore: tidy up capsule restart variables

* chore: add flow for manually triggering all tests

* chore: fix if statement

* chore: revert flow change
2022-10-20 13:55:12 +01:00
Joe Tsang
9465543b23
Test/1540 fix flow tests (#1788)
* fix: local failing tests

* chore: remove capsule restart from manual flow

* fix: try fix failing wallet test

* chore: set capsule teardown to true

* chore: revert attempted fix

* fix: remove wallet steps

* chore: revert investigation changes

* chore: move asset wallet faucets

* chore: add retry to get asset func

* chore: add func for faucet assets without checks

* chore: turn off capsule restart after flows

* chore: remove commented lines
2022-10-19 16:48:57 +01:00
Radosław Szpiech
e984ea8e2a
chore: change tests to use stagnet3 by default (#1760) 2022-10-17 16:11:13 +02:00
Dexter
6038fca01e ci: run generate queries on develop 2022-10-13 16:59:05 +01:00
Radosław Szpiech
38454a7e33
Adjust workflow to new wallet (#1668)
* chore: change wallet import and fix test

* chore: fix wallet run

* chore: fix wallet run

* chore: update capsule config
2022-10-06 14:40:15 +02:00
Radosław Szpiech
6681c01b43
chore: run nightly run on demand (#1592) 2022-10-03 16:57:23 +02:00
Radosław Szpiech
dade1e502e
fix: wallet connection issue in PR check (#1583) 2022-10-01 12:09:50 -07:00
Radosław Szpiech
ab0065bd9a
chore: env setup fixed (#1567) 2022-09-30 11:02:55 +02:00
Radosław Szpiech
5600c56da1
fix: fix (#1565) 2022-09-30 10:59:15 +02:00
Radosław Szpiech
3d7267f496
fix: fix capsule workflow (#1563) 2022-09-30 10:31:38 +02:00
Radosław Szpiech
98abe2910d
chore: fix smoke flag meaning (#1553) 2022-09-29 19:11:52 +02:00
Radosław Szpiech
28aa5cd060
Chore/add skip nx cache flag (#1549)
* chore: add skip-nx-cache flag to manual flow

* chore: set --skip-nx-cache flag

* chore: set --skip-nx-cache flag

* chore: set --skip-nx-cache flag

* chore: remove log
2022-09-29 18:27:08 +02:00
Radosław Szpiech
7b0d41b4a6
fix: typo (#1547) 2022-09-29 18:02:40 +02:00
Radosław Szpiech
83ea12b4cb
Fix/smoke test flag (#1545)
* fix: fix smoke test flag logic

* fix: fix smoke test flag logic
2022-09-29 16:32:43 +01:00
Radosław Szpiech
93c1835cd6
Chore/1495 workflows minor improvements fixes and cleanup (#1538)
* test: try with shared actions

* test: fix env

* test: fix path

* test: fix path

* test: fix path

* test: fix path

* test: fix path

* test: fix path

* test: fix path

* test: fix path

* test: fix path

* test: fix path

* test: fix path

* test: create action for capsule build

* test: create action for capsule build

* test: create action for capsule build

* test: create action for capsule build

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* chore: create action for vegawallet setup

* chore: create action for vegawallet setup

* chore: fix

* chore: fix

* chore: fix

* chore: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* chore: apply changes to all workflows

* chore: apply changes to all workflows
2022-09-29 14:13:09 +01:00
Radosław Szpiech
6ddceaf6bd
chore: update vega binaries to v0.57.0 (#1514) 2022-09-28 15:31:35 +02:00
AndyWhiteVega
a9e8b6915e
Test/using chrome headless (#1516)
* test: change night run to use headless chrome to address memory issues

* test: update manual for non-smoke

* test: remove headless flag since depreciated

* test: update browser for cypress
2022-09-28 14:26:22 +01:00
Radosław Szpiech
6af189150b
test: vega in vegacapsule version changed to 0.56.0 (#1499) 2022-09-27 12:10:39 +02:00
Joe Tsang
195e234f16
Chore/separate cypress install in workflow (#1481)
* chore: add step that makes sure that Cypress bins are installed correctly

* chore: missing working directory

* chore: update remaining flows

Co-authored-by: Rado <szpiechrados@gmail.com>
2022-09-26 14:56:53 +02:00
Joe Tsang
f87fd676f6
chore: revert hosted runner (#1480) 2022-09-26 13:42:43 +02:00
Joe Tsang
b885696659
Chore/use self hosted runners (#1475)
* chore: edit manual flow

* chore: install yarn in flow

* chore: change runner for remaining flows

* chore: add yarn install to other flows
2022-09-26 12:15:05 +01:00
Radosław Szpiech
f124275ce5
chore: remove unnecessary if (#1468) 2022-09-23 16:49:38 +02:00
Radosław Szpiech
483cf05050
fix: need to yarn install before nx usage (#1466) 2022-09-23 16:23:54 +02:00
Radosław Szpiech
a452a6e831
Chore/use cache in GitHub jobs (#1461)
* chore: use cache v3

* chore: just cache whole node modules

* chore: download binaries instead of building them

* chore: missing directory flag

* chore: remove directory

* chore: aaah gobin

* chore: apply all improvements to other workflows

* chore: cache cypress

* fix: added mock for one failing test, removed console.log

* fix: removed increased timeout - not needed

* chore: change name back

Co-authored-by: asiaznik <artur@vegaprotocol.io>
2022-09-23 15:56:47 +02: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
c3cdcede9f
Chore/speed up manual workflow (#1436)
* chore: add similar way to speed up tests that is used in  capsule-cypress

* chore: fix typo

* chore: fix the fix

* fix: add network import

* fix: add home

* fix: another fix bites the dust
2022-09-22 18:19:18 +02:00
Radosław Szpiech
186a624466
fix: use fairground network for vega wallet if capsule is not run (#1431)
* fix: use fairground network for vega wallet if capsule is not run

* fix: this fix should fix the fix

* fix: add import fairground network

* fix: home paths added to vega wallet
2022-09-22 17:59:31 +02: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
Bartłomiej Głownia
3bf5d823ee
chore: stagnet3 api updates (#1321)
* chore: update account, fills and orders subscriptions in data providers

* chore: update account, fills and orders subscriptions in data providers

* fixing console-lite

* fixing types in general - regen

* chore: update account, fills and orders subscriptions in data providers

* fixed console-lite unit tests, uncommented quote name

* chore: update account, fills and orders subscriptions in data providers

* type aligning of assets and proposals

* fixes liquidity data provider

* fixed accounts build errors and unit tests

* regen types, removed market name

* regen types

* fixed positions

* chore: handle updates in derived market provider, update orders

* removed taker fee mapping (renamed to maker fee)

* chore: update account, fills and orders subscriptions in data providers

* chore: update account, fills and orders subscriptions in data providers

* chore: fix Order type

* chore: fix possible null types

* chore: revert order-list.stories.tsx

* chore:  derivedDataProvider fixes

* fills unit tests fixes

* orders unit tests fixes

* added eslint ingore for generated files in liquidity

* added unique key to the list element of simple market toolbar

* changed main-branch-name to develop for pr workflows

* removed redundant waitFor

* increased test timeout to 10s

* removed mocked response

* chore: disable simple market list tests

* chore: fix e2e projects mock types

* feat: [subscription-update] - uncomment some console-lite tests

* cypress: trading-accounts

* chore: replace  market candles with candlesConnection

* chore: ignore gql errors, to be reverted after candlesConnectio n will be fixed

* feat: [subscription-update] - improve wrongly renamed hook

* feat: [subscription-update] - improve wrongly renamed hook

* feat: [subscription-update] - improve wrongly renamed hook 3

* chore: add pagination hangdling to derived data provier

* cypress: trading-fills

* feat: [stagnet3 api update] - remove redundant command in tests

* feat: [stagnet3 api update] - remove redundant command in tests

* chore: fix trading orders e2e tests

* chore: fix console lite e2e mocks

* chore: fix market-trade tests

* chore: use markets only in market selector, change Instrument cache policy

* chore: fix market-selector tests

* feat: [subscription-update] - improve ag grid conf for unit tests

* feat: [subscription-update] - improve ag grid conf for unit tests

* chore: fix candle types in console lite market mocks

* chore: revert error policy ignore

* chore: revert jest timeout

* chore: remove unused AccountFields

* chore: revert remove unused AccountFields

* chore: simplify node subscription probe

* chore: remove unused generated types in candles-chart

* chore: improve useMarketsList mock

* feat: [subscription-update] - increase jest timeout

* feat: [subscription-update] - fix jest timeout

* feat: [subscription-update] - fix jest timeout

* feat: [subscription-update] - try to fix failing test again

* chore: fix candles-chart types

* feat: [subscription-update] - temporary skip failing test

* feat: [subscription-update] - temporary skip failing test

* feat: [subscription-update] - temporary skip failing test

* feat: [subscription-update] - fix failling int test

* feat: [subscription-update] - try to restore commented unit tests

* feat: [subscription-update] - try to restore commented unit tests

* feat: [subscription-update] - improve fixed unit tests

Co-authored-by: asiaznik <artur@vegaprotocol.io>
Co-authored-by: maciek <maciek@vegaprotocol.io>
2022-09-20 08:24:28 -07:00
Penny Andrews
c211c179b6
Create issue templates (#1386)
* Create bug issue template

* Create chore.md issue template

* Create user story issue template

* Update ---bug.md

* Update chore.md

* Update user-story.md

* test: update formatting

* fix: formatting

Co-authored-by: Gordsport <83510148+gordsport@users.noreply.github.com>
Co-authored-by: Madalina Raicu <madalina@vegaprotocol.io>
2022-09-19 15:33:23 +01: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