chore(tests): contour segment interactions e2e tests - rename and togglevisibility (#5891)
This commit is contained in:
1 parent
87eeefdf1b
commit
fe762b68e8
6 files changed
+214
-1
No files matched your search
@@ -33,6 +33,7 @@ export class DOMOverlayPageObject {
|
||||
get input() {
|
||||
const locator = page.getByTestId('dialog-input');
|
||||
const saveButton = page.getByTestId('input-dialog-save-button');
|
||||
const cancelButton = page.getByTestId('input-dialog-cancel-button');
|
||||
return {
|
||||
locator,
|
||||
fill: async (text: string) => {
|
||||
@@ -45,6 +46,13 @@ export class DOMOverlayPageObject {
|
||||
save: async () => {
|
||||
await saveButton.click();
|
||||
},
|
||||
fillAndCancel: async (text: string) => {
|
||||
await locator.fill(text);
|
||||
await cancelButton.click();
|
||||
},
|
||||
cancel: async () => {
|
||||
await cancelButton.click();
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user