From 8f1af0b0cc1aa777d40038eccfcac784ca5c66fb Mon Sep 17 00:00:00 2001 From: "J. Shane Kunkle" Date: Thu, 7 Nov 2024 14:34:25 -0500 Subject: [PATCH 1/3] New test to repo bug User starts fresh and creates devresults team and logs out. Bug = then same user is unable to create a second devresults team --- test/auth.test.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/auth.test.ts b/test/auth.test.ts index 53812fe4..e565fb39 100644 --- a/test/auth.test.ts +++ b/test/auth.test.ts @@ -135,3 +135,14 @@ test("can sign out", async ({ context }) => { await herb.signOut() await herb.expect.toBeLoggedOut() }) + +test("user can create two DevResults teams", async ({ context }) => { + const herb = await newBrowser(context) + await herb.createTeam("herb", "DevResults") + await herb.expect.toBeLoggedIn("Herb") + await herb.signOut() + await herb.expect.toBeLoggedOut() + await herb.pressButton("Sign in again") + await herb.createTeam("herb", "DevResults") + await herb.expect.toBeLoggedIn("Herb") +}) From 5bf9cc9a09b551138a8cdcaa67f7b0e033688849 Mon Sep 17 00:00:00 2001 From: "J. Shane Kunkle" Date: Thu, 7 Nov 2024 14:35:42 -0500 Subject: [PATCH 2/3] Add some comments --- test/auth.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/auth.test.ts b/test/auth.test.ts index e565fb39..eda5b6a7 100644 --- a/test/auth.test.ts +++ b/test/auth.test.ts @@ -137,6 +137,9 @@ test("can sign out", async ({ context }) => { }) test("user can create two DevResults teams", async ({ context }) => { + // this test was built to debug a specific bug where a single user + // was unable to create a devresults team, log out and then create a + // second devresults team const herb = await newBrowser(context) await herb.createTeam("herb", "DevResults") await herb.expect.toBeLoggedIn("Herb") From 189ea29d7256779eb6c1d844618e3818708b5f01 Mon Sep 17 00:00:00 2001 From: Herb Caudill Date: Fri, 31 Jan 2025 09:52:36 +0100 Subject: [PATCH 3/3] auth.test: mark new failing test as fixme --- test/auth.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/auth.test.ts b/test/auth.test.ts index eda5b6a7..b0e0a9f6 100644 --- a/test/auth.test.ts +++ b/test/auth.test.ts @@ -136,7 +136,7 @@ test("can sign out", async ({ context }) => { await herb.expect.toBeLoggedOut() }) -test("user can create two DevResults teams", async ({ context }) => { +test.fixme("user can create two DevResults teams", async ({ context }) => { // this test was built to debug a specific bug where a single user // was unable to create a devresults team, log out and then create a // second devresults team