Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

cy.visit('/something') isn't working when ran within CI #69

@codinghedgehog-python

Description

@codinghedgehog-python

I'm using this repo to learn how to connect Cypress to a service created using docker-compose.

  {
  1   "baseUrl": "http://nginx:80",
  2   "video": false
  3 }

cy.visit('/') works fine within GitLab CI but when Cypress tries to access other routes such as cy.visit('/register') it gives me 404.


CypressError: `cy.visit()` failed trying to load:
http://nginx:80/register
The response we received from your web server was:
  > 404: Not Found

Can you expand on this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions