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

Proper fix for editing node #9153

Merged
merged 3 commits into from
Feb 23, 2024
Merged

Proper fix for editing node #9153

merged 3 commits into from
Feb 23, 2024

Conversation

farmaazon
Copy link
Contributor

@farmaazon farmaazon commented Feb 23, 2024

Pull Request Description

The replacement for #9144

We try to match bindings using "buttons" field, but it in fact does not contain the just-released buttons.

Important Notes

I added tests for editing node. Also, I decided that the cursor position should be at the end of line when starting editing by clicking at "edit" icon.

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • [ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • All code has been tested:
    • Unit tests have been written where possible.
    • If GUI codebase was changed, the GUI was tested when built using ./run ide build.

@farmaazon farmaazon added CI: No changelog needed Do not require a changelog entry for this PR. --bug Type: bug --regression Important: regression -gui labels Feb 23, 2024
@farmaazon farmaazon self-assigned this Feb 23, 2024

// Edit again, using "edit" button
await locate.graphNodeIcon(node).click()
await node.locator('.CircularMenu .slot6').click()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That edit button locator could be moved to an utility as well, since the slot6 class is not providing any meaning.

@Frizi Frizi mentioned this pull request Feb 23, 2024
5 tasks
@farmaazon farmaazon added the CI: Ready to merge This PR is eligible for automatic merge label Feb 23, 2024
@mergify mergify bot merged commit 8c286da into develop Feb 23, 2024
25 of 27 checks passed
@mergify mergify bot deleted the wip/farmaazon/fix-clicks branch February 23, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
--bug Type: bug --regression Important: regression -gui CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants