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

Swaps wdio for Playwright #1617

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ htmlcov/
.cache
nosetests.xml
coverage.xml
playwright-report/

# Front-End #
#############
Expand Down
45 changes: 45 additions & 0 deletions .sauce/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
apiVersion: v1alpha
kind: playwright
sauce:
region: us-west-1
concurrency: 3 # Controls how many suites are executed at the same time.
metadata:
tags:
- design-system-playwright
docker:
# Affects how test files are transferred to the docker container when using the docker mode.
fileTransfer: copy # Choose between mount|copy.
playwright:
version: package.json # See https://docs.saucelabs.com/dev/cli/saucectl/#supported-frameworks-and-browsers for a list of supported versions.
configFile: playwright.config.ts # See https://docs.saucelabs.com/dev/testrunner-toolkit/configuration/playwright#configuration-examples for a list of supported configuration files.
# Controls what files are available in the context of a test run (unless explicitly excluded by .sauceignore).
rootDir: ./
suites:
- name: 'Firefox Win'
platformName: 'Windows 11'
screenResolution: '1440x900'
testMatch: ['.*.js']
params:
browserName: 'firefox'
project: 'firefox' # Runs the project that's defined in `playwright.config.js`
- name: 'Chromium Mac'
platformName: 'macOS 12'
screenResolution: '1440x900'
testMatch: ['.*.js']
params:
browserName: 'chromium'
project: 'chromium'
- name: 'Webkit Win'
platformName: 'Windows 11'
screenResolution: '1440x900'
testMatch: ['.*.js']
params:
browserName: 'webkit'
project: 'webkit'
# Controls what artifacts to fetch when the suite on Sauce Cloud has finished.
# artifacts:
# download:
# when: always
# match:
# - console.log
# directory: ./artifacts/
15 changes: 15 additions & 0 deletions .sauceignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This file instructs saucectl to not package any files mentioned here.
.git/
.github/
.DS_Store
.hg/
.vscode/
.idea/
.gitignore
.hgignore
.gitlab-ci.yml
.npmrc
*.gif
# Remove this to have node_modules uploaded with code
node_modules/

1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default {
moduleNameMapper: {
'\\.(svg)$': '<rootDir>/test/unit-test/mocks/fileMock.js',
},
modulePathIgnorePatterns: ['<rootDir>/test/browser'],
testEnvironmentOptions: {
url: 'http://localhost',
},
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@babel-core-7.22.8.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@babel-parser-7.22.7.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@babel-runtime-7.22.6.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@babel-types-7.22.10.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@babel-types-7.22.17.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@babel-types-7.22.5.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@jest-schemas-28.1.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@jest-schemas-29.6.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@jest-types-28.1.3.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@nrwl-devkit-16.5.3.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@nrwl-tao-16.5.3.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/@nrwl-tao-16.9.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@nx-devkit-16.5.3.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/@nx-devkit-16.9.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-archiver-5.3.2.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-diff-5.0.3.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-ejs-3.1.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-eslint-8.44.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-estree-1.0.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-hast-2.3.5.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/@types-hast-2.3.6.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-inquirer-8.2.6.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-keyv-3.1.4.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-mdast-3.0.12.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-minimist-1.2.2.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-mocha-10.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-node-18.16.19.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-node-20.4.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-react-18.2.14.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-through-0.0.30.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-tmp-0.2.3.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-unist-2.0.7.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/@types-unist-2.0.8.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-which-1.3.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-yargs-17.0.24.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-yauzl-2.10.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@wdio-cli-7.26.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@wdio-config-7.26.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@wdio-logger-7.26.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@wdio-logger-8.11.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@wdio-repl-7.26.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@wdio-runner-7.26.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@wdio-types-7.26.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@wdio-utils-7.26.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/adm-zip-0.5.10.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/agentkeepalive-4.3.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/ansi-colors-4.1.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/ansi-regex-2.1.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/ansi-styles-2.2.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/archive-type-4.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/archiver-5.3.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/archiver-5.3.2.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/array-includes-3.1.6.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/async-exit-hook-2.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/axe-core-4.7.2.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/axe-core-4.8.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/axios-1.4.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/axios-1.5.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/b4a-1.6.4.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/bl-1.2.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/browser-stdout-1.3.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/browserslist-4.21.10.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/browserslist-4.21.9.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/buffer-alloc-1.2.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/buffer-fill-1.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/cac-3.0.4.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/camelcase-3.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/camelcase-keys-3.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/capital-case-1.0.4.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/chalk-1.1.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/chalk-5.3.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/change-case-4.1.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/chokidar-3.5.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/chromedriver-113.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/cli-spinners-2.9.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/cli-spinners-2.9.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/clone-response-1.0.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/clone-response-1.0.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/codemirror-5.65.13.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/constant-case-3.0.4.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/core-js-compat-3.31.1.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/cosmiconfig-8.2.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/cosmiconfig-8.3.6.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/crc32-stream-4.0.2.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/cross-spawn-4.0.2.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/css-value-0.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/debug-4.3.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/decamelize-4.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/decompress-4.2.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading