From 4e080af397a0c0a3ac4416cc582aa3127315bd06 Mon Sep 17 00:00:00 2001 From: Timothy Jacobs Date: Tue, 17 Sep 2024 17:01:18 -0700 Subject: [PATCH] remove test checking for unique constraint --- .../profile/applications-passwords.test.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/tests/e2e/specs/profile/applications-passwords.test.js b/tests/e2e/specs/profile/applications-passwords.test.js index 38aed7372eace..7926681baf403 100644 --- a/tests/e2e/specs/profile/applications-passwords.test.js +++ b/tests/e2e/specs/profile/applications-passwords.test.js @@ -35,23 +35,6 @@ test.describe( 'Manage applications passwords', () => { ); } ); - test('should not allow to create two applications passwords with the same name', async ( { - page, - applicationPasswords - } ) => { - await applicationPasswords.create(); - await applicationPasswords.create(); - - const errorMessage = page.getByRole( 'alert' ); - - await expect( errorMessage ).toHaveClass( /notice-error/ ); - await expect( - errorMessage - ).toContainText( - 'Each application name should be unique.' - ); - }); - test( 'should correctly revoke a single application password', async ( { page, applicationPasswords