Temporarily fixed waitForPropogation.

Replaced waitForPropagation code with a browser.pause because the
time delta computation was not working propertly. This will be changed
with a more dynamic sync operation in the future.

Bug: T224947
Change-Id: I30bd7969e4c2c691622fd63c6f88aadadb8065e9
This commit is contained in:
Edward Tadros 2019-07-09 11:08:02 -07:00 committed by Edward Tadros
parent e8d227b78e
commit b9af3c8844

View file

@ -6,8 +6,8 @@ const assert = require( 'assert' ),
const waitForPropagation = ( timeMs ) => {
// wait 2 seconds so the change can propogate.
const d = new Date();
browser.waitUntil( () => new Date() - d > timeMs );
// Replace this with a more dynamic statement.
browser.pause( timeMs );
};
const createPages = ( pages ) => {