Skip to content

Commit

Permalink
Fix remote cypress url
Browse files Browse the repository at this point in the history
  • Loading branch information
louptheron committed Jan 3, 2024
1 parent f5742d8 commit 4f0ff87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/cypress/e2e/sidebars/regulatory_layers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,15 +275,15 @@ context('Sidebars > Regulatory Layers', () => {

cy.request(
'GET',
`http://localhost:8081/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=monitorfish:regulations&outputFormat=application/json&propertyName=id,law_type,topic,gears,species,regulatory_references,zone,region,next_id`
`http://0.0.0.0:8081/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=monitorfish:regulations&outputFormat=application/json&propertyName=id,law_type,topic,gears,species,regulatory_references,zone,region,next_id`
).then(response => {
cy.log(response.body)
})

// When
cy.intercept(
'GET',
`http://localhost:8081/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=monitorfish:regulations&outputFormat=application/json&srsname=EPSG:4326&bbox=-378334.88336741074,6256373.869989776,-280465.66220758925,6275194.874058974,EPSG:3857&propertyName=id,law_type,topic,gears,species,regulatory_references,zone,region`
`http://0.0.0.0:8081/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=monitorfish:regulations&outputFormat=application/json&srsname=EPSG:4326&bbox=-378334.88336741074,6256373.869989776,-280465.66220758925,6275194.874058974,EPSG:3857&propertyName=id,law_type,topic,gears,species,regulatory_references,zone,region`
).as('getFeature')
cy.get('*[data-cy="layers-sidebar"]').click({ timeout: 10000 })

Expand Down

0 comments on commit 4f0ff87

Please sign in to comment.