Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autotests: Replace Undo/Redo operations with valid helper functions #6001

Open
AlexeyGirin opened this issue Nov 21, 2024 · 0 comments
Open
Assignees
Milestone

Comments

@AlexeyGirin
Copy link
Collaborator

Identify all Undo/Redo operations made by keyboard Control+Z, Control+Shift+Z and by using methods
selectTopPanelButton(TopPanelButton.Undo, page);, await selectTopPanelButton(TopPanelButton.Redo, page);
and replace them with
Undo operation ==> pressUndoButton(page)
Redo operation ==> pressRedoButton(page)
methods

Recommendation: Try to search "page.keyboard.press(" in code
That could be page.keyboard.press('Control+Z');
or page.keyboard.press('${modifier}+KeyZ'); or similar

@AlexeyGirin AlexeyGirin added this to the Autotests milestone Nov 21, 2024
@AlexeyGirin AlexeyGirin changed the title Autotests: Autotests: Replace Undo/Redo operations with valid helper functions Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants