Skip to content

Commit e8f319f

Browse files
author
Di Wu
committed
test(analytics): add integration test config for kds
1 parent 2dc407c commit e8f319f

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.github/actions/setup-samples-staging/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ runs:
2525
repository: ${{ github.repository_owner }}/amplify-js-samples-staging
2626
path: amplify-js-samples-staging
2727
token: ${{ inputs.GH_TOKEN_STAGING_READ }}
28+
ref: next/main
2829

2930
# We test on the staging branch that corresponds to the amplify-js branch
3031
# when it exists and test on the default branch `main` otherwise

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,24 @@ tests:
565565
# Temp fix:
566566
browser: *minimal_browser_list
567567

568+
- test_name: integ_react_analytics_kinesis_data_stream_auth
569+
desc: 'Test record API for KDS with authenticated user'
570+
framework: react
571+
category: analytics
572+
sample_name: [kinesis-test]
573+
spec: kinesis
574+
# Temp fix:
575+
browser: *minimal_browser_list
576+
577+
- test_name: integ_react_analytics_kinesis_data_stream_unauth
578+
desc: 'Test record API for KDS with guest user'
579+
framework: react
580+
category: analytics
581+
sample_name: [kinesis-test]
582+
spec: kinesis-unauth
583+
# Temp fix:
584+
browser: *minimal_browser_list
585+
568586
# GEO
569587
# - test_name: integ_react_geo_display_map
570588
# desc: 'Display Map'

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
push:
1010
branches:
1111
- next/main
12+
- 5d/kds-integ-test-config
1213

1314
jobs:
1415
e2e:

0 commit comments

Comments
 (0)