Skip to content

Commit 1bf2518

Browse files
committed
Merge pull request mgechev#745 from Shyam-Chen/about-e2e
fix about-e2e (preprotractor ci)
2 parents 6083b14 + 52b6710 commit 1bf2518

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
describe('About', () => {
2-
3-
beforeEach( () => {
4-
browser.get('about');
2+
beforeEach(() => {
3+
browser.get('/');
4+
browser.waitForAngular();
5+
element.all(by.css('nav > a')).get(1).click();
56
});
67

78
it('should have correct feature heading', () => {
8-
expect(element(by.css('sd-app sd-about h2')).getText())
9-
.toEqual('Features');
9+
let el = element(by.css('sd-app sd-about h2'));
10+
expect(el.getText()).toEqual('Features');
1011
});
1112
});

0 commit comments

Comments
 (0)