Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release / 5.2 #3543

Merged
merged 871 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
871 commits
Select commit Hold shift + click to select a range
66f0cb8
Merge pull request #3508 from Emurgo/denis/yoext-1150/change-language…
vsubhuman May 21, 2024
998aee3
Merge remote-tracking branch 'origin/develop' into denis/yoext-1158/c…
vsubhuman May 21, 2024
063203e
Merge pull request #3512 from Emurgo/denis/yoext-1158/change-language…
vsubhuman May 21, 2024
37921ee
Merge branch 'develop' into denis/yoext-1159/change-fiat-settings
vsubhuman May 21, 2024
4bf0c5f
Merge pull request #3513 from Emurgo/denis/yoext-1159/change-fiat-set…
vsubhuman May 21, 2024
d154d77
Merge branch 'develop' into denis/yoext-1163/change-cardano-explorer
vsubhuman May 21, 2024
e405bc1
Merge pull request #3516 from Emurgo/denis/yoext-1163/change-cardano-…
vsubhuman May 21, 2024
11a8907
Merge branch 'develop' into sorin/YOEXT-1069/pool-transition
vsubhuman May 21, 2024
6e35d10
yoroi-lib update
vsubhuman May 21, 2024
2cb8ec0
await fix
vsubhuman May 21, 2024
48c9707
flow and lint fixes
vsubhuman May 22, 2024
6b110ec
lint fixes
vsubhuman May 22, 2024
20c0595
lint fixes
vsubhuman May 22, 2024
8d30f63
Merge pull request #3472 from Emurgo/sorin/YOEXT-1069/pool-transition
vsubhuman May 22, 2024
96b80e8
New translations en-us.json (Hungarian)
stackchain May 22, 2024
065ab36
New translations en-us.json (Vietnamese)
stackchain May 22, 2024
1ae6968
Merge pull request #3518 from Emurgo/l10n_develop
vsubhuman May 22, 2024
e016afd
Merge remote-tracking branch 'origin/develop' into feat/YOEXT-1126/en…
vsubhuman May 22, 2024
e6a872a
package-lock update
vsubhuman May 22, 2024
a3d6c94
Merge pull request #3510 from Emurgo/feat/YOEXT-1126/encryptus-integr…
vsubhuman May 22, 2024
03942ae
New translations en-us.json (Hungarian)
stackchain May 22, 2024
ea3777d
New translations en-us.json (Vietnamese)
stackchain May 22, 2024
61028ef
Version bump: 5.1.421 (nightly)
vsubhuman May 23, 2024
8bd04bc
Version bump: 5.1.422 (nightly)
vsubhuman May 23, 2024
34559d8
minor fixes
Nebyt May 23, 2024
9274ae2
removed unused code
Nebyt May 23, 2024
6adc52b
added tos page
Nebyt May 23, 2024
f102b5e
added test
Nebyt May 23, 2024
1951309
added foundation for the test
Nebyt May 24, 2024
65cd5d0
Merge pull request #3521 from Emurgo/denis/yoext-1165/checking-tos
vsubhuman May 24, 2024
211a158
Merge pull request #3519 from Emurgo/l10n_develop
vsubhuman May 24, 2024
95f7b64
Extracted `createReorgTx` into `AdaApi`
vsubhuman May 24, 2024
3b15b9f
Merge remote-tracking branch 'origin/develop' into feat/YOEXT-1151/sw…
vsubhuman May 24, 2024
002e809
Added `createCollateralReorgForCancel` to SwapStore
vsubhuman May 24, 2024
deb85f9
Changed `pickCollateralUtxo` to ignore dirty utxos
vsubhuman May 26, 2024
58bd9b5
Added collateral reorg screen in the order cancel flow
vsubhuman May 27, 2024
5025803
fixing send max
vsubhuman May 27, 2024
fe47384
fixing swap max
vsubhuman May 27, 2024
c380280
added ids
Nebyt May 28, 2024
ab4249e
added memoWarningModal page
Nebyt May 28, 2024
549b2a1
moved exportTransactionsModal to a separate file
Nebyt May 28, 2024
020b3c8
added `getTransactionSlotsByHashes`
vsubhuman May 28, 2024
0d1284f
added addMemo page
Nebyt May 28, 2024
5d60c1a
added method getMemoMessage
Nebyt May 28, 2024
1265890
minor updates
Nebyt May 28, 2024
7bda2da
prettified memoWarningModal page
Nebyt May 28, 2024
8d4142e
added test
Nebyt May 28, 2024
1f0aaf8
Merge branch 'develop' into denis/yoext-1169/adding-memo
Nebyt May 28, 2024
346a871
added method getTxHashID
Nebyt May 29, 2024
cfdee8c
improved checks
Nebyt May 29, 2024
2baca4d
Merge branch 'denis/yoext-1169/adding-memo' of github.com:Emurgo/yoro…
Nebyt May 29, 2024
75d2a03
swap orders timestamp fetching
vsubhuman May 29, 2024
91c80c8
minor fixes
Nebyt May 29, 2024
14a5e14
Merge pull request #3522 from Emurgo/denis/yoext-1169/adding-memo
vsubhuman May 29, 2024
1316f9c
Merge remote-tracking branch 'origin/develop' into feat/YOEXT-1151/sw…
vsubhuman May 29, 2024
aa40a8b
dynamically loaded order timestamps
vsubhuman May 29, 2024
0d7233d
added batch tx-submitting in remote fetcher
vsubhuman May 29, 2024
29b60f5
swap reorg and cancel batch execution
vsubhuman May 30, 2024
63108ab
added indexedeDB dump for testWallet1
Nebyt May 30, 2024
5ea8bc3
added chrome local storage dump for testsWallet1
Nebyt May 30, 2024
c121bd5
added projectRootDir
Nebyt May 30, 2024
9be1ef8
removed debug steps
Nebyt May 30, 2024
dc67d62
added function getSnapshotObjectFromJSON
Nebyt May 30, 2024
e93ba5d
added methods getFullIndexedDBFromChrome and setInfoToIndexedDBChrome
Nebyt May 30, 2024
bc166da
fixing time format
vsubhuman May 30, 2024
50a9837
removed comment
Nebyt May 30, 2024
b82b4c4
added method prepareDBandStorage
Nebyt May 30, 2024
25648fd
Version bump: 5.1.423 (nightly)
vsubhuman May 30, 2024
3427d0a
added setting info into a common local storage
Nebyt May 30, 2024
454451e
added missed imports
Nebyt May 30, 2024
dbefdd2
using new approach where it is possible
Nebyt May 30, 2024
7a2e06a
added common storage
Nebyt May 30, 2024
34fd1d4
minor fix
Nebyt May 30, 2024
4b8fd9c
prettified
Nebyt May 30, 2024
09a3435
transaction ordering fix
vsubhuman May 30, 2024
6cfc2ad
Version bump: 5.1.424 (nightly)
vsubhuman May 30, 2024
61b4cb8
centralised time-util functions and removed pointless async
vsubhuman May 30, 2024
42eec73
merged ada-time-store into base-time-store
vsubhuman May 31, 2024
70e96db
renamed snapshots files
Nebyt May 31, 2024
60ec0cc
added snapshots dir path to constants
Nebyt May 31, 2024
b7d88ac
added the method saveFullIndexedDBChrome
Nebyt May 31, 2024
e668495
using dbSnapshotsDir
Nebyt May 31, 2024
8f5eafc
added snapshot for a wallet with added memo
Nebyt May 31, 2024
a0b1d72
minor change
Nebyt May 31, 2024
a2452b3
Merge branch 'develop' into denis/yoext-1171/skip-init
Nebyt May 31, 2024
6c3c283
removed `async` from time functions in base-time-store
vsubhuman May 31, 2024
bf43506
minor fixes
Nebyt May 31, 2024
27be850
Merge branch 'denis/yoext-1171/skip-init' of github.com:Emurgo/yoroi-…
Nebyt May 31, 2024
d41bf64
renamed DB snapshot file
Nebyt May 31, 2024
103770d
added ids
Nebyt May 31, 2024
d4b3d91
added method clickEditMemo
Nebyt May 31, 2024
22abb97
added method understandEditing, and changed pressUnderstand->understa…
Nebyt May 31, 2024
293ae7c
using understandAdding
Nebyt May 31, 2024
5c5c6b0
added method clearInputAll
Nebyt May 31, 2024
3a63a3d
added editMemoModal page
Nebyt May 31, 2024
7deb98a
added test for editing memo
Nebyt May 31, 2024
7b20869
minor change
Nebyt May 31, 2024
8a9d47b
Merge pull request #3524 from Emurgo/denis/yoext-1171/skip-init
vsubhuman May 31, 2024
a98351a
Merge branch 'develop' into denis/yoext-1170/edit-memo
vsubhuman May 31, 2024
16488fd
Merge pull request #3527 from Emurgo/denis/yoext-1170/edit-memo
vsubhuman May 31, 2024
2c5c328
Merge branch 'develop' into feat/YOEXT-1151/swap-cancel-collateral
vsubhuman May 31, 2024
4e8c1e7
add pool transition fixes
SorinC6 Jun 3, 2024
668993c
fix lint
SorinC6 Jun 3, 2024
5b261d2
Merge branch 'develop' into sorin/YOEXT-1132/pool-transition-fixes
SorinC6 Jun 3, 2024
b1328a6
test fixes
vsubhuman Jun 3, 2024
b7ecab0
extracted sendTx to avoid duplication
vsubhuman Jun 3, 2024
445b932
Merge remote-tracking branch 'origin/feat/YOEXT-1151/swap-cancel-coll…
vsubhuman Jun 3, 2024
18c3daa
add moment , fix text
SorinC6 Jun 4, 2024
934ef70
fix: tab label color
SorinC6 Jun 4, 2024
4061f1f
fix: info titles color
SorinC6 Jun 4, 2024
0242cb9
fix: slippage modal padding and width
SorinC6 Jun 4, 2024
9b2604b
fix: label lower case
SorinC6 Jun 4, 2024
2dfecb0
fix: swap input border style case
SorinC6 Jun 4, 2024
b0b267f
fix: active color
SorinC6 Jun 4, 2024
a38a227
fix: search assets input
SorinC6 Jun 4, 2024
5059e0f
fixes
SorinC6 Jun 4, 2024
257bfe2
fix card height
SorinC6 Jun 4, 2024
15eb528
fix: height input and modal bottom padding
SorinC6 Jun 5, 2024
d974940
Merge pull request #3523 from Emurgo/feat/YOEXT-1151/swap-cancel-coll…
vsubhuman Jun 5, 2024
82b0286
Merge branch 'develop' into sorin/YOEXT-1132/pool-transition-fixes
vsubhuman Jun 5, 2024
42536ea
fix hardcoded pool id
SorinC6 Jun 5, 2024
00ae72a
fix: change padding
SorinC6 Jun 5, 2024
5431273
Merge branch 'develop' into sorin/YOEXT-1104/swap-ui-fixes
SorinC6 Jun 5, 2024
776949f
fix: override font
SorinC6 Jun 5, 2024
2708644
reworked time-utils in a class of static functions
vsubhuman Jun 5, 2024
f85cfb5
Merge pull request #3528 from Emurgo/sorin/YOEXT-1132/pool-transition…
vsubhuman Jun 5, 2024
e10c7bd
Merge branch 'develop' into sorin/YOEXT-1104/swap-ui-fixes
vsubhuman Jun 5, 2024
094c3c5
Merge branch 'develop' into ruslan/time-util-sync
vsubhuman Jun 5, 2024
a90d1d9
Merge pull request #3529 from Emurgo/sorin/YOEXT-1104/swap-ui-fixes
vsubhuman Jun 5, 2024
fb30d14
Merge branch 'develop' into ruslan/time-util-sync
vsubhuman Jun 5, 2024
469dbc4
Merge pull request #3526 from Emurgo/ruslan/time-util-sync
vsubhuman Jun 5, 2024
4d3616b
simplified direct time-util calls
vsubhuman Jun 5, 2024
93927f4
extracted merging of multiple era configs
vsubhuman Jun 5, 2024
adff638
prettified time util functions
vsubhuman Jun 5, 2024
6d9bba4
lint fixes
vsubhuman Jun 5, 2024
b388fed
Merge branch 'develop' into ruslan/time-util-prettify
vsubhuman Jun 5, 2024
6f1e295
bumped to latest beta
vsubhuman Jun 6, 2024
7afb250
Merge remote-tracking branch 'origin/develop' into ruslan/yoroi-lib-bump
vsubhuman Jun 6, 2024
e1dede8
Merge pull request #3531 from Emurgo/ruslan/time-util-prettify
vsubhuman Jun 7, 2024
fbf8e14
moved tests and created workflow
Nebyt Jun 7, 2024
f39159e
removed unused imports
Nebyt Jun 7, 2024
22429a5
stabilized finding an element
Nebyt Jun 7, 2024
d441694
moved getting prices to a separate function and updated test
Nebyt Jun 7, 2024
8cd1480
stabilazing tests
Nebyt Jun 7, 2024
55bee9c
prettified
Nebyt Jun 7, 2024
466a467
Merge branch 'develop' into denis/yoext-1190/separate-failing-tests
Nebyt Jun 7, 2024
74aa753
blacklist for dapp tests
Nebyt Jun 7, 2024
81bb48a
minor improvement
Nebyt Jun 7, 2024
852efd1
added tickets to test cases
Nebyt Jun 7, 2024
b3983c6
update command to run failing test workflow
Nebyt Jun 8, 2024
fee3068
yoroi-lib update, added missing required libs
vsubhuman Jun 10, 2024
5aa96f3
fixed how the pool api is being called
vsubhuman Jun 10, 2024
46aa8d2
Merge remote-tracking branch 'origin/develop' into ruslan/yoroi-lib-bump
vsubhuman Jun 10, 2024
8cc45b2
added loading logo from metadata for swap assets
vsubhuman Jun 10, 2024
1271ace
flow fixes
vsubhuman Jun 10, 2024
ead2f78
moved some functions around to avoid dependency cycle
vsubhuman Jun 10, 2024
43c5162
flow fixes
vsubhuman Jun 10, 2024
0f7d0ae
Merge remote-tracking branch 'origin/ruslan/yoroi-lib-bump' into rusl…
vsubhuman Jun 10, 2024
d871498
eslint fixes
vsubhuman Jun 10, 2024
6003c6b
Version bump: 5.1.425 (nightly)
vsubhuman Jun 10, 2024
4c17735
add fixed header for modal content
Jun 10, 2024
91d9d7b
Merge pull request #3536 from Emurgo/fix/YOEXT-1111/sticky-search-bar…
vsubhuman Jun 10, 2024
a469005
Merge branch 'develop' into ruslan/yoroi-lib-bump
vsubhuman Jun 10, 2024
a0fd658
Merge pull request #3534 from Emurgo/ruslan/yoroi-lib-bump
vsubhuman Jun 10, 2024
f9df890
fix input border styles
SorinC6 Jun 11, 2024
9379276
fix btn variant
SorinC6 Jun 11, 2024
4f2f831
fix fee display
SorinC6 Jun 11, 2024
bf9e8c9
fix fee
SorinC6 Jun 11, 2024
631adda
fix btn hover styles
SorinC6 Jun 11, 2024
0648477
fix slippage dialog styles
SorinC6 Jun 11, 2024
78e63b2
fix pool info card padding
SorinC6 Jun 11, 2024
4671dac
fix cancel dialog styles
SorinC6 Jun 11, 2024
383b90e
fix modal styles
SorinC6 Jun 11, 2024
5efd7e8
fix height on market/limit input
SorinC6 Jun 11, 2024
42362c8
splitted e2e workflows into separate files
Nebyt Jun 11, 2024
973259c
Merge branch 'develop' into denis/yoext-1190/separate-failing-tests
Nebyt Jun 11, 2024
e5d348f
Renamed workflows
Nebyt Jun 11, 2024
c0d3d05
increased timeout
Nebyt Jun 11, 2024
2e2bfbf
minor change
Nebyt Jun 11, 2024
6cc4b2f
fix error case
SorinC6 Jun 11, 2024
5cd7d40
change padding
SorinC6 Jun 11, 2024
429c9fe
fix modal width
SorinC6 Jun 11, 2024
125eef2
wix width
SorinC6 Jun 11, 2024
6c44e28
add right variant for back button
SorinC6 Jun 11, 2024
1db8f6d
add fix height in the bottom panel
SorinC6 Jun 11, 2024
fcd52bc
add empty list in case of error in swap oders
SorinC6 Jun 11, 2024
928ed44
yoroi-lib bump
vsubhuman Jun 11, 2024
18e51b4
test snapshots fixes
vsubhuman Jun 11, 2024
33be519
add limit price change action
Jun 11, 2024
b6cfa19
removed commented code
SorinC6 Jun 11, 2024
5ee6f80
Merge branch 'develop' of github.com:Emurgo/yoroi-frontend into fix/Y…
Jun 11, 2024
87743c2
fix eslint
Jun 11, 2024
087036f
fix flow errors
Jun 11, 2024
62c6f34
transition per wallet
vsubhuman Jun 12, 2024
9f44aed
transition per wallet
vsubhuman Jun 12, 2024
d943eaa
lint fix
vsubhuman Jun 12, 2024
74fd316
nameof upgrade
vsubhuman Jun 12, 2024
e4653fe
unused type removed
vsubhuman Jun 12, 2024
62496a7
fixing calls
vsubhuman Jun 13, 2024
f8d1ffd
Merge pull request #3540 from Emurgo/ruslan/yoroi-lib-bump
vsubhuman Jun 13, 2024
a093b15
Merge branch 'develop' into fix/YOEXT-1130/edit-limit-price-bug
vsubhuman Jun 13, 2024
e8ecb9d
Merge pull request #3539 from Emurgo/fix/YOEXT-1130/edit-limit-price-bug
vsubhuman Jun 13, 2024
8ece60c
Merge branch 'develop' into ruslan/YOEXT-1173/swap-asset-icons
vsubhuman Jun 13, 2024
a351b6f
test fixes
vsubhuman Jun 13, 2024
38dae54
Merge pull request #3538 from Emurgo/ruslan/YOEXT-1173/swap-asset-icons
vsubhuman Jun 13, 2024
876cc83
Merge branch 'develop' into sorin/YOEXT-1138/ui-fixes
vsubhuman Jun 13, 2024
52a933a
Revert "fix(swap): add limit price change action"
vsubhuman Jun 13, 2024
c18d26a
Merge pull request #3541 from Emurgo/revert-3539-fix/YOEXT-1130/edit-…
vsubhuman Jun 13, 2024
21a08be
Revert "Revert "fix(swap): add limit price change action""
vsubhuman Jun 13, 2024
420a6bc
Merge pull request #3537 from Emurgo/sorin/YOEXT-1138/ui-fixes
vsubhuman Jun 13, 2024
9085887
Merge remote-tracking branch 'origin/develop' into denis/yoext-1190/s…
vsubhuman Jun 13, 2024
bdacd00
Version bump: 5.1.426 (nightly)
vsubhuman Jun 13, 2024
80d1e71
fix eslint
Jun 13, 2024
5ba5b62
Merge branch 'develop' of github.com:Emurgo/yoroi-frontend into fix/Y…
Jun 13, 2024
c0bb3ac
disable selling ADA
yushih Jun 14, 2024
c69439f
wip limit order fixes
Jun 14, 2024
11c92a3
add todo
Jun 14, 2024
446093f
remove console log
Jun 14, 2024
77f89e5
fix swap disclaimer dialog
SorinC6 Jun 14, 2024
8948890
Merge branch 'release/5.2' into sorin/fix/swap-disclaimer-dialog
vsubhuman Jun 14, 2024
384c492
Merge pull request #3548 from Emurgo/sorin/fix/swap-disclaimer-dialog
vsubhuman Jun 14, 2024
23d4372
Merge branch 'release/5.2' into fix/YOEXT-1193/limit-price-confirmati…
vsubhuman Jun 14, 2024
4e1c910
Merge remote-tracking branch 'origin/revert-3541-revert-3539-fix/YOEX…
vsubhuman Jun 14, 2024
795bec9
removed commented code
vsubhuman Jun 14, 2024
2a8f665
removing unused code
vsubhuman Jun 14, 2024
be900e1
lint fix
vsubhuman Jun 14, 2024
c6616e3
Merge pull request #3533 from Emurgo/denis/yoext-1190/separate-failin…
vsubhuman Jun 14, 2024
952680b
Merge pull request #3544 from Emurgo/fix/YOEXT-1193/limit-price-confi…
vsubhuman Jun 14, 2024
d409bd1
enable selling ADA for dev and nightly
yushih Jun 14, 2024
cd4b2c5
Merge remote-tracking branch 'origin/develop' into feat/disable-sell-ada
yushih Jun 15, 2024
d5eff2e
Merge branch 'release/5.2' into feat/disable-sell-ada
vsubhuman Jun 17, 2024
0162ded
Merge remote-tracking branch 'origin/develop' into release/5.2
vsubhuman Jun 17, 2024
0dfd6df
Merge branch 'release/5.2' into feat/disable-sell-ada
vsubhuman Jun 17, 2024
d40edae
fixing collateral error handling
vsubhuman Jun 17, 2024
3474786
Merge pull request #3545 from Emurgo/feat/disable-sell-ada
vsubhuman Jun 17, 2024
4457eaa
Merge branch 'release/5.2' into fix/YOEXT-1191/connector-collateral-e…
vsubhuman Jun 17, 2024
c8b108f
moved e2e test
Nebyt Jun 17, 2024
c6dc986
imports fix
Nebyt Jun 17, 2024
4969509
removed link to a bug.
Nebyt Jun 17, 2024
1e51065
Merge pull request #3549 from Emurgo/fix/YOEXT-1191/connector-collate…
vsubhuman Jun 17, 2024
8ed889f
fixed deadline rendering in pool transition
vsubhuman Jun 17, 2024
76f2cfd
ui warning fixes
vsubhuman Jun 17, 2024
3d931f3
ui warning fixes
vsubhuman Jun 17, 2024
1e6e189
fixing hook call ordering
vsubhuman Jun 17, 2024
2ea245f
fixing pool transition deadline calculation
vsubhuman Jun 17, 2024
27a6f1c
flow and lint fix
vsubhuman Jun 17, 2024
fe2030c
Merge pull request #3550 from Emurgo/fix/pool-transition-time-render
vsubhuman Jun 17, 2024
674015d
pool transition enabled for prod
vsubhuman Jun 17, 2024
d3bfd59
disable transition suggesting for wallet when redelegated
vsubhuman Jun 17, 2024
538c6ea
Version bump: 5.2.0
vsubhuman Jun 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
162 changes: 162 additions & 0 deletions .github/workflows/e2e-tests-dapp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
name: E2E DApp tests

