alexandermoskovkin / qunit-harness Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
If you set the attempts
parameter QUnit will restart the test if it's failed
Sometimes wd raises an error when we try to eval some js-script in the browser:
https://github.com/AlexanderMoskovkin/qunit-harness/blob/master/src/saucelabs/job.js#L60
We can't get access to window.global_test_results
in Firefox 47 while getting test results. Problem remains, if we try to replace window
with document
.
DevExpress/testcafe-hammerhead#639 (comment)
We need an ability for setting options like 'platformName', 'platformVersion' etc.
We have a tests what load content from remote sources.
Because of this any tests sometimes are failed.
To fix it we need to rerun fixture that contains failed tests.
Also we need a way to mark fixture which we will rerun.
This leads to the problem with the Travis-ci service integration. If Travis don't get any messages in console for 10 minutes task failed as suspended.
Tasks can get stuck on 'queued' state, while free machines are available at that moment. This can continue untill the TravisCI will close a job on timeout
Example: https://travis-ci.org/testcafe-build-bot/testcafe/jobs/128272495#L1233
Sometimes wd doesn't open the required page in the browser when we call the command
It needs for the following scenario:
asyncTest('valid resource type for iframe.contentWindow.location must be calculated', function () {
var iframe = document.createElement('iframe');
iframe.id = 'testT260697';
var loadHandler = function () {
iframe.removeEventListener('load', loadHandler);
iframe.addEventListener('load', function () {
strictEqual(urlUtils.parseProxyUrl(iframe.contentWindow.location).resourceType, 'iframe');
iframe.parentNode.removeChild(iframe);
start();
});
eval(processScript('iframe.contentWindow.location = "/test.html";'));
};
iframe.addEventListener('load', loadHandler);
document.body.appendChild(iframe);
});
Reproduced here: https://travis-ci.org/testcafe-build-bot/testcafe/jobs/104082797
Saucelabs often can't open a required virtual machine from the first attempt (especially iOS and Android emulators). As a result test runs take a long time.
We've found the wd
module contains internal stuff to improve this. For example it restarts mobile simulators without the virtual machine restarting. We've not found the way to implement this via saucelabs rest API so we've decided to use the wd
module.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.