feat(editor): NDV in focus panel experiment feedback (no-changelog) (#19304)

This commit is contained in:
Suguru Inoue
2025-09-15 12:30:17 +02:00
committed by GitHub
parent 3576443a01
commit c15e9437ee
32 changed files with 543 additions and 127 deletions

View File

@@ -0,0 +1,24 @@
import type { Locator } from '@playwright/test';
export class FocusPanel {
constructor(private root: Locator) {}
/**
* Accessors
*/
getHeader(): Locator {
return this.root.locator('header');
}
getParameterInputField(path: string): Locator {
return this.root.locator(
`[data-test-id="parameter-input-field"][title="Parameter: \\"${path}\\""]`,
);
}
getMapper(): Locator {
// find from the entire page because the mapper is rendered as portal
return this.root.page().getByRole('tooltip').getByTestId('ndv-input-panel');
}
}