When running my Angular app scenarios with Chrome, everything runs smoothly. However, I encounter a halt when trying to run the scenarios on Firefox version 35.0b6. Any help would be greatly appreciated. Thank you in advance.
I am currently using Protractor 1.4.0. Here is an example of one of my scenarios:
describe('99ccs end-to-end testing', function() {
it('should have a title of 99CCS', function() {
browser.get('http://99ccs.com/ccsnew/#/login');
// Check if the page contains the title "99CCS"
expect(browser.getTitle()).toEqual('99CCS');
// Check if navigating to subpage works correctly
browser.get('http://99ccs.com/ccsnew/');
expect(browser.getLocationAbsUrl()).toBe('http://99ccs.com/ccsnew/#/login');
// Check if redirection to login page works as expected
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'));
// Check if attempting to access a different subpage without logging in redirects to login page
expect(browser.get('http://99ccs.com/ccsnew/#/ts/edit/131')).toEqual(browser.get('http://99ccs.com/ccsnew/#/login'));
});
});