[FIX] website: tour rte_translator wait for page load
Next steps executed before the next page loading could cause a test false positive.
This commit is contained in:
@@ -29,6 +29,13 @@ Tour.register({
|
||||
localStorage.removeItem('website_translator_nodialog');
|
||||
}
|
||||
},
|
||||
{
|
||||
title: "Wait for next page load",
|
||||
onload: function(){
|
||||
if($('html[lang="fr-BE"]').length)
|
||||
Tour.nextStep = function(){};
|
||||
}
|
||||
},
|
||||
{
|
||||
title: "Open content menu",
|
||||
element: '#content-menu-button',
|
||||
|
||||
Reference in New Issue
Block a user