You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
it('should execute ng-click but not reload when href empty string and name specified', function() {
element(by.id('link-4')).click();
expect(element(by.model('value')).getAttribute('value')).toEqual('4');
expect(element(by.id('link-4')).getAttribute('href')).toBe('');
});
Previously, if you had a name but no href it would still prevent the click from propagating. The performance refactor commit, referenced above, changed the a directive so that if there is neither href or name then the click will propagate and so clicking the link would cause the page to reload.
We need to decide if this previous functionality is important and if so modify the a directive accordingly and potentially re-activate the protractor test that was broken. If not, then we should just remove the failing protractor test altogether.