Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.3.1
->3.3.2
By merging this PR, the issue #18 will be automatically resolved and closed:
Release Notes
cypress-io/cypress
v3.3.2
: 3.3.2Compare Source
Released 6/27/2019
Performance Improvements:
3.3.0
or above. Fixes #4411 and #4313.cypress open
. Fixes #2366. Thanks @"CoryDanielson"!numTestsKeptInMemory
was set to 0. We now no longer record the snapshots at all whennumTestsKeptInMemory
is set to 0. This should slightly improve the performance of running tests with this setting. Fixes #4104 and #4164.Bugfixes:
cypress run
. This will fix some runs that were crashing with anENOSPC
error. Fixes #4283.blur
andfocus
events in situations where the browser has lost focus. Fixes #4039, #1176, and #1486..type()
is already in focus, Cypress no longer attempts to click on the DOM element. This allows you to call.focus()
on elements that are focusable, but not necessarily clickable and type into them using.type()
. Fixes #3001 and #4420.overflow: hidden
that flow outside of its parent are now properly considered hidden. #4161position: absolute
which is itself inside of a parent element withoverflow: hidden
are now properly considered visible. Fixes #4395 and #755.<option>
and<optgroup>
elements are now properly considered visible if it is contained within a visible<select>
. Fixes #4473.<body>
and<html>
elements are now properly always considered visible. Fixes #4475.<td>
and<tr>
elements with CSSvisibility: collapse
are now properly considered hidden. Fixes #4476..type('{enter}')
on a form containing a button of typereset
. Fixes #3909.content-type
isnull
,undefined
or cannot be determined during cy.visit(), we now look at the content of the site and evaluate whether it looks like HTML. If it does look like HTML we no longer error and continue as if it the site'scontent-type
istext/html
. #1727 #773 #3101.auth
header to any URLs that match the CORS origin of the originalauth
header. We now correctly only send theauth
headers when there is an exact match on the protection space. Fixes #4267.cy.visit()
orcy.request()
are now automatically retried onENOTFOUND
errors. Fixes #4424 and #1755.body
paramater passed tocy.request()
contains a circular reference. Fixed in #4407.ignoreTestFiles
configuration was being filtered out when passed via a command line flag, so in effect being ignored. Fixes #1696.NO_PROXY
is now respected for HTTPS urls, as it should be. Fixes #4303.cy.window().screenshot()
,cy.window().scrollTo()
orcy.window().trigger()
in an application with multiple iframes. Fixes #4396.cypress open
. This was caused by incorrectly routing requests for Cypress's internal server onlocalhost
through the user's proxy. Fixes #4410.RangeError: Maximum call stack size exceeded
. Fixes #1958 and #4346.window.performance.getEntriesByType
would returnundefined
instead of an array within application code when usingcy.clock()
. Fixes #3625.ignoreTestFiles
no longer causes an error to throw. Fixes #4312.cy.writeFile()
no longer errors in TypeScript files when passing anoptions
object as its third argument. Fixes #4461.cy.stub()
no longer errors in TypeScript files when evaluating returns. Fixes #4302.Misc:
cypress run
to warn when a project is nearing its organization's usage limit. They also clearly explain any consequences of going over a plan's usage limit. Addresses #4530.https://api.cypress.io
by settingCYPRESS_CRASH_REPORTS=0
in your system environment variables. #4386Cypress.env()
and the debug logs. Addresses #4501.projectId
in now displayed in the configuration in the Test Runner settings like all other configuration values. Fixes #4500.Documentation Changes:
Dependency Updates
electron-positioner
since it was no longer being used. Addressed in #4502.chokidar
from1.7.0
to3.0.1
. Addressed in #4487.cookie
from0.3.1
to0.4.0
. Addressed in #4329.dependency-tree
from6.5.0
to7.0.2
. Addressed in #4364.fs-extra
from0.30.0
to8.0.1
. Upgraded in CLI package only to5.0.0
. Addressed in #4418, #4419, #4422, #4437, #4555, #4559, #4571, #4581.mocha-junit-reporter
from1.18.0
to1.23.0
. Addressed in #4417.pluralize
from7.0.0
to8.0.0
. Addressed in #4438.shell-env
from0.3.0
to3.0.0
. Addressed in #4466, #4467, and #4471.winston
from0.9.0
to2.4.4
. Addressed in #4538.