@shopware-ag/acceptance-test-suite 11.13.0 → 11.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7626,7 +7626,8 @@ const SearchForTerm = test$f.extend({
|
|
|
7626
7626
|
const task = (searchTerm) => {
|
|
7627
7627
|
return async function SearchForTerm2() {
|
|
7628
7628
|
await StorefrontSearchSuggest.searchInput.fill(searchTerm);
|
|
7629
|
-
|
|
7629
|
+
const encodedSearchTerm = encodeURIComponent(searchTerm);
|
|
7630
|
+
await StorefrontSearchSuggest.page.waitForResponse((response) => response.url().includes(`suggest?search=${encodedSearchTerm}`) && response.ok());
|
|
7630
7631
|
};
|
|
7631
7632
|
};
|
|
7632
7633
|
await use(task);
|