Skip to content

Commit 3a71009

Browse files
authored
Fix checking version history rows for regression tests (#5189)
* Fix checking version history rows for regression tests
1 parent 17c32c6 commit 3a71009

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/playwright/regression/shared/version-history.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ export const validateVersionHistoryRows = async (page: Page, expect: Expect, isA
106106
await expect(thirdRow).toBeVisible();
107107
await expect(thirdRow).toContainText('Sequence 0');
108108
await expect(thirdRow).toContainText(isAirgapped ? 'Airgap Install' : 'Online Install');
109-
await expect(thirdRow).toContainText('Currently deployed version');
110-
await expect(thirdRow.getByRole('button', { name: 'Redeploy', exact: true })).toBeVisible();
109+
await expect(thirdRow).toContainText('Previously deployed');
110+
await expect(thirdRow.getByRole('button', { name: 'Rollback', exact: true })).toBeVisible();
111111
};
112112

113113
export const deployNewVersion = async (page: Page, expect: Expect, expectedSequence: number, expectedSource: string, isMinimalRBAC: boolean, skipNavigation: boolean = false) => {

0 commit comments

Comments
 (0)