Skip to content

Commit

Permalink
Remove support for puppeteer (#753)
Browse files Browse the repository at this point in the history
* Remove support for puppeteer
  • Loading branch information
FriggaHel authored Apr 25, 2023
1 parent 2abe293 commit 1ddbe6b
Show file tree
Hide file tree
Showing 22 changed files with 31 additions and 1,174 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,28 +113,6 @@ jobs:
saucectl
saucectl.exe
puppeteer:
needs: build
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v3

- name: Download saucectl Binary
uses: actions/download-artifact@v3
with:
name: saucectlbin

- name: Set Permissions
run: chmod +x ./saucectl

- name: Saucectl RUN - Config Driven
run: ./saucectl run -c .sauce/puppeteer.yml --timeout 10m

- name: Saucectl RUN - CLI Driven
run: ./saucectl run puppeteer "**/*.test.js" -c "" --name "CLI Driven" --browser chrome --puppeteer.version 9.1.1 --rootDir tests/e2e/puppeteer --timeout 10m

puppeteer-replay:
needs: build
runs-on: ubuntu-latest
Expand Down
33 changes: 0 additions & 33 deletions .sauce/puppeteer.yml

This file was deleted.

4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ coverage:
playwright-ci: build-linux
docker run --name playwright-ci -e "CI=true" -v $(shell pwd):/home/gitty/ -w "/home/gitty" --rm saucelabs/stt-playwright-node:latest "/home/gitty/saucectl" run -c ./.sauce/playwright.yml --verbose

#puppeteer-ci: @ Run tests against puppeteer in CI mode
puppeteer-ci: build-linux
docker run --name puppeteer-ci -e "CI=true" -v $(shell pwd):/home/gitty/ -w "/home/gitty" --rm saucelabs/stt-puppeteer-jest-node:latest "/home/gitty/saucectl" run -c ./.sauce/puppeteer.yml --verbose

#testcafe-ci: @ Run tests against testcafe in CI mode
testcafe-ci: build-linux
docker run --name testcafe-ci -e "CI=true" -v $(shell pwd):/home/gitty/ -w "/home/gitty" --rm saucelabs/stt-testcafe-node:latest "/home/gitty/saucectl" run -c ./.sauce/testcafe.yml --verbose
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ test history filtering, and analytics in Sauce Labs.
- [Playwright](https://docs.saucelabs.com/web-apps/automated-testing/playwright/)
// [Examples](https://github.com/saucelabs/saucectl-playwright-example)

- [Puppeteer](https://docs.saucelabs.com/web-apps/automated-testing/puppeteer/)
// [Examples](https://github.com/saucelabs/saucectl-puppeteer-example)

- [Replay](https://docs.saucelabs.com/web-apps/automated-testing/replay/)
// [Examples](https://github.com/saucelabs/saucectl-replay-example)

Expand Down
13 changes: 0 additions & 13 deletions api/global.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"espresso",
"imagerunner",
"playwright",
"puppeteer",
"puppeteer-replay",
"testcafe",
"xcuitest",
Expand Down Expand Up @@ -74,18 +73,6 @@
"$ref": "v1alpha/framework/playwright.schema.json"
}
},
{
"if": {
"properties": {
"kind": {
"const": "puppeteer"
}
}
},
"then": {
"$ref": "v1alpha/framework/puppeteer.schema.json"
}
},
{
"if": {
"properties": {
Expand Down
Loading

0 comments on commit 1ddbe6b

Please sign in to comment.