From 243ddb537c82e5e8c7a696d2cb70a49034e76478 Mon Sep 17 00:00:00 2001 From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com> Date: Fri, 25 Dec 2020 01:10:18 +0200 Subject: [PATCH] update cy --- cypress/integration/planner.spec.ts | 2 ++ cypress/integration/profile.spec.ts | 4 +++- prisma/seed.ts | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cypress/integration/planner.spec.ts b/cypress/integration/planner.spec.ts index a39ae273c..aab999e9a 100644 --- a/cypress/integration/planner.spec.ts +++ b/cypress/integration/planner.spec.ts @@ -9,3 +9,5 @@ describe("Map Planner", () => { cy.get("canvas"); }); }); + +export {}; diff --git a/cypress/integration/profile.spec.ts b/cypress/integration/profile.spec.ts index 8f48e4174..1e9386741 100644 --- a/cypress/integration/profile.spec.ts +++ b/cypress/integration/profile.spec.ts @@ -2,7 +2,7 @@ describe("Profile", () => { beforeEach(() => { - cy.visit("/u/455039198672453645"); + cy.visit("/u/tester"); }); it("loads avatar", () => { @@ -13,3 +13,5 @@ describe("Profile", () => { cy.get("strong"); }); }); + +export {}; diff --git a/prisma/seed.ts b/prisma/seed.ts index c8fb188c0..29d46f547 100644 --- a/prisma/seed.ts +++ b/prisma/seed.ts @@ -22,6 +22,8 @@ const main = async () => { } }); + await prisma.salmonRunRecord.deleteMany({}); + await prisma.salmonRunRotation.deleteMany({}); await prisma.build.deleteMany({}); await prisma.profile.deleteMany({}); await prisma.user.deleteMany({});