I'm working on a project where the e2e tests are made using protractor.  Some tests, need to validate date/times. Tests are ok on our continuous deliver platforms that ensure the timezone remains stable.  However, when test are run on a local mac...
I'm bedinner in e2e testing and have a problem. When I do login - I make redirect from login.php to index.php page. But my test is fails with following errors:  ..A Jasmine spec timed out. Resetting the WebDriver Control Flow. F  Failures: 1) Log...
I have a web site written in Angular and I'm trying to do end-to-end testing  using Protractor. The website has a "add button", that opens "choose file dialog box". I want to be able add a file from protractor, but it doesn't...
Question: How do I click on every link in a ul > li a from one test?  Problem: this test is passing; however, it isn't clicking on the links.  I know this because It isn't redirecting or waiting 2000ms.  Test:    it("should have proper...
I try to refactor my code. I know that if I have several expectations they should be isolate in 'it'. I try to understand how I can write instead this:  describe('my scenario should make', function () {    var config = browser.params;...
What is the right way to handle the Page Objects model for writing Protractor E2E testing for AngularJS? I feel like I should write them in separate files (like homepage.js, page2.js, etc) then include somehow them into the specs like modules as need...
describe('The feature', function() {          beforeEach(function () {        browser.executeScript('localStorage.setItem("key","value");');     });     it('should do this', function() {     }); });   but i get...
So I've heard of unit and integration testing, but I just recently heard of midway testing. It seems like the term is used most commonly in an AngularJS context. A Google query turned up very little information on the topic. My questions about mi...
I'm testing my angular application with Protractor. Once the user is logged in to my app, I set a $timeout to do some job in one hour (so if the user was logged-in in 13:00, the $timeout will run at 14:00). I keep getting these failures:  "Ti...
On the Jasmine website I see that we can disable suites by xdescribe or individual specs by xit. Is there a way to disable only an expectation (like xexpect)?  The reason why I'm asking this is because I'm writing e2e tests with Protractor an...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.