18require_once(
"libs/composer/vendor/autoload.php");
20require_once(__DIR__ .
"/../../Base.php");
30 public function button(): C\Button\Factory
32 return new I\Component\Button\Factory();
51 $expected_html = file_get_contents(__DIR__ .
"/../../Client/Toast/ToastTest.html");
53 $rendered_html =
'<head>
54 <title>Toast Test HTML</title>
55 <script src="../../../../src/UI/templates/js/Toast/toast.js"></script>
56 <script>document.il = il</script>
67 ->withVanishTime(5000)
69 ->withDescription(
'Description')
70 ->withAction(
'https://www.ilias.de')
74 $rendered_html = preg_replace(
'/id=".*?"/',
'', $rendered_html);
Provides common functionality for UI tests.
brutallyTrimHTML(string $html)
A more radical version of normalizeHTML.
getDefaultRenderer(JavaScriptBinding $js_binding=null, array $with_stub_renderings=[])
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This is how the factory for UI elements looks.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
standard()
This is an example, of how the Notification Slate is generated by assigning Notification Items to it.
Class ChatMainBarProvider \MainMenu\Provider.