Skip to content

Commit

Permalink
revert test
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Sep 20, 2023
1 parent 84d7f91 commit 111fee0
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function testDropdownMenus(FunctionalTester $I) {
], 'menu_link_content');

$I->logInWithRole('site_manager');
$I->resizeWindow(2500, 1000);
$I->resizeWindow(1400, 700);
$I->amOnPage('/admin/config/system/basic-site-settings');
$I->uncheckOption('Use drop down menus');
$I->click('Save');
Expand All @@ -67,7 +67,8 @@ public function testDropdownMenus(FunctionalTester $I) {
$I->checkOption('Provide a menu link');
$I->fillField('Menu link title', $node_title);
// The label on the menu parent changes in D9 vs D8
$I->selectOption('field_menulink[0][menu_parent]', $parent_menu_title);
$I->selectOption('.menu-link-form .select-wrapper--level-0 select', '<main>');
$I->selectOption('.menu-link-form .select-wrapper--level-1 select', $parent_menu_title);
$I->waitForText("Change the weight of the links within the $parent_menu_title menu");

$I->click('Save');
Expand Down

0 comments on commit 111fee0

Please sign in to comment.