Skip to content

chore: revert toHaveAttribute type sig and overloads#17406

Merged
rwoll merged 1 commit into
microsoft:mainfrom
rwoll:reverts/to-have-attr
Sep 16, 2022
Merged

chore: revert toHaveAttribute type sig and overloads#17406
rwoll merged 1 commit into
microsoft:mainfrom
rwoll:reverts/to-have-attr

Conversation

@rwoll
Copy link
Copy Markdown
Member

@rwoll rwoll commented Sep 16, 2022

Revert "docs(python): add missing NotToHaveAttribute overloads (#17371)"

This reverts commit 2e1ea29.

Revert "docs(release-notes): add 1.26 release notes for language ports (#17345)"

This reverts commit 4b8a85e.

Revert "test: unflake "should support boolean attribute with options" (#17024)"

This reverts commit 1dc05bd.

Revert "fix: support toHaveAttribute(name, options) (#16941)"

This reverts commit f30ac1d.

Revert "feat: expect(locator).toHaveAttribute to assert attribute presence (#16767)"

This reverts commit 622c73c.

Revert "docs(python): add missing NotToHaveAttribute overloads (microsoft#17371)"

This reverts commit 2e1ea29.

Revert "docs(release-notes): add 1.26 release notes for language ports (microsoft#17345)"

This reverts commit 4b8a85e.

Revert "test: unflake "should support boolean attribute with options" (microsoft#17024)"

This reverts commit 1dc05bd.

Revert "fix: support toHaveAttribute(name, options) (microsoft#16941)"

This reverts commit f30ac1d.

Revert "feat: expect(locator).toHaveAttribute to assert attribute presence (microsoft#16767)"

This reverts commit 622c73c.
Comment on lines -7 to -20
## Version 1.26

### Assertions

- [`method: LocatorAssertions.toHaveAttribute#2`] can now be used for asserting attribute existence.
- New option `enabled` for [`method: LocatorAssertions.toBeEnabled`].
- [`method: LocatorAssertions.toHaveText`] now pierces open shadow roots.
- New option `editable` for [`method: LocatorAssertions.toBeEditable`].
- New option `visible` for [`method: LocatorAssertions.toBeVisible`].

### Other highlights

- New option `max_redirects` for [`method: APIRequestContext.get`] and others to limit redirect count.
- Python 3.11 is now supported.
Copy link
Copy Markdown
Member Author

@rwoll rwoll Sep 16, 2022

Choose a reason for hiding this comment

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

We'll bring back the release notes cleanly post cherry-pick closer to actual release. Some release notes got reverted since they were changed in 4b8a85e which also coupled a change to code. To get a clean, conflict free revert just included the whole commit.

Comment thread docs/src/api/class-locatorassertions.md
@rwoll rwoll merged commit 8d639ae into microsoft:main Sep 16, 2022
@rwoll rwoll deleted the reverts/to-have-attr branch September 16, 2022 18:17
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