From e470a7d49cf3e8e9cf3f95385c2f6e2f384ab3c6 Mon Sep 17 00:00:00 2001 From: Carly Richmond <74931905+carlyrichmond@users.noreply.github.com> Date: Sun, 21 Apr 2024 14:12:15 +0100 Subject: [PATCH] Fix broken start tests --- cake-game/src/routes/start/Start.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake-game/src/routes/start/Start.test.js b/cake-game/src/routes/start/Start.test.js index 9e8d01d..c186c28 100644 --- a/cake-game/src/routes/start/Start.test.js +++ b/cake-game/src/routes/start/Start.test.js @@ -15,5 +15,5 @@ test('should enter username', async ({ mount }) => { const username = 'rubber-ducky' usernameInput.fill('username'); - await expect(usernameInput).toHaveText(username); + await expect(await usernameInput.inputValue()).toBe(username); }); \ No newline at end of file