Giter VIP home page Giter VIP logo

Comments (6)

wswebcreation avatar wswebcreation commented on May 28, 2024

Can you run grunt run:protractor-flake with a --verbose logging to see what it spawned on the command line and check it with the command above.

When I run it with my own runner it works and this is spawned on the command line

Spawn node with arguments: /Users/wswebcreation/test/node_modules/protractor-flake/bin/protractor-flake /Users/wswebcreation/test/node_modules/protractor/bin/protractor --parser=cucumberMulti --max-attempts=2 -- /Users/wswebcreation/test/e2e/conf/protractor.local.conf.js

from protractor-flake.

wlsf82 avatar wlsf82 commented on May 28, 2024

here it is:

Running "run:protractor-flake" (run) task
Verifying property run.protractor-flake exists in config...OK
File: [no files]
Options: wait, failOnError=false, quite=false, ready=1000, cwd="/Users/walmyr/www/video-conference", passArgs=[], itterable=false, readyBufferLength=1024
running ./node_modules/.bin/protractor-flake with args [ '--protractor-path=./node_modules/.bin/protractor',
  '--max-attempts=2',
  '-- test/protractor-e2e/protractor.conf.js' ]
**you must either specify a configuration file or at least 3 options. See below for the options:

Usage: protractor [configFile] [options]
configFile defaults to protractor.conf.js
The [options] object will override values from the config file.
See the reference config for a full list of options.

Options:
  --help                                 Print Protractor help menu
  --version                              Print Protractor version
...

from protractor-flake.

wswebcreation avatar wswebcreation commented on May 28, 2024

Can't make much form this. Also looked into grunt-run and I can't find how the spawn with protractor works.
In my opinion this is more a 3rd-party issue then a protractor-flake-issue.

@NickTomlin, what do you think?

For my customer I created a fork of grunt-protractor-runner and added this

        protractorFlake = grunt.option('rerun-flake') || '';

        if (protractorFlake) {
            cmd.push(protractorFlakeBinPath);
            cmd.push(protractorBinPath);
            cmd.push('--parser=cucumberMulti');
            cmd.push('--max-attempts=' + attempts);
            cmd.push('--');
        } else {
            cmd.push(protractorBinPath);
        }

from protractor-flake.

wlsf82 avatar wlsf82 commented on May 28, 2024

@wswebcreation, what about submitting a pull request with this change of your fork?

from protractor-flake.

wswebcreation avatar wswebcreation commented on May 28, 2024

@wlsf82,

It's a possibility, need to contact the maintainer for it because we need to add more parameters to make it configurable.

Can I close this issue for you now?

from protractor-flake.

wlsf82 avatar wlsf82 commented on May 28, 2024

Yes, sure.

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.