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

Revert "feat(matchers): add toContainClass (#15491)" #15670

Conversation

mxschmitt
Copy link
Member

@mxschmitt mxschmitt commented Jul 14, 2022

This reverts commit e4debd0.

Motivation: It's confusing between passing an array and not an array or a nested array. This in combination with having two methods (toHaveClass) and the ability to match multiple elements / locators is not idiomatic so we'll hold it back for now until the API is more clearer.

Reopens #14117.

@mxschmitt mxschmitt requested a review from dgozman July 14, 2022 19:38
@mxschmitt mxschmitt merged commit 4bba41a into microsoft:main Jul 14, 2022
mxschmitt added a commit to mxschmitt/playwright that referenced this pull request Jul 14, 2022
rwoll pushed a commit to rwoll/playwright that referenced this pull request Jul 15, 2022
rwoll pushed a commit to rwoll/playwright that referenced this pull request Jul 15, 2022
mxschmitt added a commit that referenced this pull request Jul 15, 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