Ver Fonte

test: Attempt to fix broken tests

Michael Bromley há 6 anos atrás
pai
commit
d605c5ea27

+ 0 - 6
.github/workflows/publish_and_install.yml

@@ -17,12 +17,6 @@ jobs:
       uses: actions/setup-node@v1
       with:
         node-version: 12.4.x
-    - name: Update Yarn
-      run: |
-        curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
-        echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
-        sudo apt-get update && sudo apt-get install yarn
-        yarn --version
     - name: Install & bootstrap
       run: |
         yarn install

+ 2 - 2
.github/workflows/verdaccio/config.yaml

@@ -27,8 +27,8 @@ auth:
 uplinks:
   npmjs:
     url: https://registry.npmjs.org/
-    timeout: 5m
-    max_fails: 10
+    timeout: 10m
+    max_fails: 20
     cache: false
 
 packages:

+ 8 - 1
packages/core/e2e/fixtures/e2e-initial-data.ts

@@ -20,5 +20,12 @@ export const initialData: InitialData = {
         { name: 'United Kingdom', code: 'GB', zone: 'Europe' },
         { name: 'United States of America', code: 'US', zone: 'Americas' },
     ],
-    collections: [{ name: 'Plants', facetNames: ['plants'] }],
+    collections: [
+        {
+            name: 'Plants',
+            filters: [
+                { code: 'facet-value-filter', args: { facetValueNames: ['plants'], containsAny: false } },
+            ],
+        },
+    ],
 };