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 / 4.18.0 #3068

Merged
merged 300 commits into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
300 commits
Select commit Hold shift + click to select a range
84054d6
added the smoke CI
Nebyt Aug 21, 2022
27a4627
fixed CI
Nebyt Aug 21, 2022
ead9e8e
fixed CI
Nebyt Aug 21, 2022
b2e0e91
improved search of the "delegate" button
Nebyt Aug 21, 2022
6e6dda6
Only chrome, for now
Nebyt Aug 21, 2022
369d75e
Only chrome 2, for now
Nebyt Aug 21, 2022
8579e25
Changed structure for logs
cmerloglb Aug 24, 2022
f83767a
flow fixes
Nebyt Aug 25, 2022
7e4d055
Added changes to logs
cmerloglb Aug 25, 2022
b02d14a
Changing back BeforeAll to arrow callback
cmerloglb Aug 25, 2022
515440d
Changing double slash
cmerloglb Aug 25, 2022
afa427a
Added changes to add to Loggers
cmerloglb Aug 25, 2022
263204f
Merge branch 'denis/ci_for_smoke_tests' into separate-browser-logs
Nebyt Aug 25, 2022
26c711b
flow fixes
Nebyt Aug 25, 2022
8f4dd08
minor changes
Nebyt Aug 25, 2022
12d3b82
Merge branch 'develop' into denis/YOEXT-372_smoke_tests_for_mainnet
Nebyt Aug 25, 2022
f311a17
Added first batch of locators to page objects
cmerloglb Aug 26, 2022
d625a4c
Moved more locators to corresponding pages
cmerloglb Aug 29, 2022
837ecbe
redesign connect page
RafaelC457ro Aug 30, 2022
81dc284
Moved more locators to corresponding pages
cmerloglb Aug 30, 2022
4398fcf
Added first batch of locators to page objects
cmerloglb Aug 26, 2022
18940ae
Moved more locators to corresponding pages
cmerloglb Aug 29, 2022
6291a3a
Moved more locators to corresponding pages
cmerloglb Aug 30, 2022
32444d3
Added changes to fix errors
cmerloglb Aug 30, 2022
3a3c1d6
Merged branches
cmerloglb Aug 30, 2022
2d15fb0
Fixed issue with lint
cmerloglb Aug 30, 2022
52986c9
fix tab character
RafaelC457ro Aug 31, 2022
0f03f47
fix indentation
RafaelC457ro Aug 31, 2022
9a5cbf7
fix indentation and tab
RafaelC457ro Aug 31, 2022
69e9323
Merge branch 'develop' into rc/connector-connecting-popup-redesign
RafaelC457ro Aug 31, 2022
4a870ef
Merge pull request #2977 from Emurgo/separate-browser-logs
vsubhuman Sep 14, 2022
f80a09a
Merge branch 'develop' into denis/YOEXT-372_smoke_tests_for_mainnet
vsubhuman Sep 14, 2022
9716afc
Merge branch 'denis/YOEXT-372_smoke_tests_for_mainnet' into denis/ci_…
Nebyt Sep 14, 2022
1217297
little fixes
Nebyt Sep 14, 2022
8ab9f1d
Merge pull request #2973 from Emurgo/denis/ci_for_smoke_tests
Nebyt Sep 14, 2022
ed9e638
Merge branch 'develop' into e2e-move-locators-2
Nebyt Sep 14, 2022
7f3a90c
little fixes
Nebyt Sep 14, 2022
f9f4acc
created time constants
Nebyt Sep 14, 2022
11119be
Merge branch 'develop' into denis/YOEXT-372_smoke_tests_for_mainnet
Nebyt Sep 14, 2022
ea00a2a
Updated addresses-generation-steps.js and walletReceivePage.js
Nebyt Sep 16, 2022
c1b2c4e
Updated basicSetupPage.js, common-steps.js, general-settings-steps.js…
Nebyt Sep 16, 2022
a271e24
Updated installation-procedure-steps.js, main-ui-steps.js, walletPage…
Nebyt Sep 16, 2022
7c2fac1
Updated memo-steps.js, walletSendPage.js
Nebyt Sep 16, 2022
07f9ef9
Updated basicSetupPage.js, select-language-steps.js
Nebyt Sep 16, 2022
8e75cb1
Updated commonDialogPage.js, settingsPage.js, settings-ui-steps.js
Nebyt Sep 16, 2022
89f79d4
Updated several files
Nebyt Sep 16, 2022
d78ad63
Merge remote-tracking branch 'origin/e2e-move-locators-2' into e2e-mo…
Nebyt Sep 16, 2022
f4acf5c
Improve QR code image quality (750px)
neuodev Sep 20, 2022
b355eb2
lint + fixed styles
nistadev Sep 20, 2022
cc97083
Merge branch 'develop' of github.com:Emurgo/yoroi-frontend into rc/co…
nistadev Sep 20, 2022
d6f96a9
Revert commented code
neuodev Sep 20, 2022
ba0b25f
fix hints for multi-asset sending
yushih Jul 4, 2022
984cb22
fix typo
yushih Sep 21, 2022
eed819b
update
yushih Sep 26, 2022
8c486ab
Apply scopped modern theme class to the revamp
neuodev Sep 26, 2022
eb6d6b0
Merge pull request #3003 from Emurgo/production
vsubhuman Sep 27, 2022
ce70cd7
Merge branch 'develop' into denis/YOEXT-372_smoke_tests_for_mainnet
vsubhuman Sep 27, 2022
3fad170
seperate updating utxos from updating txs
yushih Sep 26, 2022
bcfd51e
Required updates
Nebyt Sep 27, 2022
1118c25
flow fix
Nebyt Sep 27, 2022
c56195b
Add .YoroiRevamp classes to every global scope
neuodev Sep 27, 2022
3a54916
Run flow and unit tests in the release check
Nebyt Sep 27, 2022
492b722
Update TopBar style scope
neuodev Sep 27, 2022
0de6b44
Merge branch 'develop' into Ahmed/phrase
neuodev Sep 27, 2022
55498a9
Merge pull request #2934 from Emurgo/denis/YOEXT-372_smoke_tests_for_…
vsubhuman Sep 27, 2022
1fb3676
fix test
yushih Sep 28, 2022
4377ff8
Merge branch 'develop' into Ahmed/phrase
neuodev Sep 28, 2022
4219d0c
Add collateral screen + refactor/remove old code
nistadev Sep 30, 2022
0f5568d
Merge branch 'develop' into pat/collateral-utxos-popup-redesign
neuodev Oct 1, 2022
989887c
Merge branch 'develop' into e2e-move-locators-2
Nebyt Oct 3, 2022
d2df292
Fixes after merging
Nebyt Oct 3, 2022
0238ec6
Flow fixes
Nebyt Oct 3, 2022
53fd70e
Fixes wallet restoration
Nebyt Oct 3, 2022
18c615a
Fixed switching to the revamp version
Nebyt Oct 3, 2022
74f5779
Fixed locator
Nebyt Oct 3, 2022
05e2154
Flow fix
Nebyt Oct 3, 2022
cbe7b64
Eslint fix
Nebyt Oct 3, 2022
e39643b
Merge pull request #2981 from Emurgo/e2e-move-locators-2
vsubhuman Oct 4, 2022
95ab09b
Added links
nistadev Oct 5, 2022
41bf4f0
Merge branch 'pat/collateral-utxos-popup-redesign' of github.com:Emur…
nistadev Oct 5, 2022
665503d
Added fiat display
nistadev Oct 5, 2022
e781328
Merge branch 'develop' of github.com:Emurgo/yoroi-frontend into rc/co…
nistadev Oct 5, 2022
47fcabb
Hidden fiat display styles fix
nistadev Oct 5, 2022
65ea3bf
Merge branch 'develop' into pat/collateral-utxos-popup-redesign
vsubhuman Oct 5, 2022
d8b8b4c
lint fixes
vsubhuman Oct 5, 2022
3c60b5e
Refactored links
nistadev Oct 6, 2022
213645d
Removed unused import
nistadev Oct 6, 2022
e39ed7d
Refactor variable names
nistadev Oct 6, 2022
f3edcdb
added layout max width
nistadev Oct 6, 2022
1d265b0
Merge branch 'develop' into Ahmed/phrase
vsubhuman Oct 6, 2022
df424d6
Merge branch 'develop' into yushi/ledger-multi-asset
vsubhuman Oct 6, 2022
1082ca4
Fix buttons layout
neuodev Oct 6, 2022
77de1dd
Fix misaligned fiat values
neuodev Oct 6, 2022
0617fe6
Merge pull request #2997 from Emurgo/yushi/ledger-multi-asset
vsubhuman Oct 6, 2022
17d475d
Merge branch 'develop' into Ahmed/phrase
vsubhuman Oct 6, 2022
ccc6633
Merge pull request #3002 from Emurgo/Ahmed/phrase
vsubhuman Oct 6, 2022
12eaed7
Merge branch 'develop' into pat/collateral-utxos-popup-redesign
neuodev Oct 6, 2022
e8a53f8
Merge branch 'develop' into Ahmed/qr-improved
neuodev Oct 6, 2022
730b318
Merge branch 'develop' into yushi/yoroi-lib-utxo
vsubhuman Oct 6, 2022
b4d6e06
Collateral updates
Nebyt Oct 7, 2022
4c1c7cf
Tests names update
Nebyt Oct 7, 2022
2d3a866
Merge pull request #3011 from Emurgo/denis/tests-updates
vsubhuman Oct 7, 2022
7f119e4
Merge pull request #2996 from Emurgo/Ahmed/qr-improved
vsubhuman Oct 7, 2022
5c023e9
Merge branch 'develop' into pat/collateral-utxos-popup-redesign
vsubhuman Oct 7, 2022
32ca85a
Merge pull request #3006 from Emurgo/pat/collateral-utxos-popup-redesign
vsubhuman Oct 7, 2022
4005c95
Add IIFE to the window.onload function
neuodev Oct 11, 2022
1d76242
Use MUI linear progress
neuodev Oct 11, 2022
3e95cf7
Fix flow
neuodev Oct 12, 2022
c5de650
Remove condition over values
neuodev Oct 12, 2022
60e98d6
Merge pull request #3012 from Emurgo/Ahmed/firefox-connector
vsubhuman Oct 12, 2022
7adfb07
Merge branch 'develop' into yushi/yoroi-lib-utxo
vsubhuman Oct 13, 2022
495326b
Show connected sites base on the revamp
neuodev Oct 17, 2022
44c07cb
Updated dApp tests
Nebyt Oct 17, 2022
fec8a0d
Add missing class name
neuodev Oct 18, 2022
6a51c22
Merge pull request #3018 from Emurgo/Denis/dapp-test-updated
neuodev Oct 18, 2022
f2881b5
set modern theme default for tests
Nebyt Oct 19, 2022
d73a734
using correct locators
Nebyt Oct 19, 2022
4c00f62
using the modern theme
Nebyt Oct 19, 2022
dc38a2a
using the right way to find an element
Nebyt Oct 19, 2022
f22391c
rearranged scenarios
Nebyt Oct 19, 2022
41c3ac5
using the correct locator
Nebyt Oct 19, 2022
1b49b5c
removed the outdated test-case
Nebyt Oct 19, 2022
a017d63
using the correct locator
Nebyt Oct 19, 2022
3f365ee
rearranged test-cases
Nebyt Oct 19, 2022
55baab2
Merge pull request #3020 from Emurgo/denis/modern-theme-default-for-t…
neuodev Oct 20, 2022
1b280f0
updated locators
Nebyt Oct 20, 2022
01c0f55
changed fee
Nebyt Oct 20, 2022
d2f9959
updated errors locators
Nebyt Oct 20, 2022
17ddead
rearranged steps in the scenario. Changed the expected fee
Nebyt Oct 20, 2022
cf6420d
created the special step for the ERGO
Nebyt Oct 20, 2022
7f25682
rearranged steps in the scenario
Nebyt Oct 20, 2022
22e434a
fixed IT-165
Nebyt Oct 20, 2022
8e8a0f7
using the correct step
Nebyt Oct 20, 2022
42f7b92
using the correct step it-171
Nebyt Oct 20, 2022
b2c9914
fixed it-178
Nebyt Oct 20, 2022
2ad00fe
updated steps in the scenario
Nebyt Oct 20, 2022
1e94f65
fixes for the many-tx-wallet
Nebyt Oct 20, 2022
f9bf9d8
fixed memo
Nebyt Oct 21, 2022
f166ba6
rearranged steps
Nebyt Oct 21, 2022
6c058c0
fixed ui settings
Nebyt Oct 21, 2022
9213241
fixed input memo locator
Nebyt Oct 21, 2022
a8cc3b3
added the method scrollIntoView
Nebyt Oct 21, 2022
63ffd41
using scrollIntoView to reach all addresses
Nebyt Oct 21, 2022
fd3b649
added "sleep" after opening the Receive tab, we need some time before…
Nebyt Oct 21, 2022
4fe9bf0
Removed tests for ledger devices
Nebyt Oct 21, 2022
133a08b
Fixed locators
Nebyt Oct 24, 2022
9f74865
Rearranged steps
Nebyt Oct 24, 2022
394c8bf
Ledger devices are not supported in tests anymore
Nebyt Oct 24, 2022
1aab886
Unmangling was removed from the dashboard screen and left only on th…
Nebyt Oct 24, 2022
9538c10
fix test mock server
yushih Oct 25, 2022
97d41d1
Merge branch 'develop' into yushi/yoroi-lib-utxo
yushih Oct 25, 2022
5b77794
Merge pull request #3021 from Emurgo/denis/fix-e2e-wallet-creation
neuodev Oct 25, 2022
6038e3b
Merge pull request #3022 from Emurgo/denis/fix-e2e-restore-wallet
neuodev Oct 25, 2022
98632fb
Fix eslint
neuodev Oct 25, 2022
d1502d1
fix unit tests
yushih Oct 25, 2022
19f434c
Fix lint
neuodev Oct 25, 2022
57f2921
Merge branch 'develop' into denis/modern-theme-default-for-tests
neuodev Oct 25, 2022
527b328
fix remove wallet
yushih Oct 25, 2022
63f6f69
Merge pull request #3026 from Emurgo/denis/fix-e2e-removing-ledger-tests
neuodev Oct 25, 2022
521f8f1
Merge pull request #3029 from Emurgo/denis/fix-e2e-delegation-dasboard
neuodev Oct 25, 2022
662410a
Merge branch 'develop' into Ahmed/connected-page-access
neuodev Oct 25, 2022
8938202
CS - Adding protocol to url to get tracking to work.
justabot Oct 25, 2022
5496755
The expected balance has been changed
Nebyt Oct 25, 2022
6639ce6
The expected fees has been changed
Nebyt Oct 25, 2022
842a9fe
The expected fees has been changed
Nebyt Oct 25, 2022
d603b2e
Using `expect` instead of `waitUntilText`
Nebyt Oct 25, 2022
d387c1c
Rearranged scenarios in the feature
Nebyt Oct 25, 2022
5775213
Fixed locators
Nebyt Oct 26, 2022
7d35148
Changed the way to check the error message
Nebyt Oct 26, 2022
794af72
Merge pull request #3030 from Emurgo/denis/modern-theme-default-for-t…
neuodev Oct 26, 2022
2f55bf0
Merge branch 'develop' into denis/fix-e2e-wallet-creation
neuodev Oct 26, 2022
d428ccf
Merge branch 'develop' into yushi/yoroi-lib-utxo
vsubhuman Oct 26, 2022
3ef1ff9
reworked the language selection helper
Nebyt Oct 26, 2022
942bc93
Rearranged scenarios
Nebyt Oct 26, 2022
a2042ad
Merge pull request #3033 from Emurgo/denis/fix-e2e-wallet-creation
neuodev Oct 26, 2022
1119698
Merge branch 'develop' into denis/fix-e2e-send-transaction
neuodev Oct 26, 2022
0697e8e
Updated fee
Nebyt Oct 26, 2022
d02a28f
Merge pull request #3036 from Emurgo/denis/fix-e2e-migration
Nebyt Oct 26, 2022
31b28a1
Merge pull request #3035 from Emurgo/denis/fix-e2e-installation-proce…
Nebyt Oct 26, 2022
1d03f1b
Merge pull request #3034 from Emurgo/denis/fix-e2e-voting-flow
Nebyt Oct 26, 2022
49e648c
Changed locator for the memo
Nebyt Oct 26, 2022
ffe4ee6
Merge branch 'denis/fix-e2e-send-transaction' into denis/fix-e2e-wall…
Nebyt Oct 26, 2022
6d4cf99
bump yoroi-lib version
yushih Oct 27, 2022
7892e3d
Merge pull request #3023 from Emurgo/denis/fix-e2e-send-transaction
Nebyt Oct 27, 2022
95b8bad
Merge branch 'develop' into denis/fix-e2e-wallet-ui-settings
Nebyt Oct 27, 2022
313f2b8
Merge pull request #3024 from Emurgo/denis/fix-e2e-wallet-ui-settings
Nebyt Oct 27, 2022
d187eb4
Merge branch 'develop' into denis/fix-e2e-generate-address
Nebyt Oct 27, 2022
df871a5
Merge branch 'develop' into YOEXT-477-fix-matomo-tracking
neuodev Oct 27, 2022
257708d
Added waiter of a window title
Nebyt Oct 27, 2022
836ca51
Merge pull request #3025 from Emurgo/denis/fix-e2e-generate-address
Nebyt Oct 27, 2022
d5a8af4
Merge branch 'develop' into denis/fix-e2e-txs-history
Nebyt Oct 27, 2022
7b99ae6
fix mock server
yushih Oct 27, 2022
c66b15c
Merge pull request #3028 from Emurgo/denis/fix-e2e-txs-history
Nebyt Oct 27, 2022
3ea718f
Merge branch 'develop' into denis/fix-e2e-transfer-funds
Nebyt Oct 27, 2022
fe1c843
Merge pull request #3032 from Emurgo/denis/fix-e2e-transfer-funds
Nebyt Oct 27, 2022
1f199ea
Merge branch 'develop' into yushi/yoroi-lib-utxo
Nebyt Oct 27, 2022
526769e
Merge branch 'develop' into YOEXT-477-fix-matomo-tracking
neuodev Oct 28, 2022
8f9e51e
Merge pull request #3031 from Emurgo/YOEXT-477-fix-matomo-tracking
vsubhuman Oct 31, 2022
e34644a
Merge remote-tracking branch 'origin/develop' into Ahmed/new-scripts
vsubhuman Oct 31, 2022
7bca40d
onload function fix
vsubhuman Oct 31, 2022
42af7e4
Merge remote-tracking branch 'origin/develop' into rc/connector-conne…
vsubhuman Oct 31, 2022
3508fb6
Merge pull request #2762 from Emurgo/Ahmed/new-scripts
vsubhuman Oct 31, 2022
8bd291b
Merge branch 'develop' into rc/connector-connecting-popup-redesign
vsubhuman Oct 31, 2022
6c1073f
Make privacy state toggleable
neuodev Nov 1, 2022
9947f6b
fixing dapp example utxo response handling
vsubhuman Nov 1, 2022
94c607e
fixing invalid syntax
vsubhuman Nov 1, 2022
1b4e327
remove duplicated functions and fix typos
nistadev Nov 2, 2022
a6aa9ae
Merge pull request #3047 from Emurgo/ruslan/dapp-example-collateral-fix
vsubhuman Nov 2, 2022
38bf874
Merge branch 'develop' into Ahmed/recovery-phrase-privacy-fix
neuodev Nov 3, 2022
4a162a9
Merge branch 'develop' of github.com:Emurgo/yoroi-frontend into pat/f…
nistadev Nov 3, 2022
a47d395
Merge branch 'develop' into rc/connector-connecting-popup-redesign
vsubhuman Nov 3, 2022
cacedd8
test doc is updated
Nebyt Nov 3, 2022
0ccf672
Updated README.md in the yoroi-ergo-connector
Nebyt Nov 3, 2022
9f70258
flow fixes
vsubhuman Nov 3, 2022
4b2a141
Merge pull request #3051 from Emurgo/denis/docs-update
neuodev Nov 3, 2022
0fd2a70
Merge branch 'develop' into Ahmed/recovery-phrase-privacy-fix
neuodev Nov 4, 2022
aa409df
Merge pull request #2983 from Emurgo/rc/connector-connecting-popup-re…
vsubhuman Nov 4, 2022
47ead55
Merge branch 'develop' into Ahmed/connected-page-access
neuodev Nov 7, 2022
ab82975
Rebuild the transaction if receiver address changes
neuodev Nov 10, 2022
282921c
bump yoroi-lib version
yushih Oct 31, 2022
5b683b0
Merge branch 'develop' into pat/fix-ergo-example
vsubhuman Nov 24, 2022
6640476
Merge pull request #3049 from Emurgo/pat/fix-ergo-example
vsubhuman Nov 24, 2022
2aff05c
Support array-based IPFS image URLs for NFTs
philipphenkel Nov 27, 2022
8a03b11
yoroi-lib version bump
vsubhuman Dec 1, 2022
094a093
Merge remote-tracking branch 'origin/develop' into yushi/yoroi-lib-utxo
vsubhuman Dec 1, 2022
e14455b
version bump: 4.17.001
vsubhuman Dec 1, 2022
979fea2
flow fixes
vsubhuman Dec 2, 2022
1f2ba3a
mock server fix
vsubhuman Dec 2, 2022
ee6b568
mock server fix
vsubhuman Dec 2, 2022
395893e
Merge pull request #3058 from philipphenkel/fix-nft-ipfs-image-url
vsubhuman Dec 5, 2022
b1dfc1d
Merge branch 'develop' into yushi/yoroi-lib-utxo
vsubhuman Dec 6, 2022
e794694
Merge pull request #2857 from Emurgo/yushi/yoroi-lib-utxo
vsubhuman Dec 6, 2022
ee5ca6a
Version bump: 4.18.0
vsubhuman Dec 6, 2022
355de7e
nft metadata handling fix
vsubhuman Dec 6, 2022
6e2d14a
networks selecting update
vsubhuman Dec 6, 2022
72db62f
migration version update
vsubhuman Dec 6, 2022
08d222d
fix tests
yushih Dec 7, 2022
5e1a973
img csp update
vsubhuman Dec 7, 2022
2da64c3
Merge branch 'release/4.18' into Ahmed/fix-send-form
vsubhuman Dec 7, 2022
7ba9b4f
Merge pull request #3052 from Emurgo/Ahmed/fix-send-form
vsubhuman Dec 7, 2022
623cd32
Merge branch 'release/4.18' into Ahmed/recovery-phrase-privacy-fix
vsubhuman Dec 7, 2022
c8b2f22
Merge pull request #3045 from Emurgo/Ahmed/recovery-phrase-privacy-fix
vsubhuman Dec 7, 2022
2cfefec
Merge branch 'release/4.18' into Ahmed/connected-page-access
vsubhuman Dec 8, 2022
f75e1e8
fixing ipfs resolving
vsubhuman Dec 8, 2022
042f298
Merge remote-tracking branch 'origin/release/4.18' into Ahmed/connect…
vsubhuman Dec 8, 2022
b42c1fa
flow fixes
vsubhuman Dec 8, 2022
500a46a
Merge pull request #3016 from Emurgo/Ahmed/connected-page-access
vsubhuman Dec 8, 2022
5a20bf0
Merge remote-tracking branch 'origin/release/4.18' into yushi/fix-yor…
vsubhuman Dec 8, 2022
4b18f44
Merge pull request #3069 from Emurgo/yushi/fix-yoroi-lib-test
vsubhuman Dec 8, 2022
bfd0a14
ergo warning banner added
vsubhuman Dec 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/flow-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
flow-and-lint:
if: github.event.review && (github.event.review.state == 'approved' || contains(github.event.review.body, '/check'))
if: github.event.review && (github.event.review.state == 'approved' || contains(github.event.review.body, '/check') || contains(github.event.review.body, '/release-check'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
107 changes: 101 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
Unit_tests:
if: github.event.review && (github.event.review.state == 'approved' || contains(github.event.review.body, '/check'))
if: github.event.review && (github.event.review.state == 'approved' || contains(github.event.review.body, '/check') || contains(github.event.review.body, '/release-check'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -114,15 +114,15 @@ jobs:
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: testRunsData
path: ./packages/yoroi-extension/testRunsData
name: testRunsData_${{ matrix.browser }}
path: ./packages/yoroi-extension/testRunsData_${{ matrix.browser }}

Trezor_Model_T_emulator:
if: github.event.review && (github.event.review.state == 'approved' || contains(github.event.review.body, '/check') || contains(github.event.review.body, '/trezor-check'))
runs-on: ubuntu-22.04
strategy:
matrix:
browser: [ 'chrome', 'firefox' ]
browser: ['chrome', 'firefox']
fail-fast: false
steps:
- name: Forcefully update the Chrome browser
Expand Down Expand Up @@ -239,5 +239,100 @@ jobs:
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: testRunsData
path: ./packages/yoroi-extension/testRunsData
name: testRunsData_${{ matrix.browser }}
path: ./packages/yoroi-extension/testRunsData_${{ matrix.browser }}

E2E_smoke_tests:
if: github.event.review && (contains(github.event.review.body, '/release-check'))
runs-on: ubuntu-22.04
strategy:
matrix:
browser: ['chrome', 'firefox']
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Forcefully update the Chrome browser
if: matrix.browser=='chrome'
run: |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get update
sudo apt-get --only-upgrade install google-chrome-stable

- name: Install Firefox Developer Edition
if: matrix.browser=='firefox'
run: |
wget -c "https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64&lang=en-US" -O - | sudo tar -xj -C /opt
sudo rm -rf /opt/firefoxdev
sudo mv /opt/firefox /opt/firefoxdev
echo "FIREFOX_DEV=/opt/firefoxdev/firefox-bin" >> $GITHUB_ENV

- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm

- name: Setup node
uses: actions/setup-node@v2
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@v2
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: Cache connector node modules
# https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows
uses: actions/cache@v2
env:
cache-name: cache-yoroi-connector-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-ergo-connector/node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-node-${{ steps.nvm.outputs.NVMRC }}-${{ hashFiles('packages/yoroi-ergo-connector/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: Create the report's folder
working-directory: ./packages/yoroi-extension
run: |
mkdir reports
touch ./reports/cucumberReports.json

- name: Run smoke tests
working-directory: ./packages/yoroi-extension
env:
FIRST_SMOKE_TEST_WALLET: ${{ secrets.FIRST_SMOKE_TEST_WALLET }}
SECOND_SMOKE_TEST_WALLET: ${{ secrets.SECOND_SMOKE_TEST_WALLET }}
SECOND_SMOKE_TEST_WALLET_FF: ${{ secrets.SECOND_SMOKE_TEST_WALLET_FF }}
run: xvfb-run -a -e /dev/stdout -s "-screen 0 1920x1080x24" npm run test:run:e2e:smoke:${{ matrix.browser }}

- name: Archive tests screenshots and logs
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: testRunsData_${{ matrix.browser }}
path: ./packages/yoroi-extension/testRunsData_${{ matrix.browser }}
45 changes: 45 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"eslint": "lerna run eslint --stream",
"flow": "lerna run flow --stream",
"test": "lerna run test --stream",
"translations:purge": "lerna run translations:purge -- stream"
"translations:purge": "lerna run translations:purge -- stream",
"dev:all": "concurrently \"npm run dev:stable --prefix packages/yoroi-extension\" \"npm run cardano --prefix packages/yoroi-ergo-connector\" \"npm run ergo --prefix packages/yoroi-ergo-connector\" "
},
"husky": {
"hooks": {
Expand All @@ -14,6 +15,7 @@
}
},
"devDependencies": {
"concurrently": "^7.0.0",
"husky": "4.3.8",
"lerna": "^4.0.0"
}
Expand Down
22 changes: 13 additions & 9 deletions packages/yoroi-ergo-connector/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# Yoroi dApp Connector

This experimental extension is the first in a modular design to interface the [Yoroi frontend extension](https://github.com/Emurgo/yoroi-frontend) with dApps. It targets the [Ergo](https://ergoplatform.org/en/) cryptocurrency.
~~This experimental extension is the first in a modular design to interface the [Yoroi frontend extension](https://github.com/Emurgo/yoroi-frontend) with dApps. It targets the [Ergo](https://ergoplatform.org/en/) cryptocurrency.~~

The implementation will follow our [EIP-0012](https://github.com/ergoplatform/eips/pull/23) spec.
~~The implementation will follow our [EIP-0012](https://github.com/ergoplatform/eips/pull/23) spec.~~

This project is used only as an example application.

All related to the dApp is moved to the folder `packages/yoroi-extension/app/ergo-connector`.

### Testing

1. Run the Yoroi Extension and get its extension ID
1. Use `npm run prod:custom -- --yoroiExtensionId=extension-id-here`
1. Select "load unpacked" in your browser and select the build folder (or ZIP file also works in prod/nightly builds)
1. Note the extension ID of the connector extension. Now, when you re-build Yoroi passing `--ergoConnectorExtensionId=connector-extension-id-here` as a build argument.
Example: `npm run dev:stable -- --ergoConnectorExtensionId=ebnncddeiookdmpglbhiamljhpdgbjcm`
1. Build the example project in the `example` folder (`npm install && npm run start`)
1. Open the page from the example project
1. Build the test version of the extension. (Read how to build the test app [here](../yoroi-extension/docs/TEST.md#e2e-tests))
2. Use `npm run test:run:e2e:dApp:chrome` to run all dApp-connector related tests

### Running dApp example page

1. Install node modules
2. Run example for cardano network `npm run cardano` or run example for ergo network `npm run ergo`
5 changes: 3 additions & 2 deletions packages/yoroi-ergo-connector/example-cardano/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous"> <title>Cardano Test dApp</title>
</head>
<body>
<div class="container">
<div class="" style="max-width: 700px; margin: auto;">
<div class="my-3">
<h1 class="display-4 text-center">Cardano dApp Example</h1>
</div>
Expand Down Expand Up @@ -49,7 +49,7 @@ <h1 class="display-4 text-center">Cardano dApp Example</h1>
<button id="get-utxos" class="btn btn-light w-100" >Get Utxos</button>
</div>
<div class="col-6 mb-4">
<button id="create-tx" class="btn btn-light w-100">[Experimental] Create Tx</button>
<button id="show-utxos" class="btn btn-light w-100">[Experimental] Create Tx</button>
</div>
<div class="col-6 mb-4">
<button id="sign-tx" class="btn btn-light w-100">Sign Tx</button>
Expand All @@ -72,6 +72,7 @@ <h1 class="display-4 text-center">Cardano dApp Example</h1>
</div>
</div>
<div class="d-none" id="alert" role="alert"></div>
<div id="utxos"></div>
</div>
<noscript>This page contains webassembly and javascript content, please enable javascript in your browser.</noscript>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-U1DAWAznBHeqEIlVSCgzq+c9gqGAJn5c/t99JyeKa9xxaYpSvHU5awsuZVVFIhvj" crossorigin="anonymous"></script>
Expand Down
Loading