webdriverio/e2e/package.json
goosewobbler d30462eb7f
feat: @wdio/xvfb (#14663)
* feat: `@wdio/xvfb`

* feat(local-runner): use `@wdio/xvfb`

* chore: update lockfile

* chore(wdio-xvfb): update version

* chore: add `@wdio/xvfb` to compile script

* chore(wdio-xvfb): fix exports

* test(wdio-xvfb): fix unit tests

* test(wdio-local-runner): add xvfb tests

* chore(wdio-xvfb): add logging

* chore(wdio-xvfb): process runs independently

* feat(wdio-xvfb): skip startup when display in use

* test(wdio-xvfb): fix unit tests

* refactor(wdio-xvfb): use `xvfb-run`

* chore: update lockfile

* refactor(wdio-local-runner): use processFactory

* refactor(wdio-xvfb): remove command execution

* test(e2e): add xvfb E2Es

* chore: update lockfile

* docs(wdio-xvfb): update LICENSE

Co-authored-by: Christian Bromann <git@bromann.dev>

* refactor(wdio-xvfb): rework distro detection

* docs(wdio-xvfb): update for distros

* test(e2e): add new distros, fix perm issues

* refactor(wdio-xvfb): use `is-ci`

* chore: update lockfile

* test(wdio-xvfb): mock `is-ci`

* refactor(wdio-local-runner): processFactory tweaks

* test(wdio-xvfb): fix `is-ci` mocking

* refactor(wdio-xvfb): rework distro detection

* refactor(wdio-local-runner): import xvfb directly

* fix(e2e): fix log perms issue

* fix(e2e): xvfb dockerfile fixes

* chore(e2e): exit correctly

* fix(wdio-xvfb): update install commands

* chore(e2e): ensure clean environments without xvfb

* docs(wdio-xvfb): update README

* chore(e2e): fix arch chrome install

* fix(e2e): fix SUSE perm issue

* fix(e2e): fix EACCES

* fix(e2e): fix exit issue

* chore(e2e): add zypper xvfb fallback

* fix(e2e): more aggressive removal of xvfb in clean images

* chore(e2e): fix issues

* fix(e2e): fix suse xvfb install

* chore(wdio-types): add disableAutoXvfb option

* feat(wdio-local-runner): skip auto xvfb init

* chore(e2e): disable auto xvfb init

* fix(wdio-local-runner): check if xvfb-run available

* chore(e2e): increase timeout

* chore(wdio-xvfb): add logging

* chore(wdio-xvfb): add override & force props for tests

* test(e2e): update for new manager props

* test(wdio-xvfb): update units

* test(e2e): add debug

* test(wdio-local-runner): make flaky test more robust

* chore(e2e): update chromium install for alpine

* chore(e2e): add more debug

* test(wdio-xvfb): update timeout values

* chore(e2e): update alpine repos

* test(e2e): add more debug

* test(e2e): add more debug

* test(e2e): remove cleanup

* test(e2e): port fix to existing-xvfb

* chore(e2e): standardize on node 22

* chore(e2e): remove debug

* chore(e2e): remove redundant test

* chore(e2e): add back alpine fix

* chore(e2e): update chromeOptions

* chore(e2e): display logs on failure

* chore(e2e): standardize nomenclature

* chore(e2e): delete README

* chore: add NL

* feat(wdio-xvfb): add void / xbps support

* test(e2e): add void E2Es

* refactor(e2e): remove rocky tests (covered by fedora)

* fix(e2e): fix void docker issues

* feat(wdio-xvfb): detect headless mode

* feat(wdio-local-runner): lazy init xvfb for headless mode detection

* docs(wdio-xvfb): update for package manager-centric approach & headless mode detection

* chore(wdio-xvfb): update xbps install command

* chore(wdio-xvfb): use types package for caps, remove legacy options support

* test(wdio-xvfb): remove tests for unsupported options

* chore(wdio-xvfb): add `@wdio/types`

* chore: update lockfile

* chore(wdio-xvfb): update xbps command

* chore(wdio-xvfb): update commands to refresh package repos

* test(wdio-xvfb): fix type error

* chore(e2e): update base dockerfiles for distro-specific xvfb removal

* chore(wdio-xvfb): update zypper command

* chore(e2e): update zypper xvfb clean

* refactor: move ProcessFactory to `wdio-xvfb`

* feat(wdio-xvfb): retries

* chore(wdio-types): add xvfb opts

* refactor(wdio-local-runner): pass xvfbmanager to processfactory

* refactor(e2e): update for `@wdio/xvfb` changes

* docs(wdio-xvfb): update README for retries

* chore(e2e): remove browserVersion

* Update packages/wdio-local-runner/src/index.ts

---------

Co-authored-by: Christian Bromann <git@bromann.dev>
2025-08-10 17:48:31 -07:00

90 lines
4.2 KiB
JSON

{
"name": "e2e",
"description": "WebdriverIO e2e test suite",
"type": "module",
"private": true,
"scripts": {
"test:browser": "run-s test:browser:*",
"test:browser:react": "run-s test:browser:react:*",
"test:browser:react:wdio": "cross-env WDIO_PRESET=react wdio ./browser-runner/wdio.conf.js --spec react.test.tsx",
"test:browser:react:verifyCoverage": "run-s verifyCoverage",
"test:browser:preact": "run-s test:browser:preact:*",
"test:browser:preact:wdio": "echo \"UNSKIP ME\" || cross-env WDIO_PRESET=preact wdio ./browser-runner/wdio.conf.js --spec pr-eact.test.tsx",
"test:browser:preact:verifyCoverage": "run-s verifyCoverage",
"test:browser:vue": "run-s test:browser:vue:*",
"test:browser:vue:copyTW": "cp ./__fixtures__/tailwind.config.js ./tailwind.config.js",
"test:browser:vue:wdio": "cross-env WDIO_PRESET=vue wdio ./browser-runner/wdio.conf.js --spec vue.test.js",
"test:browser:vue:deleteTW": "rm ./tailwind.config.js",
"test:browser:vue:verifyCoverage": "run-s verifyCoverage",
"test:browser:svelte": "echo \"UNSKIP ME\" || run-s test:browser:svelte:*",
"test:browser:svelte:wdio": "cross-env WDIO_PRESET=svelte wdio ./browser-runner/wdio.conf.js --spec svelte.test.js",
"test:browser:svelte:verifyCoverage": "run-s verifyCoverage",
"test:browser:lit": "run-s test:browser:lit:*",
"test:browser:lit:wdio": "cross-env WDIO_PRESET=lit wdio ./browser-runner/wdio.conf.js --spec lit.test.js",
"test:browser:lit:verifyCoverage": "run-s verifyCoverage",
"test:browser:lit:verifyScreenshotFile": "test -f ./screenshot.png && rm ./screenshot.png",
"test:browser:stencil": "run-s test:browser:stencil:*",
"test:browser:stencil:wdio": "cross-env WDIO_PRESET=stencil wdio ./browser-runner/wdio.conf.js --spec stencil.test.tsx",
"test:browser:stencil:verifyCoverage": "run-s verifyCoverage",
"test:browser:misc": "echo \"UNSKIP ME\" || wdio ./browser-runner/wdio.conf.js --spec mock.test.ts",
"test:mocha": "wdio ./mocha/wdio.conf.js",
"test:jasmine": "wdio ./jasmine/wdio.conf.js",
"test:cucumber": "wdio ./cucumber/wdio.conf.js",
"test:multiremote": "wdio ./wdio/wdio-multiremote.conf.ts",
"test:customReporter": "wdio ./custom-reporter/wdio.conf.js",
"test:customService": "wdio ./custom-service/wdio.conf.js",
"test:xvfb": "wdio ./wdio/xvfb/wdio.conf.ts",
"test:xvfb:base": "wdio ./wdio/xvfb/wdio.conf.ts --spec base-install.e2e.ts",
"test:xvfb:existing": "wdio ./wdio/xvfb/wdio.conf.ts --spec existing-xvfb.e2e.ts",
"verifyCoverage": "test -d ./browser-runner/coverage"
},
"devDependencies": {
"@babel/plugin-transform-react-jsx-development": "^7.22.5",
"@jspm/core": "^2.0.1",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/preact": "^3.2.3",
"@testing-library/react": "^14.1.2",
"@testing-library/svelte": "^4.0.5",
"@testing-library/user-event": "^14.5.2",
"@testing-library/vue": "^8.0.1",
"@types/mocha": "^10.0.6",
"@types/testing-library__jest-dom": "^5.14.9",
"@vue/compiler-dom": "^3.4.19",
"@vue/test-utils": "^2.4.3",
"@wdio/browser-runner": "workspace:*",
"@wdio/config": "workspace:*",
"@wdio/cli": "workspace:*",
"@wdio/dot-reporter": "workspace:*",
"@wdio/globals": "workspace:*",
"@wdio/junit-reporter": "workspace:*",
"@wdio/lighthouse-service": "workspace:*",
"@wdio/local-runner": "workspace:*",
"@wdio/mocha-framework": "workspace:*",
"@wdio/repl": "workspace:*",
"@wdio/sauce-service": "workspace:*",
"@wdio/shared-store-service": "workspace:*",
"@wdio/spec-reporter": "workspace:*",
"@wdio/types": "workspace:*",
"@wdio/xvfb": "workspace:*",
"babel-plugin-transform-hook-names": "^1.0.2",
"cross-env": "^7.0.3",
"expect": "^29.7.0",
"graphql-request": "^6.1.0",
"is-url": "^1.2.4",
"mocha": "^10.2.0",
"puppeteer-core": "^24.12.1",
"string-width": "^7.1.0",
"tailwindcss": "^3.4.1",
"vite": "^5.1.3",
"webdriver": "workspace:*",
"webdriverio": "workspace:*"
},
"dependencies": {
"@stencil-community/router": "^1.0.2",
"lit": "^3.1.1",
"preact": "^10.19.3",
"react": "^18.2.0",
"svelte": "^4.2.9",
"vue": "^3.4.37"
}
}