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

Integration tests for GraphNodeComment #11575

Closed
wants to merge 3 commits into from
Closed

Conversation

kazcw
Copy link
Contributor

@kazcw kazcw commented Nov 15, 2024

Pull Request Description

Integration tests for GraphNodeComment

Also a little refactoring in preparation for CM-based PlainTextEditor.

Important Notes

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,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • Unit tests have been written where possible.
  • If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
    or the Snowflake database integration, a run of the Extra Tests has been scheduled.
    • If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

Also a little refactoring in preparation for new implementation.
@kazcw kazcw added the CI: No changelog needed Do not require a changelog entry for this PR. label Nov 15, 2024
@kazcw kazcw self-assigned this Nov 15, 2024
Comment on lines +12 to +13
await nodeComment.click()
await page.keyboard.press(`${CONTROL_KEY}+A`)
Copy link
Contributor

Choose a reason for hiding this comment

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

Just checking, as I don't know exactly how it works: if the click changes some HTML elements (like, the editable input appears only after clicking), we should add an expect here, otherwise Ctrl+A may be applied before input appears resulting in flaky test.

@kazcw kazcw added the CI: Ready to merge This PR is eligible for automatic merge label Nov 18, 2024
kazcw added a commit that referenced this pull request Nov 18, 2024
Eliminates Lexical dependency. Stacked on #11575 and #31607.
@kazcw kazcw added the CI: Keep up to date Automatically update this PR to the latest develop. label Nov 18, 2024
@kazcw
Copy link
Contributor Author

kazcw commented Nov 19, 2024

Merged into #11564.

@kazcw kazcw closed this Nov 19, 2024
@kazcw kazcw deleted the wip/kw/node-comment-tests branch November 19, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Keep up to date Automatically update this PR to the latest develop. 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