Skip to content

Commit 13383c0

Browse files
committed
Update tests
Signed-off-by: Ian Bolton <ibolton@redhat.com>
1 parent 8c115d6 commit 13383c0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/e2e/pages/vscode.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ export abstract class VSCode {
426426
}
427427
await targetProfile.click({ timeout: 60000 });
428428

429-
const deleteButton = manageProfileView.getByRole('button', { name: 'Delete Profile' });
429+
const deleteButton = manageProfileView.getByRole('button', { name: 'Delete' });
430430
await deleteButton.waitFor({ state: 'visible', timeout: 10000 });
431431
await expect(deleteButton).toBeEnabled();
432432
await this.window.screenshot({

tests/e2e/tests/base/profile-management.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ test.describe(`Profile Tests`, { tag: ['@tier3'] }, () => {
5555
await sourceInput.click({ delay: 500 });
5656
await expect(errorMessage).toBeVisible();
5757
// Cleanup: deleting immediately to prevent afterAll cleanup from failing, when multiple profiles share the same name.
58-
const deleteButton = profileView.getByRole('button', { name: 'Delete Profile' });
58+
const deleteButton = profileView.getByRole('button', { name: 'Delete' });
5959
await deleteButton.waitFor({ state: 'visible', timeout: 10000 });
6060
// Ensures the button is clicked even if there are notifications overlaying it due to screen size
6161
await deleteButton.first().dispatchEvent('click');

0 commit comments

Comments
 (0)