Skip to content

Commit

Permalink
Add playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
anselmbradford committed May 30, 2023
1 parent d7d8bcb commit a932eee
Show file tree
Hide file tree
Showing 358 changed files with 805 additions and 3,246 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.21.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 removed npm-packages-offline-cache/@babel-parser-7.21.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 removed npm-packages-offline-cache/@babel-types-7.21.5.tgz
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-types-28.1.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@octokit-core-4.2.0.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/@octokit-types-9.2.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 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.37.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-inquirer-8.2.6.tgz
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-mocha-10.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-node-18.16.12.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-node-20.1.7.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-react-18.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 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.6.6.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 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/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/async-exit-hook-2.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/axe-core-4.7.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/axe-core-4.7.2.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 removed npm-packages-offline-cache/bl-1.2.3.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/bl-6.0.1.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.5.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 removed npm-packages-offline-cache/cacache-17.1.2.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/cacache-17.1.3.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.2.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/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 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 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/expect-28.1.3.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.2.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/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-10.2.4.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/glob-10.2.6.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/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-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/jackspeak-2.2.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jackspeak-2.2.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jake-10.8.6.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jake-10.8.7.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-diff-28.1.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-get-type-28.0.2.tgz
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/json-buffer-3.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/json-buffer-3.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/keyv-3.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/keyv-4.5.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/ky-0.30.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/load-json-file-1.1.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/lodash.isobject-3.0.2.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/lodash.zip-4.2.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/loglevel-1.8.1.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/lowercase-keys-1.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/lowercase-keys-1.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/lowercase-keys-2.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/lru-cache-4.1.5.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/make-dir-1.3.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/mimic-response-1.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/mimic-response-3.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/minimalistic-assert-1.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/minimatch-3.0.8.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/minimatch-5.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/minimatch-9.0.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/minimatch-9.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/minipass-6.0.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/minipass-6.0.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/mocha-10.2.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/nanoid-3.3.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/node-releases-2.0.10.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/normalize-url-2.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/normalize-url-6.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/nwsapi-2.2.4.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/nwsapi-2.2.5.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/p-cancelable-0.4.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/p-cancelable-2.1.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/p-event-2.3.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/p-is-promise-1.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/p-iteration-1.1.8.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/p-timeout-2.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/pacote-15.1.3.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/pacote-15.2.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/parse-json-2.2.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/parse-ms-2.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/path-case-3.0.4.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/path-exists-2.1.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/path-type-1.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/pinkie-2.0.4.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/pinkie-promise-2.0.1.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/postcss-8.4.23.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/prepend-http-2.0.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/pretty-format-28.1.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/pretty-ms-7.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/pseudomap-1.0.2.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/query-string-5.1.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/queue-tick-1.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/quick-lru-5.1.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/read-pkg-1.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/read-pkg-up-1.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/readdirp-3.6.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/resolve-alpn-1.2.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/responselike-1.0.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/responselike-2.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/resq-1.11.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/rgb2hex-0.2.5.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/saucectl-0.145.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/saucelabs-7.2.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/seek-bzip-1.0.6.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/sentence-case-3.0.4.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/simple-git-3.18.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/simple-git-3.19.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/snake-case-3.0.4.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/sort-keys-1.1.2.tgz
Binary file not shown.
Loading

0 comments on commit a932eee

Please sign in to comment.