diff --git a/package.json b/package.json index ecc30508..cf1ca48f 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "description": "Starting point to setup a X Components project", "private": true, "scripts": { - "serve": "vite dev", + "serve": "vite dev --host", "serve:docker": "VUE_APP_DEVELOPMENT_DOCKER=true vite dev", "serve:dist": "http-server dist -a localhost --cors --gzip", "build": "rollup -c", diff --git a/tests/e2e/cucumber/facets.feature b/tests/e2e/cucumber/facets.feature index 63fda628..51e9f920 100644 --- a/tests/e2e/cucumber/facets.feature +++ b/tests/e2e/cucumber/facets.feature @@ -34,8 +34,8 @@ Feature: Facets component Then filter from facet "" is selected is false Examples: | query | filterNumber | facetName | view | - | shirt | 1 | brand | macbook-13 | - | shirt | 1 | brand | iphone-x | + | shirt | 1 | gender | macbook-13 | + | shirt | 1 | gender | iphone-x | Scenario Outline: 3. Multiple filters from the same facet can be selected Given start page with "" size view @@ -52,9 +52,11 @@ Feature: Facets component And filter from facet "" is selected is true Examples: | query | filterNumber | facetName | filterNumber2 | view | - | shirt | 2 | brand | 1 | macbook-13 | - | shirt | 2 | brand | 1 | iphone-x | + | shirt | 0 | gender | 1 | macbook-13 | + | shirt | 0 | gender | 1 | iphone-x | + @skip + # TODO: Resume once the response returns multiple facets Scenario Outline: 4. Multiple filters from different facets can be selected Given start page with "" size view When search bar is clicked @@ -74,7 +76,7 @@ Feature: Facets component | shirt | 2 | brand | 1 | fit | macbook-13 | | shirt | 2 | brand | 1 | fit | iphone-x | - @skip + @skip # TODO: Resume once the response returns hierarchical filters Scenario Outline: 5. Hierarchical filters selection Given start page with "" size view diff --git a/tests/e2e/cucumber/multiple-interactions.feature b/tests/e2e/cucumber/multiple-interactions.feature index d1851a3c..45c17847 100644 --- a/tests/e2e/cucumber/multiple-interactions.feature +++ b/tests/e2e/cucumber/multiple-interactions.feature @@ -25,5 +25,5 @@ Feature: Multiple interactions Examples: | query | view | nextQueryItem | filterNumber | facetName | queryWithRTs | relatedTagItem | - | tshirt | macbook-13 | 1 | 2 | brand | tshirt | 1 | - | tshirt | iphone-x | 1 | 2 | brand | tshirt | 1 | + | tshirt | macbook-13 | 1 | 1 | gender | tshirt | 1 | + | tshirt | iphone-x | 1 | 1 | gender | tshirt | 1 |