Kaynağa Gözat

update tests to use the parent query parameter

Olivier Massot 4 yıl önce
ebeveyn
işleme
fe87102965

+ 1 - 1
test/cypress/integration/structures/_id.spec.js

@@ -1,7 +1,7 @@
 
 describe('Test the /structures/{id} page', () => {
   beforeEach(() => {
-    cy.visit('/structures/498')
+    cy.visit('/structures/498?parent=12097')
   })
 
   it('Expected elements are presents', () => {

+ 1 - 1
test/cypress/integration/structures/index.spec.js

@@ -1,7 +1,7 @@
 
 describe('Test the /structures page', () => {
   beforeEach(() => {
-    cy.visit('/structures')
+    cy.visit('/structures?parent=12097')
   })
 
   it('Map, filters, and all results shall display by default', () => {