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

Add semantic properties to DialogWindow, Popup and Dialog #698

Conversation

m-sasha
Copy link

@m-sasha m-sasha commented Jul 20, 2023

Proposed Changes

  • Add dialog() semantic property to DialogWindow.
  • Add dialog() semantic property to Dialog
  • Add popup() semantic property to Popup.

Testing

Test: Added (and enabled) unit tests for this.

@@ -51,7 +51,7 @@ class TextActionsTest {
TestTextField("hello")
}

with(rule.onNodeWithTag("tag")){
with(rule.onNodeWithTag("tag")) {
Copy link
Member

Choose a reason for hiding this comment

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

It looks like only whitespace changed in this file

Copy link
Author

Choose a reason for hiding this comment

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

Yes, I fixed it here and in a bunch of other test files.

@m-sasha m-sasha force-pushed the m-sasha/dialog-and-window-scenes-in-test-roots branch from 3d4bd82 to 5fd71e6 Compare July 20, 2023 20:29
@m-sasha m-sasha force-pushed the m-sasha/add-semantic-properties-to-dialogwindow-popup-and-dialog branch 2 times, most recently from ed8278e to 09cd413 Compare July 20, 2023 20:38
@m-sasha m-sasha force-pushed the m-sasha/dialog-and-window-scenes-in-test-roots branch from 5fd71e6 to 8b8cc84 Compare July 21, 2023 11:55
@m-sasha m-sasha force-pushed the m-sasha/add-semantic-properties-to-dialogwindow-popup-and-dialog branch from 09cd413 to 311a2e5 Compare July 21, 2023 11:56
Copy link
Member

@MatkovIvan MatkovIvan left a comment

Choose a reason for hiding this comment

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

Should we reuse


?

UPD: Will be fixed in separate PR

@m-sasha m-sasha force-pushed the m-sasha/dialog-and-window-scenes-in-test-roots branch 3 times, most recently from 90c1950 to 4862e61 Compare July 24, 2023 12:55
Base automatically changed from m-sasha/dialog-and-window-scenes-in-test-roots to jb-main July 24, 2023 12:57
@m-sasha m-sasha force-pushed the m-sasha/add-semantic-properties-to-dialogwindow-popup-and-dialog branch from 311a2e5 to 4769460 Compare July 24, 2023 12:58
@m-sasha m-sasha force-pushed the m-sasha/add-semantic-properties-to-dialogwindow-popup-and-dialog branch from 4769460 to e732e9a Compare July 24, 2023 13:15
@m-sasha m-sasha merged commit cc08f07 into jb-main Jul 24, 2023
2 checks passed
@m-sasha m-sasha deleted the m-sasha/add-semantic-properties-to-dialogwindow-popup-and-dialog branch July 24, 2023 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants