Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit d931bcd

Browse files
CrispusDHcnishina
authored andcommitted
chore(test): move restart_spec off of the control flow (#5014)
1 parent d4f4c09 commit d931bcd

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

spec/basic/restart_spec.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
describe('browser.restart', function() {
2-
it('doesn\'t break ignoreSynchronization', function() {
3-
browser.get('index.html#/polling');
4-
browser.restart();
1+
describe('browser.restart', () => {
2+
it('doesn\'t break ignoreSynchronization', async () => {
3+
await browser.get('index.html#/polling');
4+
await browser.restart();
55

66
browser.ignoreSynchronization = true;
77
// Get a non-angular page. It shouldn't fail if ignoreSynchronization is on.
8-
browser.get('https://google.com/');
8+
await browser.get('https://google.com/');
99
});
1010

11-
afterAll(function() {
11+
afterAll(() => {
1212
browser.ignoreSynchronization = false;
1313
});
1414
});

spec/basicConf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ exports.config = {
1515
// 'basic/handling_spec.js',
1616
// 'basic/mockmodule_spec.js',
1717
// 'basic/navigation_spec.js',
18+
// 'basic/restart_spec.js',
1819
],
1920

2021
// Exclude patterns are relative to this directory.

spec/ciFullConf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ exports.config = {
1717
// 'basic/handling_spec.js'
1818
// 'basic/mockmodule_spec.js',
1919
// 'basic/navigation_spec.js',
20+
// 'basic/restart_spec.js',
2021
],
2122

2223
// Exclude patterns are relative to this directory.

0 commit comments

Comments
 (0)