N°6765 Avoid behat scenario loading issues on portal modal (#569)

- New CombodoJsActivity API
- Replace existing calls in NiceWebPage (ready scripts)
- Add calls in ready block in portal object create template (used in both create and edit)
This commit is contained in:
Pierre Goiffon
2023-11-10 15:10:37 +01:00
committed by GitHub
parent 8a3d81c430
commit d725ba3d84
3 changed files with 34 additions and 2 deletions

View File

@@ -255,14 +255,14 @@ EOF
protected function GetReadyScriptsStartedTrigger(): ?string
{
return <<<JS
$("body").attr("data-ready-scripts", "start");
CombodoJsActivity.AddOngoingScript();
JS;
}
protected function GetReadyScriptsFinishedTrigger(): ?string
{
return <<<JS
$("body").attr("data-ready-scripts", "done");
CombodoJsActivity.RemoveOngoingScript();
JS;
}
}