on:
workflow_dispatch:
pull_request:
types: [opened, ready_for_review]
pull_request_review:
types: [submitted]

jobs:
General:
if: github.event.review && (github.event.review.state == 'approved' || contains(github.event.review.body, '/check') || contains(github.event.review.body, '/dapp-general'))
runs-on: macos-14
strategy:
matrix:
browser: ["chrome"]
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: distutils hack
run: brew install python-setuptools

- name: Forcefully update the Chrome browser
if: matrix.browser=='chrome'
run: brew update && brew upgrade --cask google-chrome

- name: Forcefully install Firefox for Developers browser
if: matrix.browser=='firefox'
run: |
brew update
brew tap homebrew/cask-versions && brew install --cask firefox-developer-edition
echo "FIREFOX_BIN=/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin" >> $GITHUB_ENV

- name: Read .nvmrc
id: nvm
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"

- name:
Cache extension node modules
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
uses: actions/cache@v4
env:
cache-name: cache-yoroi-extension-node-modules
with:
# It is recommended to cache the NPM cache (~/.npm) instead of node_modules.
# https://github.com/actions/cache/blob/main/examples.md#node---npm
# But we put node version into the cache key and cache node_modules.
path: packages/yoroi-extension/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-node-${{ steps.nvm.outputs.NVMRC }}-${{ hashFiles('packages/yoroi-extension/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: npm install
run: |
. install-all.sh

- name: Build the test mainnet version
working-directory: ./packages/yoroi-extension
run: npm run test:build:mainnet

- name: Run tests
working-directory: ./packages/e2e-tests
env:
FIRST_SMOKE_TEST_WALLET: ${{ secrets.FIRST_SMOKE_TEST_WALLET }}
SECOND_STATIC_TEST_WALLET: ${{ secrets.SECOND_STATIC_TEST_WALLET }}
SECOND_SMOKE_TEST_WALLET: ${{ secrets.SECOND_SMOKE_TEST_WALLET }}
SECOND_SMOKE_TEST_WALLET_FF: ${{ secrets.SECOND_SMOKE_TEST_WALLET_FF }}
run: npm run test:${{ matrix.browser }}:dapp

- name: Archive tests screenshots and logs
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: testRunsData_E2E_tests_${{ matrix.browser }}
path: |
./packages/e2e-tests/mochawesome-report
./packages/e2e-tests/testRunsData_${{ matrix.browser }}

Failing:
if: github.event.review && contains(github.event.review.body, '/dapp-failing')
runs-on: macos-14
strategy:
matrix:
browser: ['chrome']
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: distutils hack
run: brew install python-setuptools

- name: Forcefully update the Chrome browser
if: matrix.browser=='chrome'
run: brew update && brew upgrade --cask google-chrome

- name: Forcefully install Firefox for Developers browser
if: matrix.browser=='firefox'
run: |
brew update
brew tap homebrew/cask-versions && brew install --cask firefox-developer-edition
echo "FIREFOX_BIN=/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin" >> $GITHUB_ENV

- name: Read .nvmrc
id: nvm
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Cache extension node modules
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
uses: actions/cache@v4
env:
cache-name: cache-yoroi-extension-node-modules
with:
# https://github.com/actions/cache/blob/main/examples.md#node---npm
# It is recommended to cache the NPM cache (~/.npm) instead of node_modules.
# But we put node version into the cache key and cache node_modules.
path: packages/yoroi-extension/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-node-${{ steps.nvm.outputs.NVMRC }}-${{ hashFiles('packages/yoroi-extension/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: npm install
run: |
. install-all.sh

- name: Build the test mainnet version
working-directory: ./packages/yoroi-extension
run: npm run test:build:mainnet

- name: Run tests
working-directory: ./packages/e2e-tests
env:
FIRST_SMOKE_TEST_WALLET: ${{ secrets.FIRST_SMOKE_TEST_WALLET }}
SECOND_STATIC_TEST_WALLET: ${{ secrets.SECOND_STATIC_TEST_WALLET }}
SECOND_SMOKE_TEST_WALLET: ${{ secrets.SECOND_SMOKE_TEST_WALLET }}
SECOND_SMOKE_TEST_WALLET_FF: ${{ secrets.SECOND_SMOKE_TEST_WALLET_FF }}
run: npm run test:${{ matrix.browser }}:dapp:bl

- name: Archive tests screenshots and logs
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: testRunsData_E2E_tests_${{ matrix.browser }}
path: |
./packages/e2e-tests/mochawesome-report
./packages/e2e-tests/testRunsData_${{ matrix.browser }}
161 changes: 161 additions & 0 deletions .github/workflows/e2e-tests-ext.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
name: E2E Ext tests

on:
workflow_dispatch:
pull_request:
types: [opened, ready_for_review]
pull_request_review:
types: [submitted]

jobs:
General:
if: github.event.review && (github.event.review.state == 'approved' || contains(github.event.review.body, '/check') || contains(github.event.review.body, '/ext-general'))
runs-on: macos-14
strategy:
matrix:
browser: ["chrome"]
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: distutils hack
run: brew install python-setuptools

- name: Forcefully update the Chrome browser
if: matrix.browser=='chrome'
run: brew update && brew upgrade --cask google-chrome

- name: Forcefully install Firefox for Developers browser
if: matrix.browser=='firefox'
run: |
brew update
brew tap homebrew/cask-versions && brew install --cask firefox-developer-edition
echo "FIREFOX_BIN=/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin" >> $GITHUB_ENV

- name: Read .nvmrc
id: nvm
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"

- name: Cache extension node modules
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
uses: actions/cache@v4
env:
cache-name: cache-yoroi-extension-node-modules
with:
# https://github.com/actions/cache/blob/main/examples.md#node---npm
# It is recommended to cache the NPM cache (~/.npm) instead of node_modules.
# But we put node version into the cache key and cache node_modules.
path: packages/yoroi-extension/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-node-${{ steps.nvm.outputs.NVMRC }}-${{ hashFiles('packages/yoroi-extension/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: npm install
run: |
. install-all.sh

- name: Build the test mainnet version
working-directory: ./packages/yoroi-extension
run: npm run test:build:mainnet

- name: Run tests
working-directory: ./packages/e2e-tests
env:
FIRST_SMOKE_TEST_WALLET: ${{ secrets.FIRST_SMOKE_TEST_WALLET }}
SECOND_STATIC_TEST_WALLET: ${{ secrets.SECOND_STATIC_TEST_WALLET }}
SECOND_SMOKE_TEST_WALLET: ${{ secrets.SECOND_SMOKE_TEST_WALLET }}
SECOND_SMOKE_TEST_WALLET_FF: ${{ secrets.SECOND_SMOKE_TEST_WALLET_FF }}
run: npm run test:${{ matrix.browser }}

- name: Archive tests screenshots and logs
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: testRunsData_E2E_tests_${{ matrix.browser }}
path: |
./packages/e2e-tests/mochawesome-report
./packages/e2e-tests/testRunsData_${{ matrix.browser }}

Failing:
if: github.event.review && contains(github.event.review.body, '/ext-failing')
runs-on: macos-14
strategy:
matrix:
browser: ["chrome"]
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: distutils hack
run: brew install python-setuptools

- name: Forcefully update the Chrome browser
if: matrix.browser=='chrome'
run: brew update && brew upgrade --cask google-chrome

- name: Forcefully install Firefox for Developers browser
if: matrix.browser=='firefox'
run: |
brew update
brew tap homebrew/cask-versions && brew install --cask firefox-developer-edition
echo "FIREFOX_BIN=/Applications/Firefox Developer Edition.app/Contents/MacOS/firefox-bin" >> $GITHUB_ENV

- name: Read .nvmrc
id: nvm
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"

- name: Cache extension node modules
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
uses: actions/cache@v4
env:
cache-name: cache-yoroi-extension-node-modules
with:
# https://github.com/actions/cache/blob/main/examples.md#node---npm
# It is recommended to cache the NPM cache (~/.npm) instead of node_modules.
# But we put node version into the cache key and cache node_modules.
path: packages/yoroi-extension/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-node-${{ steps.nvm.outputs.NVMRC }}-${{ hashFiles('packages/yoroi-extension/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: npm install
run: |
. install-all.sh

- name: Build the test mainnet version
working-directory: ./packages/yoroi-extension
run: npm run test:build:mainnet

- name: Run tests
working-directory: ./packages/e2e-tests
env:
FIRST_SMOKE_TEST_WALLET: ${{ secrets.FIRST_SMOKE_TEST_WALLET }}
SECOND_STATIC_TEST_WALLET: ${{ secrets.SECOND_STATIC_TEST_WALLET }}
SECOND_SMOKE_TEST_WALLET: ${{ secrets.SECOND_SMOKE_TEST_WALLET }}
SECOND_SMOKE_TEST_WALLET_FF: ${{ secrets.SECOND_SMOKE_TEST_WALLET_FF }}
run: npm run test:${{ matrix.browser }}:bl

- name: Archive tests screenshots and logs
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: testRunsData_E2E_tests_${{ matrix.browser }}
path: |
./packages/e2e-tests/mochawesome-report
./packages/e2e-tests/testRunsData_${{ matrix.browser }}
18 changes: 0 additions & 18 deletions .github/workflows/jira.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
run: |
npm i --legacy-peer-deps
npm i --legacy-peer-deps --prefix packages/yoroi-extension
npm i --legacy-peer-deps --prefix packages/yoroi-connector

- name: Build
if: steps.check.outputs.changed == 'true'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ jobs:
run: |
npm i --legacy-peer-deps
npm i --legacy-peer-deps --prefix packages/yoroi-extension
npm i --legacy-peer-deps --prefix packages/yoroi-connector

- name: Build
run: |
Expand Down
Loading
Loading