generated from vtex-apps/react-app-template
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #142 from vtex-apps/feature/cypress
Enable cypress tests for quickorder
- Loading branch information
Showing
5 changed files
with
111 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: '[SCH] Quality Engineering' | ||
|
||
on: | ||
schedule: | ||
- cron: '45 23 * * MON-FRI' | ||
|
||
jobs: | ||
quality-engineering: | ||
name: QE | ||
uses: vtex-apps/usqa/.github/workflows/quality-engineering.yml@v2 | ||
with: | ||
cypress: true | ||
secrets: | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} | ||
cypressJson: ${{ secrets.VTEX_QE }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
--- | ||
base: | ||
secrets: | ||
enabled: true | ||
name: VTEX_QE | ||
vtex: | ||
account: productusqa | ||
id: 2001459804 | ||
domain: myvtex.com | ||
urlExternalSeller: https://productusqaseller.myvtex.com | ||
vtexIdUrl: https://vtexid.vtex.com.br/api/vtexid/pub/authenticate/default | ||
orderFormConfig: https://productusqa.vtexcommercestable.com.br/api/checkout/pvt/configuration/orderForm | ||
twilio: | ||
enabled: true | ||
jira: | ||
enabled: true | ||
account: vtex-dev | ||
board: QUICKORDER | ||
issueType: Bug | ||
priority: High | ||
testing: true | ||
slack: | ||
enabled: false | ||
channel: some-channel | ||
cypress: | ||
devMode: false | ||
runHeaded: false | ||
getCookies: true | ||
maxJobs: 2 | ||
quiet: true | ||
projectId: oph4td | ||
video: true | ||
videoCompression: 40 | ||
videoUploadOnPasses: false | ||
screenshotOnRunFailure: true | ||
trashAssetsBeforeRuns: false | ||
viewportWidth: 1440 | ||
viewportHeight: 900 | ||
defaultCommandTimeout: 25000 | ||
requestTimeout: 25000 | ||
watchForFileChanges: false | ||
pageLoadTimeout: 45000 | ||
browser: chrome | ||
chromeWebSecurity: false | ||
sorry: false | ||
stateFiles: [] | ||
|
||
workspace: | ||
# If random a new name will be generated with prefix (ie b2b1234567) | ||
name: random | ||
prefix: quickorder | ||
# If enabled it'll link the app for integration tests with PR code | ||
linkApp: | ||
enabled: true | ||
logOutput: | ||
enabled: false | ||
installApps: [] | ||
removeApps: [] | ||
wipe: | ||
enabled: true | ||
stopOnFail: false | ||
specs: | ||
- cypress-shared/integration/quick-order/wipe.spec.js | ||
teardown: | ||
enabled: false | ||
|
||
strategy: | ||
# The strategies must be in order, with dependent tests last | ||
graphql: | ||
enabled: true | ||
sendDashboard: true | ||
hardTries: 1 | ||
stopOnFail: false | ||
parallel: false | ||
specs: | ||
- cypress-shared/integration/quick-order/1.1-graphql.spec.js | ||
quickorderTests: | ||
enabled: true | ||
sendDashboard: true | ||
hardTries: 3 | ||
stopOnFail: false | ||
parallel: true | ||
specs: | ||
- cypress-shared/integration/quick-order/1.2-skucode_quantity.spec.js | ||
- cypress-shared/integration/quick-order/1.3-upload_csv.spec.js | ||
- cypress-shared/integration/quick-order/1.4-one_by_one.spec.js | ||
- cypress-shared/integration/quick-order/1.5-categories.spec.js | ||
dependency: | ||
- cypress-shared/integration/quick-order/1.1-graphql.spec.js | ||
|