File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ public function goToSubTab(string $tabName): void
34
34
->click ();
35
35
}
36
36
37
+ public function toggleMenu (): void
38
+ {
39
+ $ this ->getHTMLPage ()->find ($ this ->getLocator ('menuToggler ' ))->click ();
40
+ }
41
+
37
42
public function verifyIsLoaded (): void
38
43
{
39
44
$ this ->getHTMLPage ()->find ($ this ->getLocator ('menuSelector ' ))->assert ()->isVisible ();
@@ -47,6 +52,7 @@ protected function specifyLocators(): array
47
52
new VisibleCSSLocator ('menuSelector ' , '.ibexa-main-menu ' ),
48
53
new VisibleCSSLocator ('menuFirstLevel ' , '.ibexa-main-menu__navbar--first-level ' ),
49
54
new VisibleCSSLocator ('menuSecondLevel ' , '.ibexa-main-menu__navbar--second-level ' ),
55
+ new VisibleCSSLocator ('menuToggler ' , '.ibexa-main-menu__toggler ' ),
50
56
];
51
57
}
52
58
}
You can’t perform that action at this time.
0 commit comments