- ✨
71f4376
Update puppeteer to 10.0.0 (#228) (Albert Wang)
Released by Frederik Ring on 2021-06-22.
- 🛡
20f8748
Update transientws
dependency through npm audit (Frederik Ring) - 🛡
255aaea
Update watchify package to v4.0.0 (#226) (Albert Wang) - 🛡
9a9e1ac
Clean up package-lock.json (#227) (Albert Wang) - ✨
3179da8
Migrate CI to GitHub actions (Frederik Ring)
Released by Frederik Ring on 2021-06-20.
- 💥
119d6f0
Update mocaccino, mocha and puppeteer (Frederik Ring) - 💥
9655108
Drop node 10 support (Frederik Ring) - 📚
4147ccc
Document compatibility for v8.x - 🐛
9a706fe
Swallow deprecation notices about window.webkitStorageInfo (Frederik Ring)
Released by Maximilian Antoni on 2021-05-25.
- 🐛
eb70de7
Remove dependency on removed nyc feature (Albert Wang) - 🛡
59e4350
Npm update (Albert Wang) - 📚
1bc13ff
Update readme (Albert Wang) - ✨
b039a55
Test with node 16 (Albert Wang)
Released by Maximilian Antoni on 2021-05-23.
- 🍏
1248c7f
Upgrade puppeteer to v8 - 🐛
b23b3bd
WorkaroundPUPPETEER_EXECUTABLE_PATH
not being respected - 📚
2806265
Document workaround for Apple Silicon - 🛡
cccf180
Bump elliptic from 6.5.3 to 6.5.4 (dependabot[bot]) - ✨
63f4dc5
Update Studio Changes
Released by Maximilian Antoni on 2021-04-20.
- 💥
4eb8c25
Use Node LTS versions (Morgan Roderick) - 🍏
c2f2ffd
Upgrade puppeteer to v5.3.1 (chrome-86) - 🍏
eaec923
Update browserify - 🍏
1f1dcac
Update min-wd - 🛡
6f54831
npm audit - ✨
298f173
Update coverify - ✨
9a004f9
Upgrade Studio Changes - ✨
e026ff3
Upgrade ESLint to latest (Morgan Roderick) - 📚
82dc5c6
Add compatibility notes for v7 - 📚
62a3145
State thatnyc@15
is not yet supported
Released by Maximilian Antoni on 2020-11-10.
Released by Maximilian Antoni on 2019-10-09.
- 🍏
79ea89d
Introduce--no-request-interception
(#207)This works around a puppeteer issue when running scripts within a web
worker. See puppeteer/puppeteer#4208.
- 🐛
5c7325c
Bump eslint-utils from 1.3.1 to 1.4.2 (dependabot[bot])Bumps eslint-utils from 1.3.1 to 1.4.2.
Signed-off-by: dependabot[bot] [email protected]
Released by Maximilian Antoni on 2019-10-05.
- 🐛
28de861
Fix SSL certificate warning filter
Released by Maximilian Antoni on 2019-08-09.
- 🍏
ff7decb
Prevent resources from logging errors- Swallow SSL certificate warning on https page load
- Handle image, font and stylesheet requests to prevent warnings
- 🍏
3f96b8c
Upgrade puppeteer to v1.19.0 - 🐛
e663ea8
Make chromium tests less flaky- Use a random port in https-server tests.
- Wait for
server.close
to finish.
- 🛡
abebbf3
npm audit - 🛡
34a3392
Bump lodash from 4.17.11 to 4.17.14 (#204) (dependabot[bot])Bumps lodash from 4.17.11 to 4.17.14.
Signed-off-by: dependabot[bot] [email protected]
Released by Maximilian Antoni on 2019-08-09.
- 🍏
74b2ab7
[feat] Bring back--web-security
flag (#203) (Jonathan Keslin) - 🍏
a314590
Add node 12 to Travis config - 🐛
14ff389
Always pass--disable-dev-shm-usage
to chromiumThis is suggested in on the chromium troubleshooting page when running in docker (like most CI systems). See https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#tips
- 🐛
01bdea8
Address Chromium test case fragility - 🐛
3ec7b00
Fix test on node 12 - 🐛
1767f1f
Bump js-yaml from 3.12.1 to 3.13.1 (#202) (dependabot[bot])Bumps js-yaml from 3.12.1 to 3.13.1.
Released by Maximilian Antoni on 2019-06-10.
Released by Maximilian Antoni on 2019-03-27.
Released by Maximilian Antoni on 2019-03-13.
Introduce the --mocha-path
option to specify a custom Mocha module.
a8685b4
Add support for custom mocha path (#195) (Christopher Hiller)d8a0a9c
Fix linter issues3a49f42
Update eslint to address security issues7551a07
Merge test cases for sync and async failure, test for early exit on evaluation error (Frederik Ring)ccc4138
Improve test case for async failure (Frederik Ring)
Released by Maximilian Antoni on 2019-03-02.
b15cf0f
Do not exit on puppeteer pageerror event (Frederik Ring)
Released on 2018-11-24.
28633c4
Handle promise rejection when calling browser.newPage() (Frederik Ring)cd89125
Add note about required flags in CircleCI (Frederik Ring)Starting with v6, mochify will require the --allow-chrome-as-root flag to passed on CircleCI just like on Travis
Released on 2018-11-21.
78dcbe9
Add link to nyc3512b7f
Serve files with content-type headersThis adds
mime
as a dependency to lookup the content-type based on the file extension. This package was chosen because it's already used by Puppeteer, hence it's not adding any weight.
Released by Maximilian Antoni on 2018-11-19.
d667e7c
Upgrade Mocaccino to v4Mocaccino used to load Mocha 4 still, causing two Mocha versions to be installed.
Released by Maximilian Antoni on 2018-11-19.
Highlights: Mocha 5, Browserify 16, Puppeteer 1.10 and Istanbul nyc
code
coverage support.
999c56e
Add compatibility notes for v60211b75
Removemochify-istanbul
documentationWith support for nyc and the
mochify-istanbul
project being unmaintained, we shouldn't send people down that road any longer.3b0c553
Istanbul nyc support8f2dfff
Update @studio/changes for--commits
and--footer
supportddf1297
Update Puppeteer to v1.1050f1aa6
Update Mocha to v5.21bf51a2
Upgrade browserify and watchify (Morgan Roderick)This means that cached-path-relative will be upgraded to 1.0.2, which fixes a security warning:
f32782a
Display build status from master in README (Frederik Ring)e18817a
Do not call methods on browserify object asynchronously to ensure predictable order (Frederik Ring)3973602
Consolidate validation of options in one place (Frederik Ring)
Released by Maximilian Antoni on 2018-11-19.
- Ensure browserify plugins are always mounted in the same order - fixes #177 (Frederik Ring)
- Use
puppeteer
v1.6 andsource-mapper
v2.1 to ensure correct stack traces
- Add examples for custom Selenium capabilities and BrowserStack (Steffen André Langnes)
- Update min-wd to 2.11.0 (Steffen André Langnes)
-
Print non-log console messages to stderr
Puppeteer >= 1.4.0 introduced changes that alter which messages trigger
console
events. Non-log messages are now written to stderr. Bump puppeteer to ^1.4.0. Add Node 10 to .travis.yml. -
Dependency hygiene (npm audit) (Morgan Roderick)
-
Add Travis configuration example
-
Move Selenium WebDriver instructions up
-
Document async polling arg in readme and help text (Frederik Ring)
-
Make chromium wrapper more resilient
- Handle thrown errors in global execution
- Cleanup resources in race conditions
- Avoid cyclic page load execution
- Do not log parser errors twice
- Do not close server in watch mode
- Support iOS Simulator via Appium
- Apply server url also when using
--wd
- Add
--async-polling
option
-
Align help.txt file with README (Frederik Ring)
-
Enable passing of url without additionally specifying port (Frederik Ring)
when --url is given, the port to be used by the local https server can be derived in case the --https-server arg is empty
-
improve port handling for https server (Frederik Ring)
When no port is given for the --https-server arg, pick a random free one. When a port is specified but already in use, fail with a meaningful error message.
- Properly cast viewport parameters to integer values (fixes #166) (Frederik Ring)
- Add support for the
--global-transform
Browserify option
- Upgrade to Puppeteer 1 and Browserify 15
This release allows Mochify to be used in CircleCI!
-
Add
--allow-chrome-as-root
option to allow chrome to run as root (Phred)
This release REPLACES PhantomJS with Headless Chrome!
Not all features could be preserved, unfortunately (see known issues below). The improved compatibility, performance and debugging features make this a great step forward, but consider this release to be potentially immature as the underlying Puppeteer implementation is under heavy development. Carefully test whether upgrading is acceptable for your project.
- Runs Headless Chrome by default
- Puppeteer requires Node 6, so support for Node 4 had to be dropped.
- PhantomJS was removed entirely and with it the
--port
and--phantomjs
options. - Downloads a recent chromium version during installation. See the install
instructions in the
README.md
if this is causing trouble.
--url
to run tests in the context of a web page can now also be used with Headless Chrome. This was previously limited to WebDriver. Can be afile:
URL.--https-server
launches a simple HTTPS server with a self-signed certificate and tests are run in the context of an empty page. Additional files that are requested are looked up from the current directory. This can be used to run tests in a Worker. This can be combined with--url
to load a specific HTML page through the HTTPS server.--debug
runs the tests in a full chrome instance with developer tools. Use thedebugger
statement to set a breakpoint.--chrome
allows to specify a Chrome executable to run instead of the built-in chromium.--no-commondir
is now forwarded to Browserify
- Page navigation is not prevented with Headless Chrome. Whether this is an issue depends on the way your test cases trigger page navigation.
- Stack traces are missing in asynchronous test cases.
-
Update Mocaccino 3 and Mocha 4 (Carl-Erik Kopseng)
Gets rid of a Growl dependency that had a vulnerability
-
Add support for
--outfile
This allows to send test results to a specified file for node and browser tests, e.g.
mochify -R xunit --outfile xunit.xml
-
Remove "default" from dot reporter and add nyan
-
Add
package-lock.json
-
Document viewport options in help.txt (Frederik Ring)
Adds the viewport options to the CLI help output
-
Add option to pass viewport sizing to PhantomJS (PR #152) (Frederik Ring)
Allows to configure the viewport width and height with the new options
--viewport-width
and--viewport-height
.
- fix behavior of
--require
flag (Wes)
- Implement
--external
option (Koki Takahashi)
- Use Mocha 3.2
- Use Mocaccino 2
- Use Browserify 14.1
- Drop support for Node 0.10, 0.12, 5.0 and io.js and add 6.0
- Change default reporter to spec
- Add new node and remove old node from travis config
- Use
@studio/changes
instead of make
- Support passing
reporterOptions
to mocha reporter via API (Tomer Lahav). PR #144, fixes issue #143.
- Always set
process.exitCode = 1
on bundle errors. Fixes issue #109. - Loosen stack trace detection regexp to not require a leading "at".
- Bump
glob
to^7.0
. - Add test coverage for
--bundle
and--consolify
args (Jonny Reeves) - Fix tests for new tap version that was pulled (Jarrett Cruger)
- Implement
--browser-field
option (Koki Takahashi)
- Pass 'paths' option to Browserify. (Juha Hytönen)
- Add
--wd-file
command line arg (Moshe Kolodny)
- Browserify 13.0
To align with Browserify 13, all dependencies have been updated to versions
that use through2@2
to use streams 3.
- Handle bundle errors in
--watch
mode. Fixed issue #123.
- Allow to combine a path with
--recursive
. Fixes issue #120.
- Fix trace filter to also work with relative paths
- Bump Mocha to
^2.3
and Mocaccino to^1.6
to enable custom reporters
- Only write to input if input stream is defined (Scott Corgan)
- Only include minor changes rather than major for mocaccino (Chris Wheatley)
- Move from
jslint
toeslint
- Browserify 11.0
The current watchify dependency already used Browserify 11, causing Browserify to be installed twice.
- Add postinstall script to use global phantomjs by default (Christopher Hiller)
- Pass
colors
through to mocaccino (Christopher Hiller)
- Add ignore SSL errors option
--ignore-ssl-errors
(Adrian Chang)
- Do not override the min-wd timeout anymore
- Major dependency upgrades:
- browserify
^10.2
- watchify
^3.2
- through2
^1.1
- glob
^5.0
- browserify
- API: Pass
glob
options to glob (James Newell) - Added reporters to usage (Paul)
- Revert to piping the readonly stream to output instead of
b.pipeline
- Use the new consolify browserify plugin
- Add
--bundle
to export JS as a separate file when using consolify
- Pipe internal pipeline to output instead of wrapped browserify output (Fixes #80)
- Remove obsolete error handling callback
- Work around browserify
9.0.5
issue by setting the dependency to9.0.4
- Add options
--colors
and--no-colors
to explicitly set Mocha colors
- Fix consolify when used with
--watch
- Add
--recursive
flag to include tests in subdirectories (Dylan Fogarty-MacDonald)
- Use Browserify 9
- Run tests on node 0.10 and 0.12
- Use Browserify 8
- Use Browserify 7
- Add
--web-security
option to toggle PhantomJS web security (Jacob Waller)
- Run coverify transform after command-line transforms (Max Goodman)
- Add mochify-istanbul example (Fernando Lores)
- Add
--extension
support to require non-JS files (Ryohei Ikegami)
- Breaking API change: Return browserify bundle (Fernando Lores) mantoni#52
- Upgrade Mocha to
^2.0
- Upgrade Browserify to
^6.3
- Upgrade Watchify to
^2.1
- Add
--require
and-r
support
- Add
--url
option to run tests in the context of the given URL - Adjust window width when running tests with WebDriver
- Add API
- Add mocha grep
--invert
flag (Daniel Davidson)
- Fix
--cover
for Windows (#34) - Improve phantomjs install instructions
- Add support for mocha
--grep
option (Daniel Davidson)
- Add
--plugin
support
- Add
--transform
support - Fix unknown argument handling
- Register mocha as a dependency (Barney)
- Add "landing" to list of supported reporters
- Log "# node:" and "# phantom:" titles before running tests
- Fix test case to not fail due to varying timings
- Enable colors in coverify if stderr is a tty
- Fix resolving the browser part of consolify
- Consolify support
- Increase
--watch
performance by preloading phantomjs - Do not quit
--watch
on syntax errors
- Fix coverage in phantomjs
- Bump phantomic, source-mapper, resolve and glob
- Fix trace handling on Windows
- Use through2 instead of through
- Avoid concurrent executions when using
--watch
- Refactor all launchers to be plugins
- Fix relative paths in stack frames
- Filter mocaccino stack trace frames
- Require Browserify 5
- Use 1.0.0 releases of mocaccino, min-wd and brout
- Improve stack trace detection to not match arbitrary URLs
- Fix --help
- Allow --debug flag (Jerome Gravel-Niquet)
- Use new source-mapper module to fix --node stacks
- Upgraded phantomic to
~0.9.0
- Upgraded mocaccino to
~0.8.0
(JP Richardson) - Added
-t
and--timeout
arguments to be passed to mocaccino (JP Richardson) - Added
-U
and--ui
arguments to be passed to mocaccino - Ugraded phantomic to
~0.8.0
- Added
--phantomjs
argument to use a specific PhantomJS binary
- Make coverify work with the dot reporter
- Add brout dependency to make sure it's only loaded once
- Fix min-webdriver require for windows (take IV)
- Show meaningful error and exit if no files are found
- Use
-w
as an alias for--watch
(Andrey Popp)
- Support Browserify 4
- Fix min-webdriver require for windows (take III)
- Fix min-webdriver require for windows (take II)
- Fix min-webdriver path for windows
- Stream partial lines of output that don't look like a stack
- Change default reporter to 'dot' to align with the Mocha default
- Use phantomic with 'brout' option
- Bump dependencies
- Add
--yields
/-y
option to specify a yield interval to allow pending I/O to happen.
- Fix an issue with the way
min-wd
was loaded
- SauceLabs support
- WebKit debugger support (
--debug
) - Auto-select free port for temporary webserver by default (override with
--port
)
- Only replace paths in lines that look like stacktraces
- Fixes an issue when using the xunit reporter
- Filtered stack traces with relative source paths (Andrey Popp)
- Add -h/--help and -v/--version (Andrey Popp)
- Up mocaccino and phantomic
- Code coverage support using coverify (
--cover
) - Allow to run tests on node, like
browserify --bare script.js | node
with--node
. Can be combined with--cover
.
- Up phantomic
- Up phantomic - fixes stack traces using the embedded source maps
- Windows support
- Waiting for a previous phantomic process to die before launching a new one
- Using Mocaccino 0.3.0 which is now a Browserify plugin
- Upgraded Browserify to 3.30.1
- Resolving min-webdriver with resolve so that is can be a normal dependency
- Exit with code 1 if phantom tests fail with "tap" reporter
- Resolve Mocha properly
- Enabled source maps
- Fixed
-R
as a short form for--reporter
- Changed default reporter to "dot" if not using
--watch
- More documentation
- First release on npm