Skip to content

Commit 0c1622f

Browse files
Merge 076e872 into f05a58d
2 parents f05a58d + 076e872 commit 0c1622f

File tree

2 files changed

+44
-39
lines changed

2 files changed

+44
-39
lines changed

e2e/config.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
flows:
2+
- dapp-connections/*
23
- onboarding/*
34
- screens/*
45
- settings/*

e2e/dapp-connections/WalletConnect.yaml

Lines changed: 43 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -33,45 +33,49 @@ tags:
3333
- assertVisible:
3434
text: '.*BX Test Dapp.*'
3535
- assertVisible:
36-
text: 'Disconnect'
36+
text: '.*Disconnect'
3737
# tap somewhere arbitrary to close the control panel sheet
3838
- tapOn:
39-
point: 550, 1000
39+
point: 50%, 20%
40+
# Maestro can't interact with the webview reliably on iOS so skip
41+
- runFlow:
42+
when:
43+
platform: Android
44+
commands:
45+
# eth_signMessage
46+
# tap on send button to initiate a eth_signTransaction
47+
- tapOn:
48+
id: signTypedData
49+
# sign transaction assertions
50+
- assertVisible:
51+
text: 'Message Request'
52+
- assertVisible:
53+
text: '.*Simulated Result.*'
54+
- assertVisible:
55+
text: '.*Confirm.*'
56+
# sign transaction
57+
- longPressOn:
58+
id: sign-transaction-action-button
59+
- runFlow: ../utils/MaybeSetupPin.yaml
60+
# assert that the typed message data signature is visible
61+
- assertVisible:
62+
text: '.*typed message data sig.*'
4063

41-
# eth_signMessage
42-
# tap on send button to initiate a eth_signTransaction
43-
- tapOn:
44-
id: signTypedData
45-
# sign transaction assertions
46-
- assertVisible:
47-
text: 'Message Request'
48-
- assertVisible:
49-
text: '.*Simulated Result.*'
50-
- assertVisible:
51-
text: '.*Confirm.*'
52-
# sign transaction
53-
- longPressOn:
54-
id: sign-transaction-action-button
55-
- runFlow: ../utils/MaybeSetupPin.yaml
56-
# assert that the typed message data signature is visible
57-
- assertVisible:
58-
text: '.*typed message data sig.*'
59-
60-
# eth_signTransaction
61-
# tap on send button to initiate a eth_signTypedData
62-
- tapOn:
63-
id: signTx
64-
# sign transaction assertions
65-
- assertVisible:
66-
text: 'Message Request'
67-
- assertVisible:
68-
text: '.*rainbow rocks.*'
69-
- assertVisible:
70-
text: '.*Confirm.*'
71-
# sign transaction
72-
- longPressOn:
73-
id: sign-transaction-action-button
74-
- runFlow: ../utils/MaybeSetupPin.yaml
75-
# assert that the signed message data signature is visible
76-
- assertVisible:
77-
text: '.*sign message data sig.*'
64+
# eth_signTransaction
65+
# tap on send button to initiate a eth_signTypedData
66+
- tapOn:
67+
id: signTx
68+
# sign transaction assertions
69+
- assertVisible:
70+
text: 'Message Request'
71+
- assertVisible:
72+
text: '.*rainbow rocks.*'
73+
- assertVisible:
74+
text: '.*Confirm.*'
75+
# sign transaction
76+
- longPressOn:
77+
id: sign-transaction-action-button
78+
- runFlow: ../utils/MaybeSetupPin.yaml
79+
# assert that the signed message data signature is visible
80+
- assertVisible:
81+
text: '.*sign message data sig.*'

0 commit comments

Comments
 (0)