Skip to content

Commit

Permalink
Disable Detox & Headless tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimblanc committed Sep 14, 2023
1 parent cff686e commit 2f4d97f
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 40 deletions.
14 changes: 7 additions & 7 deletions .github/integ-config/detox-integ-all.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# - test_name: 'integ_rn_ios_storage'
# working_directory: amplify-js-samples-staging/samples/react-native/storage/StorageApp
# - test_name: 'integ_rn_ios_storage_multipart_progress'
# working_directory: amplify-js-samples-staging/samples/react-native/storage/MultiPartUploadWithProgress
# - test_name: 'integ_rn_ios_device_tracking'
# working_directory: amplify-js-samples-staging/samples/react-native/auth/deviceTracking
# timeout_minutes: 120
- test_name: 'integ_rn_ios_storage'
working_directory: amplify-js-samples-staging/samples/react-native/storage/StorageApp
- test_name: 'integ_rn_ios_storage_multipart_progress'
working_directory: amplify-js-samples-staging/samples/react-native/storage/MultiPartUploadWithProgress
- test_name: 'integ_rn_ios_device_tracking'
working_directory: amplify-js-samples-staging/samples/react-native/auth/deviceTracking
timeout_minutes: 120
# - test_name: 'integ_rn_ios_datastore_sqlite_adapter'
# working_directory: ~/amplify-js-samples-staging/samples/react-native/datastore/SQLiteAdapter
# - test_name: 'integ_rn_android_storage'
Expand Down
9 changes: 4 additions & 5 deletions .github/integ-config/integ-all-headless.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
tests:
# integ_auth_test_cypress_no_ui
# TODO(v6) Re-enable for GA
# - test_name: 'Token revocation'
# category: 'auth'
# spec: 'token-revocation'
# is_headless: true
- test_name: 'Token revocation'
category: 'auth'
spec: 'token-revocation'
is_headless: true
56 changes: 28 additions & 28 deletions .github/workflows/callable-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,32 +43,32 @@ jobs:
timeout_minutes: ${{ matrix.integ-config.timeout_minutes || 35 }}
retry_count: ${{ matrix.integ-config.retry_count || 3 }}

e2e-test-runner-headless:
name: E2E test runnner_headless
needs: e2e-prep
secrets: inherit
strategy:
matrix:
integ-config: ${{ fromJson(needs.e2e-prep.outputs.integ-config-headless) }}
fail-fast: false
uses: ./.github/workflows/callable-e2e-test-headless.yml
with:
test_name: ${{ matrix.integ-config.test_name }}
category: ${{ matrix.integ-config.category }}
spec: ${{ matrix.integ-config.spec || '' }}
timeout_minutes: ${{ matrix.integ-config.timeout_minutes || 35 }}
retry_count: ${{ matrix.integ-config.retry_count || 3 }}
# e2e-test-runner-headless:
# name: E2E test runnner_headless
# needs: e2e-prep
# secrets: inherit
# strategy:
# matrix:
# integ-config: ${{ fromJson(needs.e2e-prep.outputs.integ-config-headless) }}
# fail-fast: false
# uses: ./.github/workflows/callable-e2e-test-headless.yml
# with:
# test_name: ${{ matrix.integ-config.test_name }}
# category: ${{ matrix.integ-config.category }}
# spec: ${{ matrix.integ-config.spec || '' }}
# timeout_minutes: ${{ matrix.integ-config.timeout_minutes || 35 }}
# retry_count: ${{ matrix.integ-config.retry_count || 3 }}

detox-e2e-test-runner:
name: E2E test runner
needs: e2e-prep
strategy:
matrix:
integ-config: ${{ fromJson(needs.e2e-prep.outputs.detox-integ-config) }}
fail-fast: false
secrets: inherit
uses: ./.github/workflows/callable-e2e-test-detox.yml
with:
test_name: ${{ matrix.integ-config.test_name }}
working_directory: ${{ matrix.integ-config.working_directory }}
timeout_minutes: ${{ matrix.integ-config.timeout_minutes || 45 }}
# detox-e2e-test-runner:
# name: E2E test runner
# needs: e2e-prep
# strategy:
# matrix:
# integ-config: ${{ fromJson(needs.e2e-prep.outputs.detox-integ-config) }}
# fail-fast: false
# secrets: inherit
# uses: ./.github/workflows/callable-e2e-test-detox.yml
# with:
# test_name: ${{ matrix.integ-config.test_name }}
# working_directory: ${{ matrix.integ-config.working_directory }}
# timeout_minutes: ${{ matrix.integ-config.timeout_minutes || 45 }}

0 comments on commit 2f4d97f

Please sign in to comment.