19require_once(
"vendor/composer/vendor/autoload.php");
21require_once(__DIR__ .
"/../../Base.php");
31 public function button(): I\Component\Button\Factory
33 return new I\Component\Button\Factory();
52 $expected_html = file_get_contents(__DIR__ .
"/../../Client/Toast/ToastTest.html");
54 $rendered_html =
'<head>
55 <title>Toast Test HTML</title>
56 <script src="../../../resources/js/Toast/toast.js"></script>
57 <script>document.il = il</script>
68 ->withDescription(
'Description')
72 $rendered_html = str_replace(
'{CONTAINER}', $this->getDefaultRenderer()->render(
$container), $rendered_html);
73 $rendered_html = preg_replace(
'/id=".*?"/',
'', $rendered_html);
75 $this->assertEquals($this->brutallyTrimHTML($expected_html), $this->brutallyTrimHTML($rendered_html));
Provides common functionality for UI tests.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
button(string $caption, string $cmd)
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.