[FIX] website_event: correct ui test
bzr revid: chs@openerp.com-20140129213621-ynbxys4hmw0avhaw
This commit is contained in:
parent
3d80e31012
commit
ec14f457c1
|
@ -17,7 +17,7 @@ testRunner.run(function eventTest (page, timeout) {
|
|||
waitFor(function testExecuted () {
|
||||
var after = page.evaluate(function () {
|
||||
return window.$ && $('button[data-action=edit]').is(":visible") && {
|
||||
banner: $('#wrap [data-snippet-id=carousel]').length,
|
||||
banner: $('#wrap [data-snippet-id=image-text]').length,
|
||||
text: $('#wrap [data-snippet-id=text-block]').length,
|
||||
image: $('#wrap [data-snippet-id=three-columns]').length,
|
||||
};
|
||||
|
@ -29,4 +29,4 @@ testRunner.run(function eventTest (page, timeout) {
|
|||
phantom.exit();
|
||||
}, 4*timeout/5);
|
||||
}, timeout/5);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue