EPSIBordeaux / epsi-expert-system

MIT License
1 stars 0 forks source link

rebase! Update dependency cypress to v3.1.1 #40

Closed renovate[bot] closed 5 years ago

renovate[bot] commented 5 years ago

This PR contains the following updates:

Package Type Update Change References
cypress devDependencies minor 3.0.2 -> 3.1.1 source

Release Notes

cypress-io/cypress ### [`v3.1.1`](https://renovatebot.com/gh/cypress-io/cypress/releases/v3.1.1) [Compare Source](https://renovatebot.com/gh/cypress-io/cypress/compare/v3.1.0...v3.1.1) _Released 11/2/2018_ **Known regressions in this release ⚠️** - [#​2742](https://renovatebot.com/gh/cypress-io/cypress/issues/2742) infinite `.Trash-0` folder on Ubuntu 16 - [#​2724](https://renovatebot.com/gh/cypress-io/cypress/issues/2724) setting HTTPS cookies in certain situations **Features:** - You can now pass a `flag` option to [`cy.writeFile()`](https://on.cypress.io/writefile). The [following flags](https://nodejs.org/api/fs.html#fs_file_system_flags) are available. Fixes [#​1249](https://renovatebot.com/gh/cypress-io/cypress/issues/1249). - There is a new [`CYPRESS_DOWNLOAD_MIRROR`](https://on.cypress.io/installing-cypress#Mirroring) environment variable for installing Cypress at a mirror url. Fixes [#​2609](https://renovatebot.com/gh/cypress-io/cypress/pull/2609). - The [Module API](https://on.cypress.io/module-api) now returns the `runUrl` from `cypress.run()`. Fixes [#​2596](https://renovatebot.com/gh/cypress-io/cypress/issues/2596). - Specs now properly display as focused when navigating through specs via the keyboard. Fixes [#​2273](https://renovatebot.com/gh/cypress-io/cypress/pull/2273). **Bugfixes:** - Fixed a bug where Cypress would error when a secure cookie flag was set and then expired from an `https` url without the subsequent secure flag. Due to the way Cypress was constructing the url, this would fail to actually remove the cookie. Fixes [#​1264](https://renovatebot.com/gh/cypress-io/cypress/issues/1264), [#​1321](https://renovatebot.com/gh/cypress-io/cypress/issues/1321), [#​1799](https://renovatebot.com/gh/cypress-io/cypress/issues/1799). - We now truncate filenames for screenshots to not exceed 255 characters in length. Previously there were cases where the screenshot filename would exceed 255 characters and error. Fixes [#​2403](https://renovatebot.com/gh/cypress-io/cypress/issues/2403) and [#​2665](https://renovatebot.com/gh/cypress-io/cypress/issues/2665). - Fixed issue when using [`cy.writeFile()`](https://on.cypress.io/writefile) and passing an object to a `.json` file. The object is now correctly written to the JSON file instead of a string. Fixes [#​2373](https://renovatebot.com/gh/cypress-io/cypress/pull/2373). - We updated how we handle [`trashAssetsBeforeRuns`](https://on.cypress.io/configuration#Screenshots) behavior. We now trash the contents of the [`screenshotsFolder`](https://on.cypress.io/configuration#Folders-Files) and [`videosFolder`](https://on.cypress.io/configuration#Folders-Files) directories instead of trashing the directories themselves. This helps maintain any file access permissions for the directories. Fixes [#​1943](https://renovatebot.com/gh/cypress-io/cypress/issues/1943) and [#​2600](https://renovatebot.com/gh/cypress-io/cypress/issues/2600). - Fixed bug where mocked Dates using [`cy.clock()`](https://on.cypress.io/clock) would not be an instance of `Date`. Fixes [#​2570](https://renovatebot.com/gh/cypress-io/cypress/issues/2570). - Directories within specs whose names contain `.` are now correctly read as directories instead of spec files within the Test Runner. Fixes [#​2423](https://renovatebot.com/gh/cypress-io/cypress/issues/2423). - Cypress no longer automatically takes screenshots of skipped tests. Fixes [#​2368](https://renovatebot.com/gh/cypress-io/cypress/issues/2368). - Fixed an issue where returning/resolving `undefined` from a [`cy.task()`](https://on.cypress.io/task) handler resulted in an incorrect runtime error. Fixes [#​2553](https://renovatebot.com/gh/cypress-io/cypress/issues/2553). - Update [`modifyObstructiveCode`](https://on.cypress.io/configuration#modifyObstructiveCode) to account for framebusting techniques that use `window.frameElement`, so that Applications using this technique will run properly in Cypress. Fixes [#​2582](https://renovatebot.com/gh/cypress-io/cypress/issues/2582). - Fixed bug where only the first DOM element of an array of DOM elements would be blacked out after being passed as argument to `blackout` within [`cy.screenshot()`](https://on.cypress.io/screenshot). Fixes [#​2508](https://renovatebot.com/gh/cypress-io/cypress/issues/2508). - We fixed an issue involving timers after running [`cy.screenshot()`](https://on.cypress.io/screenshot). Fixes [#​2432](https://renovatebot.com/gh/cypress-io/cypress/issues/2432). - The Test Runner now retries node-originated errors from our internal API requests. Fixes [#​2341](https://renovatebot.com/gh/cypress-io/cypress/issues/2341) - Fixed issue with multiple `readyStateChanges` with the same `readyState`. Fixes [#​1150](https://renovatebot.com/gh/cypress-io/cypress/issues/1150). - Fixed Type error being thrown for users using TypeScript 3. Fixes [#​2363](https://renovatebot.com/gh/cypress-io/cypress/issues/2363). **Misc** - We are now collecting more environment variables from runs when run in Semaphore, GitLab, Bitbucket, Team Foundation Server, Codeship, and Shippable. Fixes [#​2460](https://renovatebot.com/gh/cypress-io/cypress/issues/2460), [#​2358](https://renovatebot.com/gh/cypress-io/cypress/issues/2358), [#​2343](https://renovatebot.com/gh/cypress-io/cypress/issues/2343), and [#​2453](https://renovatebot.com/gh/cypress-io/cypress/issues/2453). - We now display better error messages in the CLI when runs exceed billing limits. Fixes [#​1689](https://renovatebot.com/gh/cypress-io/cypress/issues/1689). - The Test Runner's search now resets when switching between projects. Fixes [#​2512](https://renovatebot.com/gh/cypress-io/cypress/issues/2512). - Fixed internal Cypress tests. Fixes [#​2606](https://renovatebot.com/gh/cypress-io/cypress/issues/2606). - Replaced use of `new Buffer` with `Buffer.from`. Fixes [#​2626](https://renovatebot.com/gh/cypress-io/cypress/issues/2626). - Whitelisted `autoScrollingEnabled` to be saved in `state.json`. Fixes [#​2476](https://renovatebot.com/gh/cypress-io/cypress/issues/2476). - Fixed internal test error `beforeSpecRun is not a function`. Fixes [#​2401](https://renovatebot.com/gh/cypress-io/cypress/issues/2401). - Switched our internal tests to use CircleCI workspaces. Fixes [#​2398](https://renovatebot.com/gh/cypress-io/cypress/issues/2398). - Update TypeScript definition for [`cy.screenshot()`](https://on.cypress.io/screenshot) to include screenshot specific options. Fixes [#​2654](https://renovatebot.com/gh/cypress-io/cypress/issues/2654). - Urls printed within the CLI will now display as the color blue. Fixes [#​2493](https://renovatebot.com/gh/cypress-io/cypress/issues/2493). - We began bulk converting some of our codebase from CoffeeScript to JavaScript. Fixes [#​2686](https://renovatebot.com/gh/cypress-io/cypress/issues/2686) and [#​2687](https://renovatebot.com/gh/cypress-io/cypress/issues/2687). - We updated some of our internal ESLint rules to be more strict and also to help with CoffeeScript to JavaScript conversions. Fixes [#​2688](https://renovatebot.com/gh/cypress-io/cypress/issues/2688). **Dependency Updates** - Upgraded common-tags from `^1.4.0` to `^1.8.0` [#​2415](https://renovatebot.com/gh/cypress-io/cypress/pull/2415) - Upgraded [@​cypress/browserify-preprocessor](https://renovatebot.com/gh/cypress/browserify-preprocessor) from `1.1.0` to `1.1.1` [#​2513](https://renovatebot.com/gh/cypress-io/cypress/issues/2513) - Upgraded lolex from `^1.5.2` to `^3.0.0` [#​2570](https://renovatebot.com/gh/cypress-io/cypress/issues/2570) - Upgraded [@​types/jquery](https://renovatebot.com/gh/types/jquery) from `3.2.16` to `3.3.6` [#​2363](https://renovatebot.com/gh/cypress-io/cypress/issues/2363) - Upgraded zunder from `5.6.5` to `6.1.1` [#​2541](https://renovatebot.com/gh/cypress-io/cypress/issues/2541) **Documentation Changes:** - Added `flag` option to [`cy.writeFile()` doc](https://on.cypress.io/writefile). - Added `runUrl` to returned run in [Module API doc](https://on.cypress.io/module-api). - Documented new `CYPRESS_DOWNLOAD_MIRROR` flag and rewrote advanced install instructions to be clearer in [Installing Cypress doc](https://on.cypress.io/installing-cypress#Advanced). ### [`v3.1.0`](https://renovatebot.com/gh/cypress-io/cypress/releases/v3.1.0) [Compare Source](https://renovatebot.com/gh/cypress-io/cypress/compare/v3.0.3...v3.1.0) _Released 8/13/2018_ **Summary:** - Cypress can now run tests in parallel across multiple virtual machines, or can be parallelized on a single machine. Cypress will automatically figure out, detect, and load balance all of your specs in the fastest and most efficient way possible. There is no configuration other than passing a `--parallel` flag and spinning up multiple machines on your CI provider. From our experiments you can expect to see approximately 40% reduction in overall run time **per machine** you add. However, attempting to run in parallel on a single machine requires server grade hardware with dozens (or even hundreds) of CPU's and GB of RAM to run efficiently. A much better and simpler approach is to use a cluster of docker containers that are all isolated from each other. Any standard CI service (CircleCI, TravisCI, etc) comes with the ability to do this. We automatically tap into their environment variables to make parallelization possible without you having to configure anything. - Beyond parallelization, you now have the ability to group multiple runs with each other so that they show up together (grouped) in the Dashboard. This enables you to test different applications, groups of specs, or different environments (like development, staging, production) and see all of the results together. We know how important cross browser testing is to everyone, so we built this to lead directly into aggregating the results of multiple browsers into a single run. - The Dashboard Service has been updated to show you more visual information about what happened during a run. You can see how specs were parallelized and you can calculate the effect of adding or removing machines to help reduce the overall run time. **Features:** - `cypress run` accepts a new [`--parallel`](https://on.cypress.io/command-line#cypress-run-parallel) flag to run specs in parallel. Fixes [#​1690](https://renovatebot.com/gh/cypress-io/cypress/issues/1690) and [#​64](https://renovatebot.com/gh/cypress-io/cypress/issues/64) and [#​2297](https://renovatebot.com/gh/cypress-io/cypress/issues/2297). - `cypress run` accepts a new [`--group`](https://on.cypress.io/command-line#cypress-run-group-lt-name-gt) flag to group multiple spec files within a single run. Fixes [#​2169](https://renovatebot.com/gh/cypress-io/cypress/issues/2169) - `cypress run` accepts a new [--ci-build-id](https://on.cypress.io/command-line#cypress-run-ci-build-id-lt-id-gt) flag. Fixes [#​2153](https://renovatebot.com/gh/cypress-io/cypress/issues/2153). **Bugfixes:** - We've finally tracked down the source of specs "hanging" and failing to start when running Electron. We finally tracked it down to a bug in Electron itself with setting `menu` when using offscreen rendering. Fixes [#​2322](https://renovatebot.com/gh/cypress-io/cypress/issues/2322) and [#​2294](https://renovatebot.com/gh/cypress-io/cypress/issues/2294). - Clicking on svg elements is now working. 3.0.2 introduced a bug that would throw an 'illegal invocation' error. Fixes [#​2245](https://renovatebot.com/gh/cypress-io/cypress/issues/2245) and [#​2252](https://renovatebot.com/gh/cypress-io/cypress/issues/2252) and [#​2258](https://renovatebot.com/gh/cypress-io/cypress/issues/2258) and [#​2277](https://renovatebot.com/gh/cypress-io/cypress/issues/2277) and [#​2288](https://renovatebot.com/gh/cypress-io/cypress/issues/2288). - Fixed a regression in `3.0.2` that caused typing `{enter}` not to submit a form when there were `

Renovate configuration

:date: Schedule: At any time (no schedule defined).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.


This PR has been generated by Renovate Bot. View repository job log here.