We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi guys! I've seen some issues like that but not for cucumber. It's an strange behaviour. First of all, my data:
exports.config = { params: { env: 'TEST', world: {} }, onPrepare: async function() { var utils = require('./e2e-common/lib/utils.js'); utils.loadVariables('../env.json'); require('./e2e-common/lib/waitReady.js'); require('./e2e-common/lib/waitAbsent.js'); }, seleniumAddress: 'http://localhost:4444/wd/hub', restartBrowserBetweenTests: true, allScriptsTimeout: 150000, maxSessions: 1, capabilities: { browserName: 'chrome', specs: [ 'features/**/*.feature', ], chromeOptions: { args: ['--no-proxy-server'], }, }, framework: 'custom', frameworkPath: require.resolve('protractor-cucumber-framework'), cucumberOpts: { require: [ './e2e-common/step_definitions/**/*.js', './e2e-common/lib/hooks.js' ], profile: false, 'no-source': true } };
My Specs: TodayFolder/:
TomorrowFolder/:
Total: 18 Scenarios
After hooks: In my Afterhooks I've putted console.log('Specs:', scenario.sourceLocation.uri);
console.log('Specs:', scenario.sourceLocation.uri);
Okay. Given all of this data, what is happening is:
./node_modules/.bin/protractor-flake --parser cucumber -- "conf.js"
Using cucumber to parse output Re-running tests: test attempt 2 Re-running the following test files: Tomorrow\Afternoon.feature
Until this point everything is fine. But what is happening After is:
This means is not just reruning the failed feature, it's reruning all the features and the failed features twice.
The text was updated successfully, but these errors were encountered:
@Jakyhack Did your problem resolved ?
Sorry, something went wrong.
No branches or pull requests
Hi guys! I've seen some issues like that but not for cucumber. It's an strange behaviour. First of all, my data:
My Specs:
TodayFolder/:
TomorrowFolder/:
Total: 18 Scenarios
After hooks:
In my Afterhooks I've putted
console.log('Specs:', scenario.sourceLocation.uri);
Okay. Given all of this data, what is happening is:
./node_modules/.bin/protractor-flake --parser cucumber -- "conf.js"
Until this point everything is fine. But what is happening After is:
This means is not just reruning the failed feature, it's reruning all the features and the failed features twice.
The text was updated successfully, but these errors were encountered: