[FIX] website_event: correct ui test

bzr revid: chs@openerp.com-20140129213621-ynbxys4hmw0avhaw
This commit is contained in:
Christophe Simonis 2014-01-29 22:36:21 +01:00
parent 3d80e31012
commit ec14f457c1
1 changed files with 2 additions and 2 deletions

View File

@ -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);
});
});