test: Migrate sticky test from Cypress -> Playwright (#19185)

This commit is contained in:
shortstacked
2025-09-04 14:16:42 +01:00
committed by GitHub
parent 026da46d0d
commit 85cfe6cff8
4 changed files with 138 additions and 0 deletions

View File

@@ -4,8 +4,11 @@ import { nanoid } from 'nanoid';
import { BasePage } from './BasePage';
import { ROUTES } from '../config/constants';
import { resolveFromRoot } from '../utils/path-helper';
import { StickyComponent } from './components/StickyComponent';
export class CanvasPage extends BasePage {
readonly sticky = new StickyComponent(this.page);
saveWorkflowButton(): Locator {
return this.page.getByRole('button', { name: 'Save' });
}