Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(data): add CCI config for GraphQL API optimistic UI E2E tests #11585

Merged
merged 6 commits into from
Jul 19, 2023
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1570,6 +1570,23 @@ jobs:
spec: websocket-disruption
browser: << parameters.browser >>

integ_react_api_optimistic_ui:
parameters:
browser:
type: string
executor: js-test-executor
<<: *test_env_vars
working_directory: ~/amplify-js-samples-staging/samples/react/api/optimistic-ui
steps:
- prepare_test_env
- integ_test_js:
test_name: 'API (GraphQL) - Optimistic UI'
framework: react
category: api
sample_name: optimistic-ui
spec: optimistic-ui
browser: << parameters.browser >>

deploy:
executor: macos-executor
working_directory: ~/amplify-js
Expand All @@ -1587,7 +1604,6 @@ jobs:
git config --global user.name $GITHUB_USER
git status
git --no-pager diff
yarn publish:$CIRCLE_BRANCH

post_release:
executor: build-executor
Expand Down Expand Up @@ -2237,6 +2253,15 @@ workflows:
matrix:
parameters:
<<: *minimal_browser_list
- integ_react_api_optimistic_ui:
requires:
- integ_setup
- build
filters:
<<: *releasable_branches
matrix:
parameters:
<<: *extended_browser_list
- deploy:
filters:
<<: *releasable_branches
Expand Down Expand Up @@ -2308,6 +2333,7 @@ workflows:
- integ_vanilla_js_datastore_basic_crud
- integ_react_datastore_docs_examples
- integ_react_datastore_websocket_disruption
- integ_react_api_optimistic_ui
- post_release:
filters:
branches:
Expand Down