- b546e8b5: Upgrade puppeteer-core and puppeteer to v23
- Updated dependencies [b546e8b5]
- @web/[email protected]
- 6914f3b6: Show suites names for
summaryReporter
whenflatten
option is true
- 6a97a691: Unify visual-written representation of skipped tests.
- Updated dependencies [4cc90648]
- @web/[email protected]
- c185cbaa: Set minimum node version to 18
- Updated dependencies [c185cbaa]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- Updated dependencies [43be7391]
- Updated dependencies [60dda46f]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- d07fc49c: Add the selectOption plugin's exports and types correctly
- Updated dependencies [d07fc49c]
- Updated dependencies [d9996d2d]
- @web/[email protected]
- @web/[email protected]
- 72d31ec6: update mjs entrypoint with formatError
- Updated dependencies [5470b5b9]
- @web/[email protected]
-
0c87f59e: feat/various fixes
- Update puppeteer to
20.0.0
, fixes #2282 - Use puppeteer's new
page.mouse.reset()
in sendMousePlugin, fixes #2262 - Use
development
export condition by default
- Update puppeteer to
- Updated dependencies [0c87f59e]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 0cd3a2f8: chore(deps): bump puppeteer from 19.8.2 to 19.9.0
- c26d3730: Update TypeScript
- Updated dependencies [0cd3a2f8]
- Updated dependencies [c26d3730]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- febd9d9d: Set node 16 as the minimum version.
- 72c63bc5: Require [email protected] and update all Rollup related dependencies to latest.
- Updated dependencies [febd9d9d]
- Updated dependencies [b7d8ee66]
- Updated dependencies [72c63bc5]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- c103f166: Update
isbinaryfile
- 18a16bb0: Update
html-minifier-terser
- d8579f15: Update
command-line-usage
- 445b20e6: Update
convert-source-map
- 6188c8ff: chore(deps): update dependency concurrently to v8
- 8128ca53: Update @rollup/plugin-replace
- Updated dependencies [77e413d9]
- Updated dependencies [cdeafe4a]
- Updated dependencies [c103f166]
- Updated dependencies [18a16bb0]
- Updated dependencies [1113fa09]
- Updated dependencies [d8579f15]
- Updated dependencies [817d674b]
- Updated dependencies [445b20e6]
- Updated dependencies [9b83280e]
- Updated dependencies [bd12ff9b]
- Updated dependencies [8128ca53]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- b8198d19: Report browsers logs when using summary reporter
- bf82ccf1: Indent nested suites in summaryReporter output
- 57fd96c4: Export formatError from
@web/test-runner
- Updated dependencies [0f5631d0]
- Updated dependencies [0e198dcc]
- @web/[email protected]
- @web/[email protected]
- b2c85736: Report browsers logs when using summary reporter
- acca5d51: Update dependency v8-to-istanbul to v9
- Updated dependencies [acca5d51]
- @web/[email protected]
- 04e2fa7d: Update portfinder dependency to 1.0.32
- Updated dependencies [04e2fa7d]
- @web/[email protected]
- 13b75cf3: Add browser name to summaryReporter output
- Updated dependencies [00da4255]
- @web/[email protected]
- 570cdf70: - improve caching of snapshots in-memory
- don't block browser command on writing snapshot to disk
- don't write snapshot to disk for each change, batch write per file
- Updated dependencies [78d610d1]
- Updated dependencies [570cdf70]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- fff82902: Add types field to package.json exports map
- 8e3bb3cf: Add "forcedColors" support to "emulateMedia" command
- Updated dependencies [8e3bb3cf]
- Updated dependencies [efe42a8f]
- @web/[email protected]
- 2b6854cd: Ignore external urls from coverage
- 3192c9ff: Update puppeteer-core dependency to 13.1.3
- Updated dependencies [3192c9ff]
- @web/[email protected]
- 7c2fa463: Update puppeteer-core and puppeteer to v13
- Updated dependencies [7c2fa463]
- @web/[email protected]
- 24cc9212: Add
sendMousePlugin
to the default test runner config so that it will load automatically.
-
65eed8d7: Adds a summary reporter which lists all the tests run when the test runner finishes.
import { summaryReporter } from '@web/test-runner'; export default { reporters: [summaryReporter()], };
If you'd like to flatten the suite names, so that each test is reported with it's full chain of suite titles, set the
flatten
option to true.summaryReporter({ flatten: true });
-
8edded31: Adds a dot reporter a la mocha.
import { dotReporter } from '@web/test-runner'; export default { reporters: [dotReporter()], };
- Updated dependencies [36a06160]
- Updated dependencies [064b9dde]
- @web/[email protected]
- 3f79c247: Update dependency chrome-launcher to ^0.15.0
- Updated dependencies [3f79c247]
- @web/[email protected]
- aab9a42f: Update dependency puppeteer-core to v11
- Updated dependencies [aab9a42f]
- @web/[email protected]
- 64bd29ac: Corrected the typings for test-runner user config
testFramework
option - Updated dependencies [64bd29ac]
- @web/[email protected]
- e6c7459e: Use full path to browser session file
- Updated dependencies [e6c7459e]
- @web/[email protected]
- d4f92e25: Replace uuid dependency with nanoid
- a09282b4: Replace chalk with nanocolors
- Updated dependencies [d4f92e25]
- Updated dependencies [a09282b4]
- @web/[email protected]
- @web/[email protected]
- de756b28: Update dependency puppeteer-core to v10
- Updated dependencies [de756b28]
- @web/[email protected]
- 33ada3d8: Align @web/test-runner-core version
- Updated dependencies [33ada3d8]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 73681b6d: Allow user config to be partial
- Updated dependencies [73681b6d]
- @web/[email protected]
- cb693c71: Use block comments in snapshots to make them work in all browsers
- Updated dependencies [cb693c71]
- @web/[email protected]
- b362288a: make snapshots work on all browsers
- Updated dependencies [b362288a]
- @web/[email protected]
- 7cc5d13f: Fix coverage branch fusion
- Updated dependencies [51de0db1]
- @web/[email protected]
- 270a633a: dynamic import web socket module
- Updated dependencies [270a633a]
- @web/[email protected]
- 3af6ff86: improve snapshot formatting
- Updated dependencies [3af6ff86]
- @web/[email protected]
- 773160f9: expose mocha runner
- Updated dependencies [773160f9]
- @web/[email protected]
- 94cddfab: fix: allow stripXMLInvalidChars when replace it not available
- 91e0e617: add compareSnapshot function
- Updated dependencies [91e0e617]
- @web/[email protected]
- 339d05f7: add snapshots plugin
- Updated dependencies [339d05f7]
- @web/[email protected]
- Updated dependencies [c3ead4fa]
- @web/[email protected]
- 6f80be68: fix(test-runner): fix error when function metadata varies between tests, as seen in #689 and istanbuljs/v8-to-istanbul#121.
- Updated dependencies [6f80be68]
- @web/[email protected]
- e7efd5b7: use script origin to connect websocket
- 16c6d567: Automatically loads
sendKeysPlugin
in the default test runner config - Updated dependencies [e7efd5b7]
- @web/[email protected]
- @web/[email protected]
- 21f53211: add commands for reading/writing files
- Updated dependencies [6bf34874]
- Updated dependencies [21f53211]
- @web/[email protected]
- @web/[email protected]
- 6c5893cc: use unescaped import specifier
- Updated dependencies [6c5893cc]
- @web/[email protected]
- @web/[email protected]
- 2c06f31e: Update puppeteer and puppeteer-core to 8.0.0
- Updated dependencies [a6a018da]
- Updated dependencies [2c06f31e]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
-
1d9411a3: Export
sendKeysPlugin
from@web/test-runner-commands/plugins
. Loosen the typing of the command payload. -
d2389bac: Add a11ySnapshotPlugin to acquire the current accessibility tree from the browser:
import { a11ySnapshot, findAccessibilityNode } from '@web/test-runner-commands'; // ... const nodeName = 'Label Text'; const snapshot = await a11ySnapshot(); const foundNode = findAccessibilityNode(snapshot, node => node.name === nodeName); expect(foundNode).to.not.be.null;
-
Updated dependencies [1d9411a3]
-
Updated dependencies [d2389bac]
- @web/[email protected]
-
ce90c7c3: Add the
sendKeys
commandSends a string of keys for the browser to press (all at once, as with single keys or shortcuts; e.g.
{press: 'Tab'}
or{press: 'Shift+a'}
or{press: 'Option+ArrowUp}
) or type (in sequence, e.g.{type: 'Your name'}
) natively.For specific documentation of the strings to leverage here, see the Playwright documentation, here:
press
: https://playwright.dev/docs/api/class-keyboard#keyboardpresskey-optionstype
: https://playwright.dev/docs/api/class-keyboard#keyboardtypetext-options
Or, the Puppeter documentation, here:
press
: https://pptr.dev/#?product=Puppeteer&show=api-keyboardpresskey-optionstype
: https://pptr.dev/#?product=Puppeteer&show=api-keyboardtypetext-options
@param payload An object including a
press
ortype
property an the associated string for the browser runner to apply via that input method.@example
await sendKeys({ press: 'Tab', });
@example
await sendKeys({ type: 'Your address', });
-
Updated dependencies [0a05464b]
-
Updated dependencies [ce90c7c3]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 4c5fa2fe: coverageConfig now uses object spread to merge with defaults
- aea269c9: Capture visual regressions across changing screenshot sizes.
- b146365a: Add
buildCache
option to the visual regression config to support always saving the "current" screenshot. Make theupdate
option in the visual regression config strict, and only save "current" shots as "baseline" when it is set totrue
. - Updated dependencies [b146365a]
- @web/[email protected]
- 83750cd2: fallback to fetch on IE11
- Updated dependencies [83750cd2]
- Updated dependencies [096fe25f]
- @web/[email protected]
- @web/[email protected]
- 2c223cf0: filter server stream errors
- Updated dependencies [2c223cf0]
- @web/[email protected]
- @web/[email protected]
- 3885b33e: configure timeout for fetching source maps for code coverage
- Updated dependencies [3885b33e]
- @web/[email protected]
- 4a609a18: skip non-http coverage files
- Updated dependencies [4a609a18]
- @web/[email protected]
- e3314b02: update dependency on core
- Updated dependencies [e3314b02]
- @web/[email protected]
- @web/[email protected]
- 9ecb49f4: release test coverage package
- Updated dependencies [9ecb49f4]
- @web/[email protected]
- 83e0757e: handle cases when userAgent is not defined
- Updated dependencies [83e0757e]
- @web/[email protected]
- @web/[email protected]
- 8861ded8: feat(dev-server-core): share websocket instances with iframe parent
- Updated dependencies [8861ded8]
- @web/[email protected]
- c37b4343: Don't use red text color when there are 0 failures
- ad815710: fetch source map from server when generating code coverage reports. this fixes errors when using build tools that generate source maps on the fly, which don't exist on the file system
- c4738a40: support non-inline source maps for stack traces
- Updated dependencies [ad815710]
- Updated dependencies [c4738a40]
- @web/[email protected]
- @web/[email protected]
- 43bc451c: add configuration option reporters in coverageConfig to use various istanbul reporters
- fd831b54: fix manual testing HTML tests
- Updated dependencies [43bc451c]
- Updated dependencies [fd831b54]
- @web/[email protected]
- 82ce63d1: add backwards compatibility for "middlewares" config property
- Updated dependencies [82ce63d1]
- @web/[email protected]
- 8e3b1128: fix regression introduced in filterBrowserLogs function that flipped the return value. returning true now properly includes the logs
- d5a5f2bf: Add undeclared dependencies
- Updated dependencies [8e3b1128]
- Updated dependencies [d5a5f2bf]
- @web/[email protected]
- 66638204: deduplicate parallel source map requests
- Updated dependencies [66638204]
- Updated dependencies [5d36f239]
- @web/[email protected]
- @web/[email protected]
- 9f1a8a56: normalize test framework path in stack trace
- Updated dependencies [9f1a8a56]
- @web/[email protected]
-
1dd7cd0e: improve serialization of stack traces cross-browser
this adds two breaking changes, which should not affect most users:
- removed
userAgent
field fromTestSession
- test reporter
reportTestFileResults
is no longer async
- removed
-
a7d74fdc: drop support for node v10 and v11
- Updated dependencies [1dd7cd0e]
- Updated dependencies [a7d74fdc]
- Updated dependencies [1dd7cd0e]
- Updated dependencies [1dd7cd0e]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- cbbeae3f: allow configuring puppeteer and playwright browser context
- Updated dependencies [cbbeae3f]
- @web/[email protected]
- 69b2d13d: use about:blank to kill stale browser pages, this makes tests that rely on browser focus work with puppeteer
- 005ab9ae: use fast chrome-launcher installation finder
- Updated dependencies [69b2d13d]
- Updated dependencies [375116ad]
- Updated dependencies [005ab9ae]
- @web/[email protected]
- @web/[email protected]
- f2a84204: reduce delay when clearing terminal between test runs
- Updated dependencies [f2a84204]
- @web/[email protected]
- b92fa63e: filter out non-objects from config
- Updated dependencies [b92fa63e]
- @web/[email protected]
- af9811e2: regenerate MJS entrypoint
- Updated dependencies [af9811e2]
- @web/[email protected]
- eceb6295: match dotfiles when resolving mimetypes
- Updated dependencies [eceb6295]
- @web/[email protected]
- @web/[email protected]
- 3e861601: include url params when resolving stack traces
- 6e313c18: merged @web/test-runner-cli package into @web/test-runner
- 0f613e0e: handle modules resolved outside root dir
- 36f6ab39: update to node-resolve v11
- 65de3390: reuse common dev server plugins
- Updated dependencies [6e313c18]
- Updated dependencies [6e313c18]
- Updated dependencies [0f613e0e]
- Updated dependencies [36f6ab39]
- Updated dependencies [6055a600]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- a5dead1: reuse common dev server plugins
- 836abc0: handle errors thrown when (de)serializing browser logs
- f6107a4: handle logging shadow root
- Updated dependencies [836abc0]
- Updated dependencies [5ac055f]
- @web/[email protected]
- @web/[email protected]
- 0620eb9: fix(test-runner): run node-resolve after user plugins
- db298f0: make saucelabs a dev dependency
- 13993fa: avoid under 1 concurrency
- Updated dependencies [13993fa]
- @web/[email protected]
- 0614acf: update v8-to-istanbul
- Updated dependencies [2278a95]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 8da3fe0: add debug option
- Updated dependencies [8da3fe0]
- @web/[email protected]
- 0f0d474: track manual test session imports
- Updated dependencies [0f0d474]
- @web/[email protected]
- @web/[email protected]
- 4bbaa21: use consistent paths on windows
- Updated dependencies [4bbaa21]
- @web/[email protected]
- 382affc: don't require files to exist on disk for coverage
- Updated dependencies [a70da8d]
- @web/[email protected]
- e21a4cf: add coverage failure per type when below threshold
- Updated dependencies [e21a4cf]
- @web/[email protected]
- 145a8e6: correctly encode/decode test framework url
- Updated dependencies [145a8e6]
- @web/[email protected]
- @web/[email protected]
- 49fba90: run user plugins after builtin plugins
- 304558e: fix(test-runner): deduplicated browsers when reporting
- Updated dependencies [304558e]
- @web/[email protected]
- @web/[email protected]
- 4edf123: added option to configure test runner HTML per group
- cd8928b: separate reporting per browser launcher
- Updated dependencies [4edf123]
- Updated dependencies [cd8928b]
- @web/[email protected]
- @web/[email protected]
- aadf0fe: Speed up test loading by inling test config and preloading test files.
- Updated dependencies [416c0d2]
- Updated dependencies [aadf0fe]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
-
b397a4c: Disabled the in-browser reporter during regular test runs, improving performance.
Defaulted to the spec reporter instead of the HTML reporter in the browser when debugging. This avoids manipulating the testing environment by default.
You can opt back into the old behavior by setting the mocha config:
export default { testFramework: { config: { reporter: 'html' }, }, };
- Updated dependencies [b397a4c]
- @web/[email protected]
- c256a08: allow configuring concurrency per browser launcher
- Updated dependencies [c256a08]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 859008b: added experimental mode to test workflows where tests on firefox require the browser window to be focused
- Updated dependencies [859008b]
- @web/[email protected]
- 0b5cc82: always print stack traces in errors
- Updated dependencies [0b5cc82]
- @web/[email protected]
- 175b124: fixed reporting multiple test files for a browser
- 7ec6e94: don't require files option when using groups
- 438176c: Allow specifying default test group
- Updated dependencies [175b124]
- Updated dependencies [7ec6e94]
- Updated dependencies [438176c]
- @web/[email protected]
- @web/[email protected]
- Updated dependencies [80d5814]
- @web/[email protected]
-
2291ca1: replaced HTTP with websocket for server-browser communication
this improves test speed, especially when a test file makes a lot of concurrent requests it lets us us catch more errors during test execution, and makes us catch them faster
- Updated dependencies [2291ca1]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- f2d0bb2: avoid using document.baseURI in IE11
- Updated dependencies [f2d0bb2]
- @web/[email protected]
- ae056f5: throw when combining browsers config and flags
- 72ffcde: improve error message when no browsers are configured
- fcc2e28: added manual testing and open browser options
- Updated dependencies [72ffcde]
- Updated dependencies [fcc2e28]
- @web/[email protected]
- @web/[email protected]
- bd27fff: improve browser and proxy close logic
- Updated dependencies [bd27fff]
- @web/[email protected]
- @web/[email protected]
- c8abc29: fix generating manual debug page
- Updated dependencies [c8abc29]
- @web/[email protected]
- 38d8f03: turn on selenium iframe mode by default
- Updated dependencies [38d8f03]
- Updated dependencies [38d8f03]
- @web/[email protected]
- @web/[email protected]
- d15ffee: serve iframe page with HTML content-type
- Updated dependencies [d15ffee]
- @web/[email protected]
- f5d6086: improve iframe mode speed
- Updated dependencies [f5d6086]
- @web/[email protected]
- c723271: add port CLI flag
- Updated dependencies [c723271]
- @web/[email protected]
-
88cc7ac: Reworked concurrent scheduling logic
When running tests in multiple browsers, the browsers are no longer all started in parallel. Instead a new
concurrentBrowsers
property controls how many browsers are run concurrently. This helps improve speed and stability. -
Updated dependencies [88cc7ac]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 34efaad: added support for config groups
- Updated dependencies [34efaad]
- @web/[email protected]
- @web/[email protected]
- 4ac0b3a: added experimental iframes mode to test improve speed when testing with selenium
- Updated dependencies [4ac0b3a]
- @web/[email protected]
- 534e92c: added the ability to transform test file imports
- Updated dependencies [534e92c]
- @web/[email protected]
- @web/[email protected]
- 13001e2: bump versions
- cde5d29: add browser logging for all browser launchers
- cde5d29: add filterBrowserLogs option
- Updated dependencies [cde5d29]
- Updated dependencies [cde5d29]
- @web/[email protected]
- @web/[email protected]
- 6949d03: fix serving generated rollup chunks
- Updated dependencies [6949d03]
- @web/[email protected]
- 3d6004b: added rollup bundle plugin
- Updated dependencies [3d6004b]
- @web/[email protected]
- 3c72bdd: fixed serving test files outside cwd
- Updated dependencies [3c72bdd]
- @web/[email protected]
- 28007f1: allow unknown cli args
- 28007f1: allow custom command line args
- 89612d3: removed debug variable
- Updated dependencies [28007f1]
- Updated dependencies [28007f1]
- Updated dependencies [89612d3]
- @web/[email protected]
- 123c0c0: don't serve compressed files
- Updated dependencies [123c0c0]
- @web/[email protected]
- @web/[email protected]
- 5ba52dd: properly close server on exit
- Updated dependencies [985a784]
- Updated dependencies [5ba52dd]
- @web/[email protected]
- @web/[email protected]
- be3c9ed: track and log page reloads
- 2802df6: handle cases where reloading the page creates an infinite loop
- Updated dependencies [be3c9ed]
- Updated dependencies [2802df6]
- @web/[email protected]
- @web/[email protected]
- 431ec8f: added support for manually debugging in a browser
- Updated dependencies [431ec8f]
- Updated dependencies [abf811f]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 4de5259: also report syntax errors when not using the node-resolve flag
- 41d895f: capture native browser errors
- Updated dependencies [41d895f]
- @web/[email protected]
- 43cd03b: increased browser start timeout
- Updated dependencies [43cd03b]
- @web/[email protected]
- @web/[email protected]
- b1306c9: fixed race condition caching headers
- Updated dependencies [b1306c9]
- @web/[email protected]
- ee8c8d1: improved handling of timeouts starting or stopping a page
- 6694af7: added esbuild-target flag
- Updated dependencies [ee8c8d1]
- Updated dependencies [e3e6b22]
- Updated dependencies [e83ac30]
- @web/[email protected]
- @web/[email protected]
- cd1213e: improved logging of resolving outside root dir
- Updated dependencies [cd1213e]
- @web/[email protected]
- @web/[email protected]
- 05f826e: add missing get-stream package
- 0cc6a82: expose a startTestRunner function
- Updated dependencies [0cc6a82]
- @web/[email protected]
- 2ff6570: avoid using instanceOf check when checking for BufferedLogger
- Updated dependencies [2ff6570]
- @web/[email protected]
- ce2a2e6: align dependencies
- Updated dependencies [ce2a2e6]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 944aa88: fixed handling of circular references generated by serializing certain types, like functions and regexp
- Updated dependencies [bc1741d]
- @web/[email protected]
- 22c85b5: fix handle race condition when starting browser
- da80c1d: fixed collecting test coverage on chrome/puppeteer
- Updated dependencies [22c85b5]
- Updated dependencies [da80c1d]
- @web/[email protected]
- 60de9b5: improve handling of undefined and null in browser logs
- Updated dependencies [60de9b5]
- Updated dependencies [4d29bb4]
- @web/[email protected]
- @web/[email protected]
- 74bbffe: implemented import maps plugin
- Updated dependencies [74bbffe]
- @web/[email protected]
- dfef174: adds a custom reporter for HTML tests, avoiding errors when debugging
- Updated dependencies [dfef174]
- @web/[email protected]
- a137493: improve HTML tests setup
- Updated dependencies [a137493]
- @web/[email protected]
- 7e6e633: Added a --help command
- Updated dependencies [7e6e633]
- Updated dependencies [519e6e2]
- @web/[email protected]
- @web/[email protected]
- b020eee: update dependencies
- aa65fd1: run build before publishing
- Updated dependencies [aa65fd1]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
-
cdddf68: Removed support for
@web/test-runner-helpers
. This is a breaking change, the functionality is now available in@web/test-runner-commands
. -
fdcf2e5: Merged test runner server into core, and made it no longer possible configure a different server.
The test runner relies on the server for many things, merging it into core makes the code more maintainable. The server is composable, you can proxy requests to other servers and we can look into adding more composition APIs later.
-
9be1f95: Added native node es module entrypoints. This is a breaking change. Before, native node es module imports would import a CJS module as a default import and require destructuring afterwards:
import playwrightModule from '@web/test-runner-playwright'; const { playwrightLauncher } = playwrightModule;
Now, the exports are only available directly as a named export:
import { playwrightLauncher } from '@web/test-runner-playwright';
-
3307aa8: update to mocha v8
- 62ff8b2: make tests work on windows
- Updated dependencies [cdddf68]
- Updated dependencies [fdcf2e5]
- Updated dependencies [62ff8b2]
- Updated dependencies [9be1f95]
- Updated dependencies [3307aa8]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- f924a9b: improve support for puppeteer firefox
- Updated dependencies [f924a9b]
- @web/[email protected]
- 8fb820b: add an easy way to change served mime types
- Updated dependencies [8fb820b]
- @web/[email protected]
- @web/[email protected]
- d77093b: allow code coverage instrumentation through JS
- Updated dependencies [d77093b]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- f0fe1f0: update to playwright 1.3.x
- 74cc129: implement commands API
- Updated dependencies [02a3926]
- Updated dependencies [74cc129]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- cbdf3c7: chore: merge browser lib into test-runner-core
- Updated dependencies [cbdf3c7]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 4112c2b: feat(config-loader): add jsdoc type checking
- Updated dependencies [4112c2b]
- @web/[email protected]
- c7c7cc9: fix(dev-server-rollup): add missing parse5 dependency
- Updated dependencies [c7c7cc9]
- @web/[email protected]
- 1d975e3: improve repository build setup
- Updated dependencies [1d975e3]
- @web/[email protected]
- @web/[email protected]
- c6fb524: expose test suite hierarchy, passed tests and duration
- Updated dependencies [c6fb524]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 5b36825: prevent debug sessions from interferring with regular test sessions
- Updated dependencies [432f090]
- Updated dependencies [5b36825]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- ae09789: improve CLI performance
- Updated dependencies [ae09789]
- @web/[email protected]
- 736d101: improve scheduling logic and error handling
- Updated dependencies [736d101]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 4e3de03: fix a potential race condition when starting a new test
- Updated dependencies [4e3de03]
- @web/[email protected]
- 7c25ba4: guard against the logs script being unavailable
- Updated dependencies [7c25ba4]
- @web/[email protected]
- ad11e36: resolve coverage include/exclude patterns
- @web/[email protected]
- 9484e97: replace rollupAdapter with fromRollup
- Updated dependencies [556827f]
- Updated dependencies [9484e97]
- Updated dependencies [7741a51]
- @web/[email protected]
- 3757865: add more args to test reporter callbacks
- Updated dependencies [3757865]
- @web/[email protected]
- @web/[email protected]
- 868d795: account for numbers in urls in stack traces
- c64fbe6: improve testing with HTML
- Updated dependencies [868d795]
- Updated dependencies [c64fbe6]
- @web/[email protected]
- @web/[email protected]
- 5fada4a: improve logging and error reporting
- Updated dependencies [5fada4a]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 7a22269: allow customize browser page creation
- Updated dependencies [7a22269]
- @web/[email protected]
- 868f786: don't override user defined browser launchers
- 9712125: fix not watching files with syntax errors
- 6bc4381: handle windows paths in @web/dev-server-rolup
- 588a971: fix loading esm config on windows
- Updated dependencies [6bc4381]
- @web/[email protected]
- @web/[email protected]
- 8d3f7df: fix handling of inline source maps
- 92bba60: feat(test-runner-cli): show source location for diff errors
- Updated dependencies [8d3f7df]
- Updated dependencies [92bba60]
- @web/[email protected]
- c2b5d6c: dedupe syntax errors
- 8596276: move logger to test runner cli
- Updated dependencies [f9dfcd3]
- Updated dependencies [c2b5d6c]
- Updated dependencies [8596276]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 4ced29a: fix race condition which cleared terminal on debug
- 023cc3f: don't require selecting files when there is only one test file
- a409489: remove multiple browsers total progress
- 7db1da1: open debug in a larger browser window
- Updated dependencies [4ced29a]
- Updated dependencies [023cc3f]
- Updated dependencies [a409489]
- Updated dependencies [7db1da1]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- e97d492: allow adding custom reporters
- Updated dependencies [e97d492]
- @web/[email protected]
- @web/[email protected]
- 3478d90: reduce .ts file extension priority
- 27a91cc: allow configuring test framework options
- Updated dependencies [27a91cc]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- f991708: encode source map url requests
- Updated dependencies [f991708]
- @web/[email protected]
- d8b5f9e: don't report test coverage if it is not enabled
- Updated dependencies [d8b5f9e]
- @web/[email protected]
- 45741c7: improve test coverage logging
- Updated dependencies [45741c7]
- @web/[email protected]
- 1ebbf4a: fix deep cloning causing slow coverage measurements
- Updated dependencies [1ebbf4a]
- @web/[email protected]
- db5baff: cleanup and sort dependencies
- Updated dependencies [db5baff]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- cfa4738: remove puppeteer dependency
- Updated dependencies [cfa4738]
- @web/[email protected]
- 687089f: support source maps in error stack traces
- Updated dependencies [687089f]
- @web/[email protected]
- @web/[email protected]
- c72ea22: allow configuring browser launch options
- Updated dependencies [c72ea22]
- @web/[email protected]
- @web/[email protected]
- 7c3b466: revert setting browser:true by default
- b34ec0c: Added web_modules and browser: true to the node resolve plugin
- 6bcf981: correctly map pages to browsers
- 4a6b9c2: make coverage work in watch mode
- Updated dependencies [4a6b9c2]
- @web/[email protected]
- @web/[email protected]
- c104663: run legacy plugin after resolving imports
- 2672e8a: expose isInlineScriptRequest function
- Updated dependencies [2a25595]
- @web/[email protected]
- 1d6d498: allow changing viewport in tests
- Updated dependencies [1d6d498]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- e3bcdb6: fix(test-runner-cli): improve stack message detection
- Updated dependencies [e3bcdb6]
- @web/[email protected]
- afc3cc7: update dependencies
- Updated dependencies [afc3cc7]
- @web/[email protected]
- @web/[email protected]
- 2150a26: update dependencies
- 8b94b03: update to esbuild 0.6.x
- 5ab18d8: feat(test-runner-core): batch v8 test coverage
- Updated dependencies [5ab18d8]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- ed59f5f: log relative test file paths
- Updated dependencies [ed59f5f]
- @web/[email protected]
- a6aad93: strip test session id from test file
- Updated dependencies [a6aad93]
- @web/[email protected]
- a9603b5: fix merging v8 code coverage
- Updated dependencies [a9603b5]
- @web/[email protected]
- 7e773c0: remove incorrect dependency
- 3dab600: profile test coverage through v8/chromium
- Updated dependencies [3dab600]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- afee22a: run test coverage after user plugins
- Updated dependencies [afee22a]
- @web/[email protected]
- ca0168d: move dependencies to the correct project
- Updated dependencies [ca0168d]
- @web/[email protected]
- d1e9bec: emit test run finished after session update
- a9aec33: don't overwrite use coverage config
- Updated dependencies [d1e9bec]
- Updated dependencies [a9aec33]
- @web/[email protected]
- @web/[email protected]
- eaf714d: print pending files in blue
- Updated dependencies [eaf714d]
- @web/[email protected]
- 93dbfe5: remove minified test framework from stack trace
- Updated dependencies [93dbfe5]
- @web/[email protected]
- 00c3fa2: add syntax export default from
- Updated dependencies [00c3fa2]
- @web/[email protected]
- 307dd02: improve failure message
- Updated dependencies [307dd02]
- @web/[email protected]
- bfbc965: add missing dependency
- Updated dependencies [3523426]
- @web/[email protected]
-
c4cb321: Use web dev server in test runner. This contains multiple breaking changes:
- Browsers that don't support es modules are not supported for now. We will add this back later.
- Most es-dev-server config options are no longer available. The only options that are kept are
plugins
,middleware
,nodeResolve
andpreserveSymlinks
. - Test runner config changes:
- Dev server options are now available on the root level of the configuration file.
nodeResolve
is no longer enabled by default. You can enable it with the--node-resolve
flag ornodeResolve
option.middlewares
option is now calledmiddleware
.testFrameworkImport
is now calledtestFramework
.address
is now split intoprotocol
andhostname
.
- Updated dependencies [c4cb321]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 7acda96: browser cache files in non-watch mode
- Updated dependencies [7acda96]
- @web/[email protected]
- 7fbda3c: update mocha import
- f7c3e08: Create a separate config loader package
- Updated dependencies [f7c3e08]
- @web/[email protected]
- 2804b98: cache test runner libs
- Updated dependencies [2804b98]
- @web/[email protected]
- 2f4ea46: resolve stack trace paths relative to the root dir
- Updated dependencies [2f4ea46]
- @web/[email protected]
- 50d1036: reset request 404s on rerun
- Updated dependencies [50d1036]
- @web/[email protected]
- 14b7fae: handle errors in mocha hooks
- Updated dependencies [14b7fae]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 52803c0: add esbuild plugin
- Updated dependencies [52803c0]
- @web/[email protected]
- 4f54bd3: only remove server adress in stack trace
- Updated dependencies [4f54bd3]
- @web/[email protected]
- 589ac94: use custom toString when logging objects
- f2bf9ae: first setup of browserstack
- Updated dependencies [f2bf9ae]
- @web/[email protected]
- 54e2737: serialize logged complex objects
- f356e4c: re-render progress bar on rerun
- Updated dependencies [f356e4c]
- @web/[email protected]
- 56ed519: open browser windows sequentially in selenium
- Updated dependencies [56ed519]
- @web/[email protected]
- @web/[email protected]
- 1ed03f5: add mocha debug CSS from JS (for now)
- Updated dependencies [1ed03f5]
- @web/[email protected]
- fe3a850: don't override config defaults
- 9d64995: handle mocking fetch
- Updated dependencies [9d64995]
- @web/[email protected]
- ebfdfd2: add selenium browser launcher
- Updated dependencies [ebfdfd2]
- @web/[email protected]
- ea8d173: don't overide default root dir
- Updated dependencies [ea8d173]
- @web/[email protected]
- 3d3a375: update dependencies
- 45a2f21: add ability to run HTML tests
- Updated dependencies [45a2f21]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 01fac81: always use a random port
- Updated dependencies [01fac81]
- @web/[email protected]
- 1d277e9: rename framework to browser-lib
- Updated dependencies [1d277e9]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- ccb63df: @web/test-runner-dev-server to @web/test-runner-server
- Updated dependencies [ccb63df]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 8a568d7: ignore favicon 404s
- Updated dependencies [8a568d7]
- @web/[email protected]
- 0c83d7e: create separate coverage and coverageConfig options
- Updated dependencies [0c83d7e]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- b1ff44a: don't log coverage in focus mode
- Updated dependencies [b1ff44a]
- @web/[email protected]
- 7a7967f: handle non-object errors
- ed7b8db: add assets to published files
- Updated dependencies [ed7b8db]
- @web/[email protected]
- 61afea4: improve speed when test coverage is enabled
- Updated dependencies [61afea4]
- @web/[email protected]
- 3d35527: fix config loading on node 10 and 12
- Updated dependencies [3d35527]
- @web/[email protected]
- ccce5e1: add babel plugin
- Updated dependencies [ccce5e1]
- @web/[email protected]
- 115442b: add readme, package tags and description
- Updated dependencies [115442b]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 0e10aa4: Update dependencies
- f63ab90: allow configuring dev server from config
- Updated dependencies [f63ab90]
- @web/[email protected]
- a0b2c81: add puppeteer and playwright flags
- 998dda8: add root dir and symlink flags
- Updated dependencies [df85d7e]
- @web/[email protected]
- Updated dependencies [79f9e6b]
- @web/[email protected]
- 6df4c3a: use @web/test-runner-chrome by default
- Updated dependencies [97e85e6]
- Updated dependencies [37eb13a]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- @web/[email protected]
- 42b4182: first setup
- Updated dependencies [42b4182]
- @web/[email protected]