n8n/packages/testing/playwright/pages/VersionsPage.ts
n8n-cat-bot[bot] 7a8742d7db
Some checks are pending
Build: Benchmark Image / build (push) Waiting to run
CI: Master (Build, Test, Lint) / Build for Github Cache (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (22.22.3) (push) Waiting to run
CI: Master (Build, Test, Lint) / Unit tests (24.16.0) (push) Waiting to run
CI: Master (Build, Test, Lint) / Lint (push) Waiting to run
CI: Master (Build, Test, Lint) / Performance (push) Waiting to run
CI: Master (Build, Test, Lint) / Notify Slack on failure (push) Blocked by required conditions
Util: Sync API Docs / sync-public-api (push) Waiting to run
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');
}
}