test: Migrate small Cypress tests to Playwright (#18922)

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
shortstacked
2025-08-29 09:04:47 +01:00
committed by GitHub
parent 1bc317dce5
commit 7dd89d77d9
18 changed files with 388 additions and 190 deletions

View File

@@ -9,6 +9,10 @@ export class SettingsPage extends BasePage {
return this.page.getByTestId('menu-item').getByTestId(id);
}
getMenuItemByText(text: string) {
return this.page.getByTestId('menu-item').getByText(text, { exact: true });
}
async goToSettings() {
await this.page.goto('/settings');
}