From e976a172518275b70fd514560ca58998b6112139 Mon Sep 17 00:00:00 2001 From: April Hall Date: Fri, 28 Feb 2025 09:15:01 -0500 Subject: [PATCH] fix: Delete unnessecary test --- tests/updateUsername.spec.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/updateUsername.spec.ts b/tests/updateUsername.spec.ts index 8e0d1ab..0d37a81 100644 --- a/tests/updateUsername.spec.ts +++ b/tests/updateUsername.spec.ts @@ -95,13 +95,4 @@ test.describe('Username Update Form', () => { // Check for error message await expectError('Username cannot contain special characters.', page); }); - - // Test validation error for empty username - test('should show validation error for empty username', async () => { - await usernameInput.fill(''); - await submitButton.click(); - - // Check for error message - assuming there's a custom message or using the min length one - await expectError('Username must be at least 3 characters.', page); - }); });