From fc61422f4896fd73b4d6647aa3159c03453a6dcd Mon Sep 17 00:00:00 2001 From: Jon Wire Date: Mon, 14 Nov 2022 13:01:27 -0600 Subject: [PATCH] chore: add selective-sync-v5 tests to pipeline (#10637) * chore: add selective-sync-v5 tests to pipeline * fixed selective sync workflow entry * fixing circle workflow add again * workflow job add missing browser param --- .circleci/config.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 11a1e3d0c89..f3f5df13658 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1265,6 +1265,23 @@ jobs: # Firefox doesn't support network state management in cypress browser: chrome + integ_react_datastore_selective_sync: + parameters: + browser: + type: string + executor: js-test-executor + <<: *test_env_vars + working_directory: ~/amplify-js-samples-staging/samples/react/datastore/selective-sync-v5 + steps: + - prepare_test_env + - integ_test_js: + test_name: 'DataStore - Selective Sync' + framework: react + category: datastore + sample_name: selective-sync-v5 + spec: selective-sync-v5 + browser: << parameters.browser >> + deploy: executor: macos-executor working_directory: ~/amplify-js @@ -1781,6 +1798,15 @@ workflows: - build filters: <<: *releasable_branches + - integ_react_datastore_selective_sync: + requires: + - integ_setup + - build + filters: + <<: *releasable_branches + matrix: + parameters: + <<: *test_browsers - deploy: filters: @@ -1837,6 +1863,7 @@ workflows: - integ_react_datastore_related_models - integ_react_iot_reconnect - integ_react_api_reconnect + - integ_react_datastore_selective_sync - post_release: filters: branches: