Skip to content

Commit

Permalink
Update chosen issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Oct 9, 2023
1 parent 21fda2c commit b7cc252
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions config/sync/chosen.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ disable_search_threshold: 0
minimum_width: 300
max_shown_results: null
use_relative_width: false
jquery_selector: 'select:visible'
jquery_selector: "select:not([class*='simpler-select']):visible"
search_contains: false
disable_search: false
allow_single_deselect: false
disabled_themes:
claro: '0'
stanford_profile_admin: '0'
minimally_branded_subtheme: '0'
stanford_basic: '0'
stanford_profile_admin: '0'
chosen_include: 2
placeholder_text_multiple: 'Choose some options'
placeholder_text_single: 'Choose an option'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ content:
save_lineage: false
force_deepest: false
parent: null
level_labels: ''
level_labels: 'Org Code, Group'
hierarchy_depth: 0
required_depth: 0
none_label: '- Please select -'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* Test for the lockup settings.
*
* @group navigation
* @group foobar
*/
class NavigationDropDownsCest {

Expand Down Expand Up @@ -53,13 +54,16 @@ public function testDropdownMenus(FunctionalTester $I) {
], 'menu_link_content');

$I->logInWithRole('site_manager');
$I->resizeWindow(1400, 700);
$I->resizeWindow(1400, 2000);
$I->amOnPage('/admin/config/system/basic-site-settings');
$I->uncheckOption('Use drop down menus');

$I->click('Contact Details');
$I->waitForElementVisible('[data-drupal-selector="edit-group-contact-details"]');
$I->fillField('Site Owner Contact (value 1)', $this->faker->email);
$I->fillField('Technical Contact (value 1)', $this->faker->email);
$I->fillField('Accessibility Contact (value 1)', $this->faker->email);
$I->selectOption('Organization', $org_term->id());
$I->selectOption('Org Code', $org_term->id());
$I->click('Save');
$I->amOnPage('/');
$I->cantSeeElement('button', ['class' => 'su-nav-toggle']);
Expand Down

0 comments on commit b7cc252

Please sign in to comment.