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

chore: roll to Playwright ToT #1576

Merged
merged 1 commit into from Oct 5, 2022

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.

None yet

2 participants