mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-09-24 02:38:29 +00:00
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:
parent
e8d227b78e
commit
b9af3c8844
|
@ -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 ) => {
|
||||
|
|
Loading…
Reference in a new issue