Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit eef316e

Browse files
committed
Specify sleep in tic-tac-toe e2e
1 parent 61b9938 commit eef316e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/protractor/tictactoe/tictactoe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<title>AngularFire TicTacToe e2e Test</title>
55

66
<!-- Angular -->
7-
<script src="../../../node_modules/angular/angular.min.js"></script>
7+
<script src="../../../node_modules/angular/angular.js"></script>
88

99
<!-- Firebase -->
1010
<script src="../../../node_modules/firebase/lib/firebase-web.js"></script>

tests/protractor/tictactoe/tictactoe.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ describe('TicTacToe App', function () {
9898
// Refresh the page, passing the push ID to use for data storage
9999
browser.get('tictactoe/tictactoe.html?pushId=' + firebaseRef.key()).then(function() {
100100
// Wait for AngularFire to sync the initial state
101-
sleep();
102-
sleep();
101+
sleep(2000);
103102

104103
// Make sure the board has 9 cells
105104
expect(cells.count()).toBe(9);

0 commit comments

Comments
 (0)