Skip to content

Commit af80081

Browse files
Make CI fixes (#2064)
* Make CI fixes * Make CI fixes pt 2 * Add email label * Try 16.3 * Add timeout for email field * Remove email from Alipay * Remove email asserts * Try another approach * Clear state * Reset some stuff * Add clearState to all e2e tests
1 parent 4b07510 commit af80081

63 files changed

Lines changed: 147 additions & 81 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/e2e-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ jobs:
195195
- name: checkout
196196
uses: actions/checkout@v4
197197

198+
- name: Setup Xcode
199+
run: sudo xcode-select -s /Applications/Xcode_16.3.app/Contents/Developer
200+
198201
- name: Get yarn cache directory path
199202
id: yarn-cache-dir-path
200203
run: echo "::set-output name=dir::$(yarn cache dir)"

.github/workflows/unit-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
- name: checkout
2222
uses: actions/checkout@v4
2323

24+
- name: Setup Xcode
25+
run: sudo xcode-select -s /Applications/Xcode_16.3.app/Contents/Developer
26+
2427
- name: Get yarn cache directory path
2528
id: yarn-cache-dir-path
2629
run: echo "::set-output name=dir::$(yarn cache dir)"

e2e-tests/afterpay-clearpay.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
appId: ${APP_ID}
22
---
3-
- launchApp
3+
- launchApp:
4+
clearState: true
45
- tapOn: "Buy now pay later"
56
- scrollUntilVisible:
67
element:

e2e-tests/alipay.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
appId: ${APP_ID}
22
---
3-
- launchApp
3+
- launchApp:
4+
clearState: true
45
- tapOn: "Wallets"
56
- tapOn: "Alipay"
67
- assertVisible:

e2e-tests/android-only/becs-payment.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ appId: ${APP_ID}
22
---
33
# TODO: Re-enable on iOS once we can enter 000-000 as the test bank.
44
# Currently, 000-000 isn't recognized since the app is built in release mode.
5-
- launchApp
5+
- launchApp:
6+
clearState: true
67
- tapOn: "Bank Debits"
78
- tapOn: "BECS Direct Debit payment"
89
- tapOn:

e2e-tests/android-only/becs-setup.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ appId: ${APP_ID}
22
---
33
# TODO: Re-enable on iOS once we can enter 000-000 as the test bank.
44
# Currently, 000-000 isn't recognized since the app is built in release mode.
5-
- launchApp
5+
- launchApp:
6+
clearState: true
67
- tapOn: "Bank Debits"
78
- tapOn: "BECS Direct Debit set up"
89
- tapOn:

e2e-tests/android-only/embedded-rn-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Test that interactions between Compose and React Native work as expected.
22
appId: ${APP_ID}
33
---
4-
- launchApp
4+
- launchApp:
5+
clearState: true
56
- tapOn: 'Accept a payment'
67
- tapOn: 'Prebuilt UI (EmbeddedPaymentElement)'
78
- extendedWaitUntil:

e2e-tests/android-only/financial-connections-session.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
appId: ${APP_ID}
22
---
3-
- launchApp
3+
- launchApp:
4+
clearState: true
45
- tapOn: "Financial Connections"
56
- tapOn: "Collect Bank Account"
67
- assertVisible:
@@ -36,27 +37,27 @@ appId: ${APP_ID}
3637
- tapOn:
3738
text: "Connect account"
3839

39-
- assertVisible:
40+
- assertVisible:
4041
text: "Not now"
41-
- tapOn:
42+
- tapOn:
4243
text: "Not now"
4344

44-
- assertVisible:
45+
- assertVisible:
4546
text: "Back to Stripe Shop"
4647
optional: true
47-
- tapOn:
48+
- tapOn:
4849
text: "Back to Stripe Shop"
4950
optional: true
50-
- assertVisible:
51+
- assertVisible:
5152
text: "Done"
5253
optional: true
53-
- tapOn:
54+
- tapOn:
5455
text: "Done"
5556
optional: true
56-
- assertVisible:
57+
- assertVisible:
5758
text: "Back to Test Inc."
5859
optional: true
59-
- tapOn:
60+
- tapOn:
6061
text: "Back to Test Inc."
6162
optional: true
6263

e2e-tests/android-only/financial-connections-token.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
appId: ${APP_ID}
22
---
3-
- launchApp
3+
- launchApp:
4+
clearState: true
45
- tapOn: "Financial Connections"
56
- tapOn: "Collect Bank Account"
67
- assertVisible:
@@ -13,7 +14,7 @@ appId: ${APP_ID}
1314
text: "Agree and continue"
1415
- assertVisible:
1516
text: "Test Institution"
16-
- tapOn:
17+
- tapOn:
1718
text: "Test Institution"
1819

1920
# The first chrome instance in E2E emulator, welcome page must be dismissed.
@@ -33,30 +34,30 @@ appId: ${APP_ID}
3334
- extendedWaitUntil:
3435
visible: "Connect account"
3536
timeout: 30000
36-
- tapOn:
37+
- tapOn:
3738
text: "Connect account"
3839

3940
- assertVisible:
4041
text: "Not now"
41-
- tapOn:
42+
- tapOn:
4243
text: "Not now"
4344

44-
- assertVisible:
45+
- assertVisible:
4546
text: "Back to Stripe Shop"
4647
optional: true
47-
- tapOn:
48+
- tapOn:
4849
text: "Back to Stripe Shop"
4950
optional: true
50-
- assertVisible:
51+
- assertVisible:
5152
text: "Done"
5253
optional: true
53-
- tapOn:
54+
- tapOn:
5455
text: "Done"
5556
optional: true
56-
- assertVisible:
57+
- assertVisible:
5758
text: "Back to Test Inc."
5859
optional: true
59-
- tapOn:
60+
- tapOn:
6061
text: "Back to Test Inc."
6162
optional: true
6263

e2e-tests/android-only/grabpay.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
appId: ${APP_ID}
22
---
3-
- launchApp
3+
- launchApp:
4+
clearState: true
45
- tapOn: "Wallets"
56
- tapOn: "GrabPay"
67
- assertVisible:

0 commit comments

Comments
 (0)