jeudi 25 décembre 2014

protractor e2e tests run at chrome, but halt at firefox

** run my Angular app scenarios with chrome the scenarios are run successfully, but the halt is occured 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 testing', function() {


it('check it have a title 99CCS', function() {
browser.get('http://ift.tt/1zjFzwD');

//it checks the "http://ift.tt/1JRoan9" page contains a title "99CCS"
expect(browser.getTitle()).toEqual('99CCS');

//it checks when user enter the URL as "http://ift.tt/1JRoan9" it navigates to "http://ift.tt/1zjFzwD"
browser.get('http://ift.tt/1JRoan9');
expect(browser.getLocationAbsUrl()).toBe('http://ift.tt/1zjFzwD');

//it checks when user enter the URL as "http://ift.tt/1JRoan9" it navigates to Login page or not
browser.getLocationAbsUrl().then(function(url) {
expect(url.split('#')[1]).toBe('/login');
});
expect(browser.get('http://ift.tt/1JRoan9')).toEqual(browser.get('http://ift.tt/1zjFzwD'));

//it checks if we give any location url from 99ccs.com/ccsnew without login it navigates to Login page or not
expect(browser.get('http://ift.tt/1zjFybS')).toEqual(browser.get('http://ift.tt/1zjFzwD'));
});


});


i got an error at console:


Aucun commentaire:

Enregistrer un commentaire