2 declare(strict_types = 1);
30 $I->useExistingSession(
'admin');
38 $I->wantTo(
'see the module menu button behavior when shrinking the window');
40 $I->seeElement(
'.scaffold-modulemenu-expanded');
41 $I->see(
'Web',
'span.modulemenu-group-title');
42 $I->seeElement(
'.modulemenu-group-icon');
44 $I->amGoingTo(
'collapse the module menu');
45 $I->click(
'button.t3js-topbar-button-modulemenu span[data-identifier="actions-menu"]');
47 $I->expectTo(
'see only the module menu icon');
48 $I->cantSeeElement(
'.scaffold-modulemenu-expanded');
49 $I->cantSee(
'Web',
'span.modulemenu-group-title');
50 $I->seeElement(
'.modulemenu-group-icon');
52 $I->amGoingTo(
'shrink the window');
53 $I->resizeWindow(680, 420);
54 $I->expectTo(
'see no module menu');
55 $I->cantSeeElement(
'.modulemenu-group-icon');
57 $I->amGoingTo(
'expand the module menu');
58 $I->click(
'button.t3js-topbar-button-modulemenu span[data-identifier="actions-menu"]');
59 $I->expectTo(
'see the expanded module menu');
60 $I->see(
'Web',
'span.modulemenu-group-title');
61 $I->seeElement(
'.modulemenu-group-icon');
69 $I->wantTo(
'see the module menu button behavior when enlarging the window');
71 $I->amGoingTo(
'shrink the window');
72 $I->resizeWindow(320, 400);
73 $I->expectTo(
'see the module menu');
74 $I->seeElement(
'.scaffold-modulemenu-expanded');
75 $I->see(
'Web',
'span.modulemenu-group-title');
76 $I->seeElement(
'.modulemenu-group-icon');
78 $I->amGoingTo(
'collapse the module menu');
79 $I->click(
'button.t3js-topbar-button-modulemenu span[data-identifier="actions-menu"]');
81 $I->expectTo(
'see no module menu');
82 $I->cantSeeElement(
'.scaffold-modulemenu-expanded');
83 $I->cantSee(
'Web',
'span.modulemenu-group-title');
84 $I->cantSeeElement(
'.modulemenu-group-icon');
86 $I->amGoingTo(
'enlarge the window');
87 $I->resizeWindow(1280, 960);
88 $I->expectTo(
'see the module menu icon');
89 $I->seeElement(
'.modulemenu-group-icon');
91 $I->amGoingTo(
'expand the module menu');
92 $I->click(
'button.t3js-topbar-button-modulemenu span[data-identifier="actions-menu"]');
94 $I->expectTo(
'see the full module menu');
95 $I->seeElement(
'.scaffold-modulemenu-expanded');
96 $I->see(
'Web',
'span.modulemenu-group-title');