Skip to content

Commit f0c736b

Browse files
committed
update vselect tests for new location of .vs__dropdown-menu
1 parent 2a5f93c commit f0c736b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DuskServiceProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public function boot(): void
113113
$element->click('.vs__search');
114114
$this->waitFor('.vs__dropdown-menu');
115115

116-
$this->clickAtXPath('//.vs__dropdown-menu li[contains(.,"' . $optionLabel . '")]');
116+
$this->clickAtXPath('//ul[contains(@class,"vs__dropdown-menu")]//li[contains(text(),"' . $optionLabel . '")]');
117117

118118
$this->assertVselectHasOptionSelected($wrapperClass, $optionLabel);
119119
});

0 commit comments

Comments
 (0)