Skip to content

Commit 52bbb66

Browse files
committed
chore: enable e2e
1 parent ee5cbba commit 52bbb66

File tree

5 files changed

+41
-37
lines changed

5 files changed

+41
-37
lines changed

.github/integ-config/detox-integ-all.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@
2020
working_directory: amplify-js-samples-staging/samples/react-native/auth/HosteduiApp
2121
timeout_minutes: 120
2222
host_signout_page: true
23+
- test_name: 'integ_rn_ios_passkeys'
24+
working_directory: amplify-js-samples-staging/samples/react-native/auth/Passkeys
25+
timeout_minutes: 120

.github/workflows/callable-e2e-tests.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,29 @@ jobs:
2323
integ-config-headless: ${{ steps.load_config.outputs.INTEG_CONFIG_HEADLESS }}
2424
detox-integ-config: ${{ steps.load_config.outputs.DETOX_INTEG_CONFIG }}
2525

26-
e2e-test-runner:
27-
name: E2E test runnner
28-
needs: e2e-prep
29-
secrets: inherit
30-
strategy:
31-
matrix:
32-
integ-config: ${{ fromJson(needs.e2e-prep.outputs.integ-config) }}
33-
fail-fast: false
34-
uses: ./.github/workflows/callable-e2e-test.yml
35-
with:
36-
test_name: ${{ matrix.integ-config.test_name }}
37-
framework: ${{ matrix.integ-config.framework }}
38-
category: ${{ matrix.integ-config.category }}
39-
spec: ${{ matrix.integ-config.spec || '' }}
40-
amplifyjs_dir: ${{ matrix.integ-config.amplifyjs_dir || false }}
41-
sample_name: ${{ toJSON(matrix.integ-config.sample_name) || '[""]' }}
42-
browser: ${{ toJSON(matrix.integ-config.browser) || '[""]' }}
43-
backend: ${{ matrix.integ-config.backend }}
44-
timeout_minutes: ${{ matrix.integ-config.timeout_minutes || 35 }}
45-
retry_count: ${{ matrix.integ-config.retry_count || 3 }}
46-
yarn_script: ${{ matrix.integ-config.yarn_script || '' }}
47-
yarn_script_args: ${{ matrix.integ-config.yarn_script_args || '15' }}
48-
env: ${{ matrix.integ-config.env && toJSON(matrix.integ-config.env) || '{}' }}
26+
# e2e-test-runner:
27+
# name: E2E test runnner
28+
# needs: e2e-prep
29+
# secrets: inherit
30+
# strategy:
31+
# matrix:
32+
# integ-config: ${{ fromJson(needs.e2e-prep.outputs.integ-config) }}
33+
# fail-fast: false
34+
# uses: ./.github/workflows/callable-e2e-test.yml
35+
# with:
36+
# test_name: ${{ matrix.integ-config.test_name }}
37+
# framework: ${{ matrix.integ-config.framework }}
38+
# category: ${{ matrix.integ-config.category }}
39+
# spec: ${{ matrix.integ-config.spec || '' }}
40+
# amplifyjs_dir: ${{ matrix.integ-config.amplifyjs_dir || false }}
41+
# sample_name: ${{ toJSON(matrix.integ-config.sample_name) || '[""]' }}
42+
# browser: ${{ toJSON(matrix.integ-config.browser) || '[""]' }}
43+
# backend: ${{ matrix.integ-config.backend }}
44+
# timeout_minutes: ${{ matrix.integ-config.timeout_minutes || 35 }}
45+
# retry_count: ${{ matrix.integ-config.retry_count || 3 }}
46+
# yarn_script: ${{ matrix.integ-config.yarn_script || '' }}
47+
# yarn_script_args: ${{ matrix.integ-config.yarn_script_args || '15' }}
48+
# env: ${{ matrix.integ-config.env && toJSON(matrix.integ-config.env) || '{}' }}
4949

5050
# e2e-test-runner-headless:
5151
# name: E2E test runnner_headless

.github/workflows/callable-release-verification.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
- prebuild-samples-staging
2222
secrets: inherit
2323
uses: ./.github/workflows/callable-e2e-tests.yml
24-
unit-tests:
25-
needs:
26-
- prebuild-ubuntu
27-
uses: ./.github/workflows/callable-unit-tests.yml
28-
native-unit-tests:
29-
needs:
30-
- prebuild-macos
31-
uses: ./.github/workflows/callable-native-unit-tests.yml
32-
bundle-size-tests:
33-
needs: prebuild-ubuntu
34-
uses: ./.github/workflows/callable-bundle-size-tests.yml
24+
# unit-tests:
25+
# needs:
26+
# - prebuild-ubuntu
27+
# uses: ./.github/workflows/callable-unit-tests.yml
28+
# native-unit-tests:
29+
# needs:
30+
# - prebuild-macos
31+
# uses: ./.github/workflows/callable-native-unit-tests.yml
32+
# bundle-size-tests:
33+
# needs: prebuild-ubuntu
34+
# uses: ./.github/workflows/callable-bundle-size-tests.yml

.github/workflows/push-integ-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ concurrency:
88
on:
99
push:
1010
branches:
11-
- replace-with-your-branch
11+
- feat/passkeys-test
1212

1313
jobs:
1414
e2e:
1515
secrets: inherit
16-
uses: ./.github/workflows/callable-release-verification.yml
16+
uses: ./.github/workflows/callable-release-verification.yml

packages/react-native/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@
7676
"ios",
7777
"dist/cjs",
7878
"dist/esm",
79-
"src"
79+
"src",
80+
"internals"
8081
],
8182
"source": "src/index"
8283
}

0 commit comments

Comments
 (0)