Add tests

This commit is contained in:
Benjamin Lu
2025-09-26 14:43:16 -07:00
parent 4b95ef94df
commit 8da5ae3af6
4 changed files with 102 additions and 0 deletions

View File

@@ -13,6 +13,13 @@ export class VueNodeHelpers {
return this.page.locator('[data-node-id]')
}
/**
* Get locator for a Vue node by its NodeId
*/
getNodeLocator(nodeId: string): Locator {
return this.page.locator(`[data-node-id="${nodeId}"]`)
}
/**
* Get locator for selected Vue node components (using visual selection indicators)
*/