updated tests

This commit is contained in:
Owen Rees
2023-06-22 13:39:50 +02:00
parent 6f7b840b54
commit ef08aa3a61
28 changed files with 43 additions and 43 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ let tableRows: number;
describe("Data fetching for map", () => {
it("map markers is equal to table rows", () => {
cy.visit("/tournois");
cy.get('[data-cy="tournament-table"]')
cy.getByData("tournament-table")
.find("tr")
.then((rows) => {
tableRows = rows.length - 1;