Esecuzione degli scenari di app Angolare con chrome Gli scenari vengono eseguiti correttamente, ma l'arresto si verifica nella nuova versione 35.0b6 di firefox. Qualcuno per favore aiutatemi grazie in anticipo.L'uso di Firefox 35 con un rapportatore produce un errore
Sto usando il goniometro 1.4.0. Il mio scenario:
describe('99ccs e2e testing', function() {
it('check it have a title 99CCS', function() {
browser.get('http://99ccs.com/ccsnew/#/login');
//it checks the "http://99ccs.com/ccsnew/" page contains a title "99CCS"
expect(browser.getTitle()).toEqual('99CCS');
//it checks when user enter the URL as "http://99ccs.com/ccsnew/" it navigates to "http://99ccs.com/ccsnew/#/login"
browser.get('http://99ccs.com/ccsnew/');
expect(browser.getLocationAbsUrl()).toBe('http://99ccs.com/ccsnew/#/login');
//it checks when user enter the URL as "http://99ccs.com/ccsnew/" it navigates to Login page or not
browser.getLocationAbsUrl().then(function(url) {
expect(url.split('#')[1]).toBe('/login');
});
expect(browser.get('http://99ccs.com/ccsnew/')).toEqual(browser.get('http://99ccs.com/ccsnew/#/login'));
//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://99ccs.com/ccsnew/#/ts/edit/131')).toEqual(browser.get('http://99ccs.com/ccsnew/#/login'));
});
});
in qualsiasi modo, grazie Mr. Alecxe –
Ci sono già problemi archiviati su [Protractor bugtracker] (https://github.com/angular/protractor/issues/1734) e [Selenium bugtracker] (https://code.google.com/p/selenio/temi/dettaglio? id = 8390). –
@ksokol Grazie! Sì, ho affrontato il problema simile anche in python-selenio: http://stackoverflow.com/questions/28031404/seleniumfirefox-empty-execute-script-arguments. – alecxe