Files
n8n/packages/testing/playwright/pages/VersionsPage.ts
T
7a8742d7db chore: Route remaining genuine selector-purity chained locators in tests through page objects (#33850)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 15:10:30 +00:00

16 lines
365 B
TypeScript

import { BasePage } from './BasePage';
export class VersionsPage extends BasePage {
get container() {
return this.page.getByTestId('version-updates-panel');
}
getVersionCard() {
return this.container.getByTestId('version-card');
}
getSecurityBadge() {
return this.getVersionCard().first().locator('.el-tag--danger').getByText('Security update');
}
}