Coder Social home page Coder Social logo

Comments (3)

TrishaChetani avatar TrishaChetani commented on May 28, 2024

What the solution ? i am trying to implement same.
Flake file :

#!/usr/bin/env node

/**

  • flake is a node script that uses protractor-flake to re-run failed tests. Note
  • that it reruns tests at the file level, so if one test fails, it will rerun all
  • the tests in that file. Still... awesome.
  • usage:
  • ./flake conf.js [other protractor args]
    */
    //const rerun = require('./module');
    const protractorFlake = require('protractor-flake');

// skip first two passed args (node and self)
let protractorArgs = process.argv.splice(2);
protractorFlake({
protractorPath: 'node_modules/.bin/protractor',
maxAttempts: 2,
parser: 'multi',
nodeBin: 'node',
color: 'magenta',
protractorArgs: protractorArgs
}, function(status, output) {
process.exit(status);
});

What will be right way to implement parser which will execute only failed test

from protractor-flake.

NickTomlin avatar NickTomlin commented on May 28, 2024

@trisha1212 could you open a new issue with the test output? Typically this is due to a reporter or test framework tweak that is changing the output to an unexpected format.

Also, you shouldn't need to use a wrapper scrip like the one that you've posted, the protractor-flake bin should do all that for you automatically.

Thanks! 😄

from protractor-flake.

TrishaChetani avatar TrishaChetani commented on May 28, 2024

Thank you for the reply.
#79

from protractor-flake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.