Open greenkeeper[bot] opened 4 years ago
After pinning to 1.4.0 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.
devDependency
testcafe was updated from 1.4.1
to 1.4.2
.Your tests are still failing with this version. Compare changes
stderr
(#3873)The new version differs by 18 commits.
3b0eadf
Add a changelog for v1.4.2 (#4213)
612226f
Bump version (v1.4.2) (#4212)
d757505
[docs] Enhance the installation topic (#4200)
3461207
[docs] Fix broken links (#4201)
a17f3e4
Update hammerhead (v14.9.0); Bump version (v1.4.2-rc.2) (#4202)
5199707
[docs] Enhance the typeText and pressKey action descriptions (#4167)
377f1be
[docs] Update the README banner (#4198)
ab6ab19
[docs] Fix wrong property name
9537351
[docs] Modify examples to use a static page model (#4184)
ada425d
Bump version (v1.4.2-rc.1) (#4181)
dd95012
Create new context for each test function execution (#4127)
6872399
Raise mouse events on scrolling (close #3564) (#3902)
f1d3ae3
Use the native Promise for the server side code (close #3164) (#4147)
ca831b1
fix " Wrong duplicated scripts calculation'' (close #4116) (#4118)
b9b5ef0
[docs] Move the Release Drafter config
There are 18 commits in total.
See the full diff
devDependency
testcafe was updated from 1.4.2
to 1.4.3
.Your tests are still failing with this version. Compare changes
The new version differs by 6 commits.
3b50ee7
Bump version (v1.4.3) (#4221) (#4229)
0b429f8
[docs] Add changelog for v1.4.3 (#4226)
c77dd9b
Bump version (v1.4.3-rc.1) (#4221) (#4224)
ecf805c
get rid of marketing messages (closes #4221) (#4223)
14463ca
[docs] More corrections
bd95d84
[docs] Dirk's corrections
See the full diff
devDependency
testcafe was updated from 1.4.3
to 1.5.0
.Your tests are still failing with this version. Compare changes
TestCafe may be unable to log in to the tested website correctly if the web server uses caching for authentication pages or pages to which users are redirected after login. See the User Roles topic for details.
If tests fail unexpectedly after authentication, disable page caching in TestCafe.
Use the fixture.disablePageCaching and test.disablePageCaching methods to disable caching during a particular fixture or test.
fixture
.disablePageCaching `My fixture`
.page `https://example.com`;
test
.disablePageCaching
('My test', async t => { /* ... */ });
To disable page caching during the entire test run, use either of the following options:
the --disable-page-caching command line flag
testcafe chrome my-tests --disable-page-caching
the disablePageCaching
option in the runner.run method
runner.run({ disablePageCaching: true });
the disablePageCaching configuration file property
{
"disablePageCaching": true
}
If tests run correctly without page caching, we recommend that you adjust the server settings to disable caching for authentication pages and pages to which the server redirects from them.
<svg>
element (#3684)reporter
configuration file option was not applied (#4234)tsconfig.json
file (#4154)LiveRunner.stop()
now closes the browsers (#4107)form.elements.length
now returns the correct value for forms with file inputs (testcafe-hammerhead/#2034)image
type (testcafe-hammerhead/#2116)TypeError
(testcafe-hammerhead/#2099)JSZip
to unpack uploaded files (testcafe-hammerhead/#2115)The new version differs by 25 commits.
613eda4
Bump version (v1.5.0) (#4268)
fd57ce4
[docs] Add a changelog for v1.5.0 (#4266)
782ed3a
[docs] Merge new docs for v1.5.0 (#4260)
9093f20
Bump version (v1.5.0-rc.2)
87aad18
Fix wrong options passing for 'disablePageCaching' and 'disablePageReloads' (#4264)
24ff573
Fix crash when using keyboard shortcuts in Live mode (#4258)
e8150ca
Bump version (v1.5.0-rc.1)
fc6c05b
Using debug action in server code step fixed (closes #4245) (#4246)
0fc0e92
svg do not break searching by text (closes #3684) (#4251)
424cf5d
update hammerhead (#4253)
2261912
[docs] Replace keyPress with pressKey
abadd4f
Fix 'Wrong message " The "<option_name>" option from the configuration file will be ignored. "' (close #4234) (#4242)
9bcf470
Browser is correctly closed after the LiveModeRunner.stop()
method called (closes #4107) (#4243)
7a84b98
Fix script injection examples (#4248)
2895b66
bump version (#4241)
There are 25 commits in total.
See the full diff
devDependency
testcafe was updated from 1.5.0
to 1.6.0
.Your tests are still failing with this version. Compare changes
This version provides compatibility with macOS 10.15. Update TestCafe to v1.6.0 if you run macOS Catalina.
TestCafe can now take screenshots that show the full page, including content that is not visible due to overflow.
Enable the fullPage
option in CLI, API or configuration file to capture the full page on all screenshots. You can also pass this option to t.takeScreenshot
to capture a single full-page screenshot.
Command line interface
Enable the fullPage parameter of the -s (--screenshots) flag:
testcafe chrome test.js -s fullPage=true
API
Pass the fullPage
option to runner.screenshots:
runner.screenshots({
fullPage: true
});
Configuration file
Set the screenshots.fullPage property:
{
"screenshots": {
"fullPage": true
}
}
Test code
Pass the fullPage
option to the t.takeScreenshot action:
t.takeScreenshot({
fullPage: true
});
The command line interface and configuration file schema have been updated to provide a more concise way to specify the screenshot options.
TestCafe v1.6.0 also supports the existing options to maintain backward compatibility. However, these options are now marked obsolete in the documentation. In the future updates, we will deprecate them and emit warnings.
Command line interface
Screenshot options in CLI are now consolidated under the -s (--screenshots) flag in an option=value
string:
testcafe chrome test.js -s takeOnFails=true,pathPattern=${DATE}_${TIME}/${FILE_INDEX}.png
Old Usage | New Usage |
---|---|
-s artifacts/screenshots |
-s path=artifacts/screenshots |
-S , --screenshots-on-fails |
-s takeOnFails=true |
-p ${DATE}_${TIME}/${FILE_INDEX}.png |
-s pathPattern=${DATE}_${TIME}/${FILE_INDEX}.png |
Configuration file
Configuration file properties that specify screenshot options are now combined in the screenshots object:
{
"screenshots": {
"path": "artifacts/screenshots",
"takeOnFails": true,
"pathPattern": "${DATE}_${TIME}/${FILE_INDEX}.png"
}
}
Old Property | New Property |
---|---|
screenshotPath |
screenshots.path |
takeScreenshotsOnFails |
screenshots.takeOnFails |
screenshotPathPattern |
screenshots.pathPattern |
TestCafe now saves the screenshots to ./screenshots
if the base directory is not specified.
The --screenshots CLI flag, the runner.screenshots method or the screenshotPath configuration option are not required to take screenshots. For instance, you can run TestCafe with no additional parameters and use the t.takeScreenshot action in test code:
testcafe chrome test.js
test.js
fixture `My fixture`
.page `https://example.com`;
test('Take a screenshot', async t => {
await t.takeScreenshot();
});
The path
argument in runner.screenshots is now optional.
runner.screenshots({
takeOnFails: true
});
We have added an option that allows you to disable taking screenshots. If this option is specified, TestCafe does not take screenshots when a test fails and when the t.takeScreenshot or t.takeElementScreenshot action is executed.
You can disable screenshots with a command line, API or configuration file option:
the --disable-screenshots command line flag
testcafe chrome my-tests --disable-screenshots
the disableScreenshots
option in the runner.run method
runner.run({ disableScreenshots: true });
the disableScreenshots configuration file property
{
"disableScreenshots": true
}
-b
command line flag (#4294)ts-node
(#4276)disablePageCaching
(PR #4274)The new version differs by 40 commits.
fd003cd
Fix the date in the changelog
a90a222
[docs] Changelog for v1.6.0 (#4373)
eb86fac
Bump version (v1.6.0) (#4382)
58a75d0
[docs] Update the release post date
7f7ae0d
Bump testcafe-browser-tools (v1.7.0); Bump version (v1.6.0-rc.1) (#4379)
070540f
Bump version (v1.6.0-alpha.1)
9e43acb
Add an announcement post for v1.6.0 (#4374)
2888e7d
Revert changelog for v1.6.0
149cca9
[WIP] [docs] Add a changelog for v1.6.0 (#4355)
c340928
[docs] Describe full page screenshots (#4354)
525aff4
Add a flag to disable taking screenshots (#4356)
b5898a6
clear test controller's command execution chain if command is rejected (#4368)
89b9ff3
[docs] Add TestLatte to README (#4365)
7b6ce21
fix debugLogger
server test (#4367)
9abf760
Debug logger is able to be overriden (#4344)
There are 40 commits in total.
See the full diff
devDependency
testcafe was updated from 1.6.0
to 1.6.1
.Your tests are still failing with this version. Compare changes
PATH
locations (PR #4377)runner.tsConfigPath
(PR #4403)The new version differs by 18 commits.
7259360
Add a changelog for v1.6.1 (#4429)
9db5a9f
Bump version (v1.6.1) (#4447)
54ffa94
Add subsections to the A-Z topic (#4446)
8af8194
Bump version (v1.6.1-alpha.3)
9a7fc89
ExecuteAsyncExpressionCommand can have an empty expression (#4433)
52d875f
Bump version (v1.6.1-alpha.2)
c380e91
Bump version (v1.6.1-alpha.1)
114fed8
Update hammerhead (v14.10.1) (#4401)
b9c73f0
Null debug logger should not be overrided (#4388)
ad43ce0
fix tests for node 13.0.0 version (#4420)
b01c181
Fix a conflict with Jest type definitions (closes #4405) (#4407)
cbedca6
Patch browser profiles (#4341)
53edfb7
Add tsConfigPath definition to Runner interface (#4403)
7e97a59
Rewrite browser provider with TypeScript (#4394)
079611f
Read FFmpeg path from stdout (#4377)
There are 18 commits in total.
See the full diff
devDependency
testcafe was updated from 1.6.1
to 1.7.0
.Your tests are still failing with this version. Compare changes
TestCafe now allows you to obtain information about the current user agent. These data identify the operating system, platform type, browser, engine, etc.
Use the t.browser property to access user agent data.
import { Selector } from 'testcafe';
fixture `My fixture`
.page `https://example.com`;
test('My test', async t => {
if (t.browser.name !== 'Chrome')
await t.expect(Selector('div').withText('Browser not supported').visible).ok();
});
The t.browser object exposes the following properties:
Property | Type | Description | Example |
---|---|---|---|
alias | String | The browser alias string specified when tests were launched. | firefox:headless |
name | String | The browser name. | Chrome |
version | String | The browser version. | 77.0.3865.120 |
platform | String | The platform type. | desktop |
headless | Boolean | true if the browser runs in headless mode. |
false |
os | Object | The name and version of the operating system. | { name: 'macOS', version: '10.15.1' } |
engine | Object | The name and version of the browser engine. | { name: 'Gecko', version: '20100101' } |
userAgent | String | The user agent string. | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/77.0.3865.120 Safari/537.36 |
prettyUserAgent | String | Formatted string with the browser's and operating system's name and version. | Chrome 77.0.3865.75 / macOS 10.14.0 |
The following example shows how to create a beforeEach hook that runs for specific browser engines.
import { Selector } from 'testcafe';
fixture `My fixture`
.page `https://example.com`
.beforeEach(async t => {
if (t.browser.engine.name === 'Blink')
return;
// ...
});
You can also use t.browser to generate the screenshot path based on the browser name. This prevents screenshots taken with t.takeElementScreenshot in different browsers from being overwritten.
import { Selector } from 'testcafe';
fixture `My fixture`
.page `https://example.com`;
test('My test', async t => {
const loginButton = Selector('div').withText('Login');
await t.takeElementScreenshot(loginButton, `auth/${t.browser.name}/login-button.png`);
});
For more information and examples, see Identify the Browser and Platform.
Selector.withAttribute
method's return type (#4448)The new version differs by 26 commits.
62cdbad
Bump version (v1.7.0) (#4511)
75e5db2
Update the changelog for v1.7.0 (#4508)
09875c3
Change release date in release notes
5598698
[docs] Add an announcement for v1.7.0 (#4500)
8298114
Gulpfile - Fix website build on macOS (#4501)
78ead96
[docs] Describe t.browser (#4460)
71b8353
Disable the prepare task
2884680
Disable the prepare task; Bump version (v1.7.0-rc.1)
8a81373
Bump hammerhead (v14.11.1); Bump version (v1.6.2-rc.1) (#4497)
83eafed
Use new browser tools and improve authentication mechanism (#4424)
3e07b9e
Provide the capability to access browser information from test code (closes #481) (#4349)
81b5c5b
create screenshot dir if plugin is used (closes #4477) (#4488)
5ba548f
Add recorder command type and treat is as a service one (#4458)
cec46de
Add a gh action link to readme (#4484)
62c2723
Update the roadmap (#4483)
There are 26 commits in total.
See the full diff
devDependency
testcafe was updated from 1.7.0
to 1.7.1
.Your tests are still failing with this version. Compare changes
RequestLogger
(#3738)t.typeText
now fires the beforeInput
event (#4486)t.hover
action can now be detected with the jQuery :hover
pseudoselector (#4493)Object.assign
now merges Symbol
properties on tested pages correctly (testcafe-hammerhead/#2189)The new version differs by 25 commits.
6b5080e
[docs] Add a changelog for v1.7.1 (#4583)
be1aa15
Bump version (v1.7.1) (#4589)
2878689
Bump version (v1.7.1-rc.1); Allow creating branches in the core repo (#4581)
7a770b6
[docs] Extending selectors - add a header
b9dd335
[docs] Add info about publishing reports on Azure (#4534)
31cfa8e
[docs] Updated roadmap (#4580)
6cdd8f8
[docs] Add custom method's returnDOMNodes description (#4538)
1f34cb7
[docs] Add an example and FAQ entry about dynamic IDs (closes #4007) (#4532)
919a744
Implement reporter OnTestRunActionDone/Start methods (closes #4507) (#4547)
6cc5fd7
Fire beforeInput
(closes #4486) (#4506)
89e3a1a
[docs] Update the No Response bot message (#4577)
81e8bc0
Command processing life cycle in multiple window mode (#4485)
d93e31c
[docs] Add new contributors to README.md (#4573)
cf6819d
Fixed a code example (#4572)
f003c15
[docs] Fixed code styling in examples for User Roles (#4570)
There are 25 commits in total.
See the full diff
devDependency
testcafe was updated from 1.7.1
to 1.8.0
.Your tests are still failing with this version. Compare changes
TestCafe v1.8.0 supports the new Microsoft Edge based on Chromium. The new Edge is available under the same alias: edge
.
testcafe edge test.js
await runner
.src('test.js')
.browsers('edge')
.run();
Supported Edge's features include headless mode, mobile device emulation, and video recording.
Proxy
(testcafe-hammerhead/#2206) by @link89document.open
function call (testcafe-hammerhead/#1881)The new version differs by 23 commits.
1b2f490
Bump version (v1.8.0) (#4654)
8ca8bbe
[docs] Add changelog for v1.8.0 (#4658)
2759b97
[docs] Fix case in v1.8.0 announcement
6d46a50
[docs] Add docs for v1.8.0 (#4649)
e7f8e21
Fix remote wizard; Bump version (v1.8.0-rc.3) (#4655)
596b206
Bump version (v1.8.0-rc.2)
53e0393
Status bar text update is fixed (#4651)
3102017
Support Edge 79; Bump version (v1.8.0-rc.1) (#4650)
8723f59
'window.close' tracking; Update hammerhead (v16.0.2) (#4625)
311c84e
Improve waiting for the last command result (#4598)
468e310
CreateTempProfile for Microsoft Edge Chromium Beta (#4633)
5ad4221
Fix a wrong example in 'Wait mechanisms' (#4637)
cebe371
[docs] Add the 'How it works' article (#4626)
d1d0055
Update the year in the license (#4627)
448a2ef
Update Bowser, add the "Electron" user agent case (#4609)
There are 23 commits in total.
See the full diff
devDependency
testcafe was updated from 1.8.0
to 1.8.1
.Your tests are still failing with this version. Compare changes
devDependency
testcafe was updated from 1.8.1
to 1.8.2
.Your tests are still failing with this version. Compare changes
t.resizeWindowToFitDevice
action (#3767)stdout
(#3765, #4675)timestamp
property in request and response data objects (#4718)beforeInput
event for contentEditable
elements (#4644)runner.video
method (PR#4636)EventTarget
class methods (testcafe-hammerhead/#1902)DOMContentLoaded
no longer hang (testcafe-hammerhead/#2198)The new version differs by 25 commits.
1359bb4
Fix the date in changelog
d367f76
Bump version (v1.8.2) (#4778)
6f40681
[docs] Add a changelog for v1.8.2 (#4762)
a1fe04d
[docs] Describe passing the reporter object through the API (#4757)
999c351
Fix the Project Team Email in Code of Conduct (#4777)
1b7d951
[docs] Add the Pull Request Template (#4759)
3d792fe
Add a link to the device list (#4766)
b5526a9
[docs] Modifying wording for selector examples (#4752)
df4d4f4
Bump Hammerhead (v16.1.2); Bump version (v1.8.2-rc.1) (#4755)
225bde1
Ad test.id, testRun.id and fixture.id info to action start/done methods (closes #4744) (#4749)
3b1c1e4
Should ensure AsyncEventEmitter from additional event subscriptions (closes #4725) (#4727)
ad40408
Fix EventTarget native methods calling (#4614)
ebbe800
[TS definitions] Add the 'timestamp' property (close #4718) (#4721)
6cd2645
[docs] Add info about async mock response functions (#4731)
bc8cd3b
[docs] Add links to the examples repo (#4729)
There are 25 commits in total.
See the full diff
devDependency
testcafe was updated from 1.8.2
to 1.8.3
.Your tests are still failing with this version. Compare changes
disablePageCaching
and disablePageReload
methods (PR #4751 by @jaypea)disabled
property is set to true
(testcafe-hammerhead/#2234)change
event in Chrome when an input's disabled
property is set to true
(testcafe-hammerhead/#2240)await
keywords with a parenthesis in client scripts correctly (testcafe-hammerhead/#2255)click
event action now crosses into the standard DOM from Web Component's shadow DOM (testcafe-hammerhead/#2272)The new version differs by 26 commits.
c44d6ee
Bump version (v1.8.3) (#4878)
c9c0808
[docs] Introduce the changelog for v1.8.3 (#4875)
aefa0cf
Bump version (v1.8.3-rc.2) (#4874)
5c19edb
Fix 'Login via Google' (close #4689) (#4796)
0197df6
Fix the Firefox 74 "resizeWindowToFitDevice" (portrait orientation) test. Bump version (v1.8.3-rc.1) (#4856)
3a540c1
Add new contributors (#4840)
a8c4681
Bump version (v1.8.3-alpha.3) (#4843)
abb6a96
Add capability to use 'allowMultipleWindows' option in headless browsers (close #4770) (#4801)
e358dc2
remove redundant info from testStructure (for #4807) (#4835)
3c739c6
Provide test run IDs to reportTestStart (closes #4808) (#4826)
8550b03
Provide all structure objects info in reportTaskStart (closes #4807) (#4827)
eb74524
Wait until reporter of last test in fixture is completed before new fixture starts (closes #4787) (#4813)
b71eaa4
fix IE11 contains
usage (closes #4709) (#4831)
d5b319b
[docs] Fix a typo in README
fb88474
Bump version (v1.8.3-alpha.2) (#4832)
There are 26 commits in total.
See the full diff
The devDependency testcafe was updated from
1.4.0
to1.4.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
testcafe is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
Status Details
- β **continuous-integration/travis-ci/push:** The Travis CI build could not complete due to an error ([Details](https://travis-ci.org/simonmcmanus/speclate/builds/572378843?utm_source=github_status&utm_medium=notification)).Release Notes for v1.4.1
v1.4.1 (2019-8-15)
Bug Fixes
label
elements correctly (#4068)test.clientScripts
no longer overridefixture.clientScripts
(#4122)Commits
The new version differs by 10 commits.
99ae461
[docs] Add a changelog for v1.4.1 (#4158)
f6bf80b
Bump version (v1.4.1) (#4162)
6d945ba
Fix info about TS config's unsupported settings (#4155)
620a04a
[docs] Add the Release Drafter app config file (#4156)
46cf1b0
Bump version (v1.4.1-rc.1) (closes #3948) (#4149)
cb184b0
fix 'Client scripts: test's client scripts rewrite fixture's client scripts' (close #4122) (#4123)
276190a
Remove del-cli from devDependencies
12c97ec
Fix native Docker detection on publishing
a148afc
fix module cache clearing in live mode for Node 12 (closes #4052) (#4090)
d09b71e
fix type in input wrapped in label (closes #4068) (#4086)
See the full diff
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donβt help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: