Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Trisha Chetani
    @trisha_1212_twitter
    how to stop running whole test and rerun only failed test
    lwouis
    @lwouis
    Hi guys! I'm looking to use protractor-flake but it seems the sharded mode is not supported for the moment. Anybody wrote a parser for that by any chance? :p
    lwouis
    @lwouis
    Oh I see there is the 'multi' parser now, great!
    I'll try it soon :)
    Ghost
    @ghost~5a226423d73408ce4f815588
    Yes
    Wim Selles
    @wswebcreation
    hi ;-)
    how are you tests configured?
    Ghost
    @ghost~5a226423d73408ce4f815588
    In the sense?
    Wim Selles
    @wswebcreation
    you have multiple e2e-files?
    Ghost
    @ghost~5a226423d73408ce4f815588
    Yes I've multiple e2e files
    I think @trisha_1212_twitter is facing same problem as mine
    Wim Selles
    @wswebcreation

    because what should happen is the following

    Your setup:

    • test-1.e2e.ts
    • test-2.e2e.ts
    • test-3.e2e.ts

    A test in file test-1.e2e.ts and test-2.e2e.ts fail. The generate a loggin which tells that the files failed
    Protractor-flake should read that logging and see that 2 files files, he should provide them again to protractor to do the rerun

    file test-3.e2e.ts should not be ran
    the standard parser should be sufficient
    Ghost
    @ghost~5a226423d73408ce4f815588
    But for example if there are 5 tests in one spec file and if 1 fails, would all 5 re-run
    ?
    I've not configured parser anywhere
    Is that required?
    Wim Selles
    @wswebcreation
    yes
    because you can't rerun 1 test, ir will rerun the complete file
    standard is the standard parser ;-)
    Ghost
    @ghost~5a226423d73408ce4f815588
    :D
    Okay then what I need to use to just re-run a single test
    Wim Selles
    @wswebcreation
    the reason why you can't rerun 1 test is that you can't run 1 test in jasmine from a spec file from the command line. Only if you do that manual with fit
    Ghost
    @ghost~5a226423d73408ce4f815588
    Hmmm I get that now
    Wim Selles
    @wswebcreation
    problem is also that you can't run 1 browser with one test / test-file from the command line based on a rerun with protractor-flake
    hope it helps giving you the correct insight in and protractor and protractor-flake
    Ghost
    @ghost~5a226423d73408ce4f815588
    Yeah it gives. and I've to be satisfied with what I've ;(
    @trisha_1212_twitter I think the above conversation can be helpful to you as well
    Wim Selles
    @wswebcreation
    :thumbsup:
    have a nice weekend, gonna do something with that weekend now ;-)
    Ghost
    @ghost~5a226423d73408ce4f815588
    You too, Thanks for all the help that you provided :)
    Wim Selles
    @wswebcreation
    you're welcome
    Yehuda Miller
    @pittgoose
    does anyone know if the number of the rerun attempt is available inside the tests?
    Like, I want to run something like this:
    if (rerunAttempt == 3){
        // do something here
    }
    Brine
    @qualityshepherd
    @pittgoose I don't believe it's available in say Jasmine
    aver0
    @aver0
    Hey Everyone, has anyone been successful in adding protractor-flake as a grunt task?
    I currently run my protractor tests via a grunt task but I can't figure out how to wrap that task in protractor-flake so enforce retries
    any hints would really help me out as I'm totally and utterly lost...
    Rahul
    @test-me123
    hi all
    can anyone share me the tutorials for protractor tool
    im a newbie to this
    Andrei Bidian
    @AlessyoAndrei
    Does anybody else have issues running protractor-flake with gitlab CI ?
    even though tests fail, gitlab still considers it as passed
    Helen
    @murcraft
    I always run my tests with protractor-flacke. And yestarday my tests were run in travis ci and I saw that no one log didn't present in log. I tried to run tests locally , logs is not displayed
    My issue on github NickTomlin/protractor-flake#102
    My build in travis with successful output: https://travis-ci.com/murcraft/ProtractorGoogleTest/jobs/170056238
    My build in travis without output logs: https://travis-ci.com/murcraft/ProtractorGoogleTest/jobs/170258331
    Please, help me. I see, that there were some releases for protractor-flake
    fires1989
    @fires1989
    is flake compatible with javascript implementation in protractor
    staszke
    @staszke
    Hi, is it possible to get information about number of current run? I can't get protractor-flake to show me separate report for the first run and subsequent reruns
    vnvbsudhakar
    @vnvbsudhakar

    Hi All, I am new to protractor - automation testing. I am following protractor website to do create few dummy tests.
    Problem statement: i don't see line number when any test case fails
    for eg:
    D:\ProtractorDeltaPOC>protractor conf.js
    [07:53:44] I/launcher - Running 1 instances of WebDriver
    [07:53:44] I/hosted - Using the selenium server at http://localhost:4444/wd/hub
    [07:53:51] I/launcher - 0 instance(s) of WebDriver still running
    [07:53:51] I/launcher - chrome #01 failed 1 test(s)
    [07:53:51] I/launcher - overall: 1 failed spec(s)
    [07:53:51] E/launcher - Process exited with error code 1

    in the above code, it says test is failed but there are no reference. Can someone help me.

    Shubhojit Bhattacharjee
    @ShubhojitBhattacharjee

    Hi,

    I am in a decision-making situation to either use Protractor or Selenium to create test automation framework for two apps, one is Angular-based, another is Vue JS based.

    Advantages of using Protractor:
    Comes bundles with Aungular app, no need to add exrta dependency
    Supports more element locating mechanisms by providing methods like filter() and cssContainingText()
    Supports scripting languages like Typescript and JavaScript

    Main reason for using Protractor was because prtractor had its own locator types (like ng-model, etc) in order to handle elements in ealier version of Angular apps. However after Angular 2, those locators types have become irrelevant and now protractor uses locators just like in Selenium

    I also have expert level knowledge in Selenium and Java

    What should be my parameters to select either Protractor or Selenium to create a test automation framework and automate integration test cases? Is execution faster in Protractor because it uses scripting language?

    fires1989
    @fires1989
    Go for protractor but remember to use async/await else you'll be fed up with flaky tests