Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

introduce frontend e2e test with cypress #153

Open
7 tasks
JannikStreek opened this issue Mar 15, 2023 · 0 comments · May be fixed by #160
Open
7 tasks

introduce frontend e2e test with cypress #153

JannikStreek opened this issue Mar 15, 2023 · 0 comments · May be fixed by #160
Assignees
Labels

Comments

@JannikStreek
Copy link
Member

JannikStreek commented Mar 15, 2023

Unfortunately the frontend does not include many tests yet. I have already added chromium support to the development image, which can also be used by cypress, see https://docs.cypress.io/guides/guides/launching-browsers. We can either use a separate docker container for cypress or do it directly in the app container.

Test ideas:

  • Visit the map, add a node with a name
  • Visit the map, invoke share button
  • Visit the map, add a node, increase font size
  • Visit the map, add a node, decrease font size
  • Visit the map, add a node and add a color
  • Visit the map, add two nodes, cut one node an append it to the other
  • Visit the map, import an existing map

https://angular.de/artikel/angular-cypress-typescript-e2e-testing/
https://www.tomray.dev/nestjs-unit-testing

@JannikStreek JannikStreek self-assigned this Mar 15, 2023
@JannikStreek JannikStreek changed the title introduce e2e test with cypress introduce frontend e2e test with cypress Mar 16, 2023
@JannikStreek JannikStreek linked a pull request Mar 22, 2023 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants