Skip to content

Commit

Permalink
feat: make smoke tests run in parallel (DX-988) (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
effervescentia authored Jan 30, 2024
1 parent 92c111d commit b153449
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions src/jobs/smoke/run-smoke-tests.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,38 @@
executor: smoke-executor
parallelism: 4

parameters:
env-name:
e2e-env-name:
type: string
default: ""
branch:
target-url:
type: string
default: ""
description: "use this to override the e2e-env-name and set the full creator-app URL"
branch-or-commit:
type: string
default: "master"
description: "the branch or commit of the automated-testing repo to checkout"
tags:
type: string
default: ""
qualitywatcher:
type: boolean
default: false
steps:
- clone_repo:
github_repo_name: automated-testing
github_commit: << parameters.branch >>
github_commit: << parameters.branch-or-commit >>
path_to_clone: ~/project
- install_node_modules:
avoid_post_install_scripts: false
cache_prefix: smoke-test
- run:
name: Run Smoke Tests
environment:
CREATOR_APP_URL: https://creator-<< parameters.env-name >>.br.development.voiceflow.com
CREATOR_APP_URL: << parameters.target-url >><<^ parameters.target-url >>https://creator-<< parameters.e2e-env-name >>.br.development.voiceflow.com<</ parameters.target-url >>
CYPRESS_INCLUDE_TAGS: << parameters.tags >>
QUALITYWATCHER_ENABLED: << parameters.qualitywatcher >>
command: yarn test:smoke
- store_test_results:
path: apps/smoke-test-runner/cypress/results
Expand Down

0 comments on commit b153449

Please sign in to comment.