protractor-flake | Rerun potentially flakey protractor tests | Functional Testing library
kandi X-RAY | protractor-flake Summary
kandi X-RAY | protractor-flake Summary
Protractor Flake [Join the chat at ===. Rerun potentially flakey protractor tests before failing.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of protractor-flake
protractor-flake Key Features
protractor-flake Examples and Code Snippets
Community Discussions
Trending Discussions on protractor-flake
QUESTION
So I have the following scenario.
We have a Protractor-Cucumber framework based on this framework.
The framework has been modified in a way that the config files are written in TS. This is an example config:
...ANSWER
Answered 2018-Jul-19 at 12:18I struggled with similar problems when embedding protractor-flake
.
1) Check if your current debug.conf.js
works. Achieve this by copying debug.conf.js
into some folder on your computer and running protractor-flake
with an absolute path to your debug.conf.js
in args.
2) If step 1 worked, you have to migrate your debug.conf.js
into typescript
, by simply putting .ts
at the end and changing the content to:
QUESTION
On our web application we are using protractor to test real user experiences and while it accurately tests the user flow they can be quite flaky for a multitude of reasons that could be out of our control. As a result it is hard to rely on the test results because the failures could be noise.
Is there a way to run just the flaky tests? I've tried to use the protractor-flakes but it doesn't seem to work when running in parallel.
...ANSWER
Answered 2017-Feb-16 at 00:13Yes, there are ways to re-run flakey tests, but you will need to use a library/plugin outside of Protractor. It doesn't look like this functionality will be available in Protractor any time soon.
I use an node module called protractor-errors. This plugin will record when a test fails and allow you to re-run only failed tests. It supports running sharded tests in parallel. The catch is that it currently only supports tests written in Jasmine.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install protractor-flake
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page