Don't finish the test until ChainPad settles, trying to eliminate a flicker
This commit is contained in:
parent
2c9e21b2de
commit
378322a521
@ -13,7 +13,6 @@ define([
|
|||||||
'/common/diffMarked.js',
|
'/common/diffMarked.js',
|
||||||
'/common/sframe-common-codemirror.js',
|
'/common/sframe-common-codemirror.js',
|
||||||
'/common/common-thumbnail.js',
|
'/common/common-thumbnail.js',
|
||||||
'/bower_components/chainpad/chainpad.dist.js',
|
|
||||||
'/common/common-interface.js',
|
'/common/common-interface.js',
|
||||||
'/customize/messages.js',
|
'/customize/messages.js',
|
||||||
'cm/lib/codemirror',
|
'cm/lib/codemirror',
|
||||||
@ -43,7 +42,6 @@ define([
|
|||||||
DiffMd,
|
DiffMd,
|
||||||
SframeCM,
|
SframeCM,
|
||||||
Thumb,
|
Thumb,
|
||||||
ChainPad,
|
|
||||||
UI,
|
UI,
|
||||||
Messages,
|
Messages,
|
||||||
CMeditor,
|
CMeditor,
|
||||||
@ -1110,6 +1108,8 @@ define([
|
|||||||
}).nThen(function (waitFor) {
|
}).nThen(function (waitFor) {
|
||||||
$('#cp-app-poll-create-user').click();
|
$('#cp-app-poll-create-user').click();
|
||||||
setTimeout(waitFor());
|
setTimeout(waitFor());
|
||||||
|
}).nThen(function (waitFor) {
|
||||||
|
APP.rt.realtime.onSettle(waitFor());
|
||||||
}).nThen(function (/*waitFor*/) {
|
}).nThen(function (/*waitFor*/) {
|
||||||
passIfOk(t);
|
passIfOk(t);
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user