Olivier Massot преди 4 години
родител
ревизия
7f09355688
променени са 2 файла, в които са добавени 1 реда и са изтрити 13 реда
  1. 1 0
      pages/structures/_id.vue
  2. 0 13
      test/cypress/support/commands.js

+ 1 - 0
pages/structures/_id.vue

@@ -149,6 +149,7 @@
           <v-responsive width="100%" height="450px">
             <no-ssr>
               <l-map
+                id="map"
                 :zoom="13"
                 :center="[structure.latitude, structure.longitude]"
                 :options="{ scrollWheelZoom: false, zoomSnap: 0.25 }"

+ 0 - 13
test/cypress/support/commands.js

@@ -10,16 +10,3 @@ Cypress.Commands.add(
       .parent()
       .find(selector)
   })
-
-/**
- *
- */
-Cypress.Commands.add(
-  'containing',
-  {
-    prevSubject: true
-  },
-  (subject, rx) => {
-    return subject.filter(() => { return rx.test(Cypress.$(this).text()) })
-  }
-)