Skip to content

Commit

Permalink
added a testcase to enshure no regressions happen
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Jul 1, 2023
1 parent ef94f29 commit 2bf7fcc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions webclient/cypress/e2e/coordinates.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
describe("Check if users can submit coordinates", () => {
it("main page", () => {
// 1902.02.286 is a unimportant room in Heilbron which will likely never get a coordinate
cy.visit("http://localhost:8000/view/1902.02.286");
cy.intercept("POST", "/api/feedback/get_token", { statusCode: 201, fixture: "feedback_token.json" });
});
});

export {};

0 comments on commit 2bf7fcc

Please sign in to comment.