Skip to content

Conversation

pavelfeldman
Copy link
Member

No description provided.

@@ -46,6 +47,9 @@ async def register(
await channel._channel.send("register", params)
self._registrations.append(params)

def set_test_id_attribute(self, attribute_name: str) -> None:
set_test_id_attribute_name(attribute_name)
Copy link
Member

@mxschmitt mxschmitt Oct 5, 2022

Choose a reason for hiding this comment

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

Suggested change
set_test_id_attribute_name(attribute_name)
Locator.set_test_id_attribute_name(attribute_name)

and inside Locators class:

    @staticmethod
    def set_test_id_attribute_name(date):
        ...

Try to align it as much as possible to upstream when it's easy to do, this helps for maintenance.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll align from the other side!

@pavelfeldman pavelfeldman merged commit 4fda29c into microsoft:main Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants