Skip to content

Commit

Permalink
chore(ci): use new Argos playwright integration
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Oct 20, 2023
1 parent 4e150d2 commit f0e2d3d
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 168 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/argos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,3 @@ jobs:

- name: Take Argos screenshots
run: yarn argos:screenshot

- name: Upload Argos screenshots
continue-on-error: true
run: yarn argos:upload
3 changes: 1 addition & 2 deletions argos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"report": "playwright show-report"
},
"dependencies": {
"@argos-ci/cli": "^0.4.6",
"@argos-ci/playwright": "^0.0.6",
"@argos-ci/playwright": "1.0.0-alpha.2",
"@playwright/test": "^1.36.1",
"cheerio": "^1.0.0-rc.12"
}
Expand Down
2 changes: 2 additions & 0 deletions argos/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import type {PlaywrightTestConfig} from '@playwright/test';
const config: PlaywrightTestConfig = {
testDir: './tests',

reporter: [['list'], ['@argos-ci/playwright/reporter']],

// Run website production built
// Need to run "yarn website:build:fast" before
webServer: {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"crowdin:download": "crowdin download --config ./crowdin-v2.yaml",
"crowdin:download:website": "yarn crowdin:download --language fr --language ko --language pt-BR --language zh-CN --language ja",
"argos:screenshot": "yarn workspace argos screenshot",
"argos:upload": "yarn workspace argos upload",
"canary": "yarn canary:bumpVersion && yarn canary:publish",
"canary:version": "echo 0.0.0-`git rev-list --count HEAD`+`git rev-parse --short HEAD`",
"canary:bumpVersion": "yarn lerna version `yarn --silent canary:version` --exact --no-push --yes",
Expand Down
Loading

0 comments on commit f0e2d3d

Please sign in to comment.