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

[QA] Undo / Redo using toolbar icons #439

Open
brauliodiez opened this issue Oct 15, 2024 · 0 comments
Open

[QA] Undo / Redo using toolbar icons #439

brauliodiez opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels

Comments

@brauliodiez
Copy link
Member

Undo / Redo is a functionallity that it can be easy to break accidentally, let's add some e2e tests to ensure it is working fine.

We are going to test Undo / Redo using the toolbar buttons.

Scenario 1

  • Start QuickMock
  • Click on start designing
  • Add an input shape
  • Click on the toolbar undo button
  • Canvas should contain no shapes
  • Click on the redo button
  • Canvas should contain the shape again

Scenario 2

  • Start QuickMock
  • Click on start designing
  • Add an input shape
  • Add a combo shape
  • Click on the toolbar undo button
  • Canvas should contain only an input shape
  • Click on the redo button
  • Canvas should contain the two shapes again

Scenario 3

  • Start QuickMock
  • Click on start designing
  • Add an input shape
  • Start inline editing and enter Hello
  • Click on the toolbar undo button
  • Canvas should contain an input shape with the text "Hello"
  • Click on the redo button
  • Canvas should contain the shape but with the original text

Scenario 4

  • Start QuickMock
  • Click on start designing
  • Add an input shape
  • Drag it 100px to the right
  • Click on Undo
  • Shape should be in the sample place

Scenario 5:

  • Start quickMock
  • Drag and drop:
    • an Input
    • a dropdown
    • an Accordion
  • Click on undo button three times, there should be no items in the canvas
  • Click on redo button three times, the three shapes should be displayed again
@brauliodiez brauliodiez added the QA label Oct 15, 2024
@Alber-Writer Alber-Writer self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants