Skip to content

Commit

Permalink
remove test checking for unique constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyBJacobs committed Sep 18, 2024
1 parent 7a98ba3 commit 4e080af
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tests/e2e/specs/profile/applications-passwords.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e080af

Please sign in to comment.