I have seen it so many times where people suggest to use:   browser.ignoreSynchronization=true;  // or false   But I do not understand why do we need it?...
If Protractor is replacing Angular Scenario Runner for E2E testing, does that mean I will still be able to use it with Karma as my E2E testing framework ?...
I am trying to set a global variable on protractor to use in all describe blocks.  var glob = 'test';  describe('glob test', function () {     it('should set glob', function () {         browser.get('http://example.com/t...
We have a rather big set of end-to-end tests on Protractor. We are following the Page Object pattern which helps us to keep our tests clean and modular. We also have a set of helper functions which help us to follow the DRY principle.  The Problem:...
The Problem:  In our rather big test codebase, we are using different keyboard shortcuts. For instance, to copy selected text we are using CTRL/COMMAND + C, to paste CTRL/COMMAND + v, to open a new tab CTRL/COMMAND + T etc.  To keep tests work on mul...
One of my test expects an error message text to be one of multiple values. Since getText() returns a promise I cannot use toContain() jasmine matcher. The following would not work since protractor (jasminewd under-the-hood) would not resolve a promis...
Run my Angular app scenarios with chrome the scenarios are run successfully, but the halt is occurred at firefox new version 35.0b6. Any one please help me thanks in advance.  I'm using protractor 1.4.0. My scenario:   describe('99ccs e2e tes...
q library has this neat feature to resolve and spread multiple promises into separate arguments:     If you have a promise for an array, you can use spread as a   replacement for then. The spread function “spreads” the values over   the arguments...
I'm new on protractor, and I'm trying to implement an e2e test. I don't know if this is the right way to do this, but... The page that I want to test is not a full angular page based, so... I'm having some trouble.  On my first spec I...
I just started using Protractor to write tests. I am wondering what the difference is between the isPresent() and isDisplayed() methods.  The API definitions   isPresent isDisplayed   So... in what cases are they different?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.