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

Creation of a moving methods of (single and multiple) elements for SWTBot UI Tests in class SWTBotFB #604

Open
Andrearium opened this issue Oct 8, 2024 · 0 comments
Labels
google-summer-of-code Issues specifically targeted at students enrolled in the program Google Summer of Code ui-test

Comments

@Andrearium
Copy link

Andrearium commented Oct 8, 2024

As the number of SWTBot tests increases, a method for moving a single FB or multiple FBs are useful to make the test more readable and code parts reusable. In addition, the methods have a tolerance when asserting the new position with to compensate for the alignment on the grid.

Andrearium added a commit to Andrearium/4diac-ide that referenced this issue Oct 8, 2024
Added a method for moving a single FB in class SWTBotFB for better
readability and reusability of FB moving related code in SWTBot UI
tests.

Addresses eclipse-4diac#604
@Andrearium Andrearium changed the title Creation of a moveSingleFB method for SWTBot UI Tests in class SWTBotFB Creation of a moving methods of (single and multiple) elements for SWTBot UI Tests in class SWTBotFB Oct 14, 2024
Andrearium added a commit to Andrearium/4diac-ide that referenced this issue Oct 15, 2024
Added a method for moving a single FB in class SWTBotFB for better
readability and reusability of FB moving related code in SWTBot UI
tests.

Addresses eclipse-4diac#604
Andrearium added a commit to Andrearium/4diac-ide that referenced this issue Oct 15, 2024
Added methods for selecting and moving elements via selection with a
rectangle - unfinished

Addresses eclipse-4diac#604
Andrearium added a commit to Andrearium/4diac-ide that referenced this issue Oct 15, 2024
With the new methods from the previous commits
 - moveSingleFB
 - selectViaRectangle
 - moveViaRectangle and
 - getPositionOfSelectedElements
all Basic2FBNetwork tests are now running again, also the slightly
different position due to SnapToGrid was also taken into account.

Addresses eclipse-4diac#604
azoitl pushed a commit that referenced this issue Oct 21, 2024
Added a method for moving a single FB in class SWTBotFB for better
readability and reusability of FB moving related code in SWTBot UI
tests.

Addresses #604
azoitl pushed a commit that referenced this issue Oct 21, 2024
Added methods for selecting and moving elements via selection with a
rectangle - unfinished

Addresses #604
azoitl pushed a commit that referenced this issue Oct 21, 2024
With the new methods from the previous commits
 - moveSingleFB
 - selectViaRectangle
 - moveViaRectangle and
 - getPositionOfSelectedElements
all Basic2FBNetwork tests are now running again, also the slightly
different position due to SnapToGrid was also taken into account.

Addresses #604
Andrearium added a commit to Andrearium/4diac-ide that referenced this issue Oct 29, 2024
The SWTBot test method moveBothFBTogether() is now running with a
tolerance for the bounds to avoid failing the test due to snap to grid.

eclipse-4diac#604
Andrearium added a commit to Andrearium/4diac-ide that referenced this issue Oct 29, 2024
The SWTBot test methods
- checkIfConnectionRemainsAfterMovingBothFBsTogether()
- checkIfConnectionRemainsAfterMoving1FB()
were improved with new helping methods in class SWTBotFB

eclipse-4diac#604
Andrearium added a commit to Andrearium/4diac-ide that referenced this issue Oct 29, 2024
…clipse-4diac#604

The SWTBot test methods
- moveFB()
- connectionCanBeFoundArferMovingFB()
were improved with helping methods in class SWTBotFB

eclipse-4diac#604
@Andrearium Andrearium added google-summer-of-code Issues specifically targeted at students enrolled in the program Google Summer of Code ui-test labels Oct 29, 2024
azoitl pushed a commit that referenced this issue Nov 4, 2024
The SWTBot test method moveBothFBTogether() is now running with a
tolerance for the bounds to avoid failing the test due to snap to grid.

#604
azoitl pushed a commit that referenced this issue Nov 4, 2024
The SWTBot test methods
- checkIfConnectionRemainsAfterMovingBothFBsTogether()
- checkIfConnectionRemainsAfterMoving1FB()
were improved with new helping methods in class SWTBotFB

#604
azoitl pushed a commit that referenced this issue Nov 4, 2024


The SWTBot test methods
- moveFB()
- connectionCanBeFoundArferMovingFB()
were improved with helping methods in class SWTBotFB

#604
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
google-summer-of-code Issues specifically targeted at students enrolled in the program Google Summer of Code ui-test
Projects
None yet
Development

No branches or pull requests

1 participant