Skip to content

Commit

Permalink
Add playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed Jul 28, 2023
1 parent a67b387 commit c0ede13
Show file tree
Hide file tree
Showing 432 changed files with 1,260 additions and 3,277 deletions.
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 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 removed npm-packages-offline-cache/@jest-console-29.6.1.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@jest-core-29.6.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/@jest-core-29.6.2.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@jest-expect-29.6.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/@jest-globals-29.6.1.tgz
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 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-types-28.1.3.tgz
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.5.4.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@nx-devkit-16.5.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 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-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 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 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-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 removed npm-packages-offline-cache/@types-prettier-2.7.3.tgz
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 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 removed npm-packages-offline-cache/@types-which-1.3.2.tgz
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 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 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/babel-jest-29.6.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/babel-jest-29.6.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 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/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 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 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/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 removed npm-packages-offline-cache/constant-case-3.0.4.tgz
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.
Binary file removed npm-packages-offline-cache/decompress-tar-4.1.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added npm-packages-offline-cache/dedent-1.3.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/devtools-7.26.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/diff-5.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/diff-5.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/diff-sequences-28.1.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/download-8.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/duplexer3-0.1.5.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/easy-table-1.2.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/edge-paths-2.2.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/es-abstract-1.21.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 removed npm-packages-offline-cache/espree-9.6.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/espree-9.6.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/expect-28.1.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/expect-29.6.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/expect-29.6.2.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/ext-list-2.2.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/ext-name-5.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/fast-deep-equal-2.0.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/fast-fifo-1.3.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/file-type-11.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/file-type-3.9.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/file-type-4.4.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/file-type-5.2.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/file-type-6.2.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/filenamify-3.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/filter-obj-1.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/find-up-1.1.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/from2-2.3.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/gaze-1.1.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/get-stream-2.3.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/get-stream-3.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/get-stream-4.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/glob-7.1.7.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/glob-7.2.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/globule-1.3.4.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/got-11.8.6.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/got-8.3.2.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/has-ansi-2.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/hash.js-1.1.7.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/header-case-2.0.4.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/http2-wrapper-1.0.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/indent-string-3.2.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/inquirer-8.2.4.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/into-stream-3.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/ip-regex-4.3.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/is-binary-path-2.1.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/is-object-1.0.2.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/is-stream-1.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/is-typed-array-1.1.10.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/is-url-1.2.4.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/is-utf8-0.2.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/is2-2.0.9.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/isurl-1.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-29.6.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-29.6.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-circus-29.6.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-circus-29.6.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-cli-29.6.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-cli-29.6.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-config-29.6.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-config-29.6.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-diff-28.1.3.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-diff-29.6.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-each-29.6.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-each-29.6.2.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/jest-get-type-28.0.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-haste-map-29.6.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 removed npm-packages-offline-cache/jest-mock-29.6.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-mock-29.6.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-resolve-29.6.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-runner-29.6.1.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-runtime-29.6.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-util-28.1.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-util-29.6.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-util-29.6.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-validate-29.6.1.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-watcher-29.6.1.tgz
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit c0ede13

Please sign in to comment.