mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-12 11:50:22 +03:00
fix(types): toHaveAttribute had its signature backwards (#8314)
This commit is contained in:
parent
ddcdb6d413
commit
5357b2f280
2
types/testExpect.d.ts
vendored
2
types/testExpect.d.ts
vendored
@ -117,7 +117,7 @@ declare global {
|
|||||||
/**
|
/**
|
||||||
* Asserts element's attributes `name` matches expected value.
|
* Asserts element's attributes `name` matches expected value.
|
||||||
*/
|
*/
|
||||||
toHaveAttribute(expected: string | RegExp, name: string, options?: { timeout?: number }): Promise<R>;
|
toHaveAttribute(name: string, expected: string | RegExp, options?: { timeout?: number }): Promise<R>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Asserts that DOM node has a given CSS class.
|
* Asserts that DOM node has a given CSS class.
|
||||||
|
Loading…
Reference in New Issue
Block a user