Const
String that specifies the ID value.
Dispatch the `click`` method on an element specified by selector.
A CSS selector string, or an instance of an HTMLElement.
The event to dispatch
Optional
element: null | Element | WindowThe element to dispatch from, or
will use window
if none given.
Return an object containing the values of all CSS properties of an element, after applying active stylesheets.
Return true
if the given element is visible.
Copy pasted from https://raw.githubusercontent.com/testing-library/jest-dom/master/src/to-be-visible.js
Optional
previousElement: ElementReturns the first element that is a descendant of node that matches selectors.
Returns all element descendants of node that match selectors.
Sleeps for ms
milliseconds.
Wait for an element to appear in the DOM, then resolve the promise. Either a query selector or lambda function must be provided.
Optional
selector: null | stringThe CSS selector to use
Optional
args: null | { Configuration args
Optional
lambda: (() => null | Element)An optional function that returns the
element. Used if the selector
is not provided.
A promise that resolves to the found element.
Look for the given text within the given parent element. Return the element containing the text.
Returns a reference to the first object with the specified value of the ID attribute.