Skip to content

Commit f0ff0b2

Browse files
committed
Add selector for CSS snippets overview test for behat tests.
1 parent 7be2e7c commit f0ff0b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/behat/behat_theme_boost_union.php

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class behat_theme_boost_union extends behat_base {
3737
* | Accessibility | "Accessibility" settings page |
3838
* | Flavours | Flavours listing page |
3939
* | Smart menus | Smart menus listing page |
40+
* | CSS snippets | CSS snippets overview page |
4041
*
4142
* @param string $page name of the page, with the component name removed e.g. 'Admin notification'.
4243
* @return moodle_url the corresponding URL.
@@ -55,6 +56,7 @@ protected function resolve_page_url(string $page): moodle_url {
5556
'accessibility' => new moodle_url('/admin/settings.php?section=theme_boost_union_accessibility'),
5657
'flavours' => new moodle_url('/theme/boost_union/flavours/overview.php'),
5758
'smart menus' => new moodle_url('/theme/boost_union/smartmenus/menus.php'),
59+
'css snippets' => new moodle_url('/theme/boost_union/snippets/overview.php'),
5860
default => throw new Exception('Unrecognised theme_boost_union page "' . $page . '."')
5961
};
6062
}

0 commit comments

Comments
 (0)