WithinQueries class Queries

Queries scoped to the provided container.

Implementers
Annotations
  • @sealed

Properties

container Node
The node within which the queries are scoped.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findAllByAltText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<List<E>>
Returns a list of ImageElements, InputElements and/or AreaElements with the given text as the value of the alt attribute, defaulting to an exact match after waiting 1000ms (or the specified timeout duration).
inherited
findAllByDisplayValue<E extends Element>(dynamic value, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<List<E>>
Returns a list of InputElement, TextAreaElement or SelectElement that has the matching value displayed, defaulting to an exact match after waiting 1000ms (or the provided timeout duration).
inherited
findAllByLabelText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<List<E>>
Returns a list of elements that are associated with a LabelElement with the given text, defaulting to an exact match after waiting 1000ms (or the provided timeout duration).
inherited
findAllByPlaceholderText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<List<E>>
Returns a list of elements with the given text as the value of the placeholder attribute, defaulting to an exact match after waiting 1000ms (or the specified timeout duration).
inherited
findAllByRole<E extends Element>(dynamic role, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, bool hidden = false, dynamic name, bool? selected, bool? checked, bool? pressed, bool? expanded, bool queryFallbacks = false, int? level, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<List<E>>
Returns a list of elements with the given role value, defaulting to an exact match after waiting 1000ms (or the provided timeout duration).
inherited
findAllByTestId<E extends Element>(dynamic testId, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<List<E>>
Returns a list of elements with the given testId value for the data-test-id attribute, defaulting to an exact match after waiting 1000ms (or the provided timeout duration).
inherited
findAllByText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, dynamic ignore = 'script', Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<List<E>>
Returns a list of elements with the given text content, defaulting to an exact match after waiting 1000ms (or the provided timeout duration).
inherited
findAllByTitle<E extends Element>(dynamic title, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<List<E>>
Returns a list of elements with the given title as the value of the title attribute, defaulting to an exact match after waiting 1000ms (or the specified timeout duration).
inherited
findByAltText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<E>
Returns a future with a single ImageElement, InputElement or AreaElement value with the given text as the value of the alt attribute, defaulting to an exact match after waiting 1000ms (or the specified timeout duration).
inherited
findByDisplayValue<E extends Element>(dynamic value, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<E>
Returns a future with a single InputElement, TextAreaElement or SelectElement that has the matching value displayed, defaulting to an exact match after waiting 1000ms (or the provided timeout duration).
inherited
findByLabelText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<E>
Returns a future with a single element that is associated with a LabelElement with the given text, defaulting to an exact match after waiting 1000ms (or the provided timeout duration).
inherited
findByPlaceholderText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<E>
Returns a future with a single element value with the given text as the value of the placeholder attribute, defaulting to an exact match after waiting 1000ms (or the specified timeout duration).
inherited
findByRole<E extends Element>(dynamic role, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, bool hidden = false, dynamic name, bool? selected, bool? checked, bool? pressed, bool? expanded, bool queryFallbacks = false, int? level, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<E>
Returns a future with a single element value with the given role value, defaulting to an exact match after waiting 1000ms (or the provided timeout duration).
inherited
findByTestId<E extends Element>(dynamic testId, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<E>
Returns a future with a single element value with the given testId value for the data-test-id attribute, defaulting to an exact match after waiting 1000ms (or the provided timeout duration).
inherited
findByText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, dynamic ignore = 'script', Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<E>
Returns a future with a single element value with the given text content, defaulting to an exact match after waiting 1000ms (or the provided timeout duration).
inherited
findByTitle<E extends Element>(dynamic title, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, Duration? timeout, Duration interval = defaultAsyncCallbackCheckInterval, QueryTimeoutFn? onTimeout, MutationObserverOptions mutationObserverOptions = defaultMutationObserverOptions}) Future<E>
Returns a future with a single element value with the given title as the value of the title attribute, defaulting to an exact match after waiting 1000ms (or the specified timeout duration).
inherited
getAllByAltText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) List<E>
Returns a list of ImageElements, InputElements and/or AreaElements with the given text as the value of the alt attribute, defaulting to an exact match.
inherited
getAllByDisplayValue<E extends Element>(dynamic value, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) List<E>
Returns a list of InputElements, TextAreaElements or SelectElements that have the matching value displayed, defaulting to an exact match.
inherited
getAllByLabelText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector}) List<E>
Returns a list of elements that are associated with a LabelElement with the given text, defaulting to an exact match.
inherited
getAllByPlaceholderText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) List<E>
Returns a list of elements with the given text as the value of the placeholder attribute, defaulting to an exact match.
inherited
getAllByRole<E extends Element>(dynamic role, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, bool hidden = false, dynamic name, bool? selected, bool? checked, bool? pressed, bool? expanded, bool queryFallbacks = false, int? level}) List<E>
Returns a list of elements with the given role value, defaulting to an exact match.
inherited
getAllByTestId<E extends Element>(dynamic testId, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) List<E>
Returns a list of elements with the given testId value for the data-test-id attribute, defaulting to an exact match.
inherited
getAllByText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, dynamic ignore = 'script'}) List<E>
Returns a list of elements with the given text content, defaulting to an exact match.
inherited
getAllByTitle<E extends Element>(dynamic title, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) List<E>
Returns a list of elements with the given title as the value of the title attribute, defaulting to an exact match.
inherited
getByAltText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → E
Returns a single ImageElement, InputElement or AreaElement with the given text as the value of the alt attribute, defaulting to an exact match.
inherited
getByDisplayValue<E extends Element>(dynamic value, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → E
Returns a single InputElement, TextAreaElement or SelectElement that has the matching value displayed, defaulting to an exact match.
inherited
getByLabelText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector}) → E
Returns a single element that is associated with a LabelElement with the given text, defaulting to an exact match.
inherited
getByPlaceholderText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → E
Returns a single element with the given text as the value of the placeholder attribute, defaulting to an exact match.
inherited
getByRole<E extends Element>(dynamic role, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, bool hidden = false, dynamic name, bool? selected, bool? checked, bool? pressed, bool? expanded, bool queryFallbacks = false, int? level}) → E
Returns a single element with the given role value, defaulting to an exact match.
inherited
getByTestId<E extends Element>(dynamic testId, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → E
Returns a single element with the given testId value for the data-test-id attribute, defaulting to an exact match.
inherited
getByText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, dynamic ignore = 'script'}) → E
Returns a single element with the given text content, defaulting to an exact match.
inherited
getByTitle<E extends Element>(dynamic title, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → E
Returns a single element with the given title as the value of the title attribute, defaulting to an exact match.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryAllByAltText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) List<E>
Returns a list of ImageElements, InputElements and/or AreaElements with the given text as the value of the alt attribute, defaulting to an exact match.
inherited
queryAllByDisplayValue<E extends Element>(dynamic value, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) List<E>
Returns a list of InputElements, TextAreaElements or SelectElements that have the matching value displayed, defaulting to an exact match.
inherited
queryAllByLabelText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector}) List<E>
Returns a list of elements that are associated with a LabelElement with the given text, defaulting to an exact match.
inherited
queryAllByPlaceholderText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) List<E>
Returns a list of elements with the given text as the value of the placeholder attribute, defaulting to an exact match.
inherited
queryAllByRole<E extends Element>(dynamic role, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, bool hidden = false, dynamic name, bool? selected, bool? checked, bool? pressed, bool? expanded, bool queryFallbacks = false, int? level}) List<E>
Returns a list of elements with the given role value, defaulting to an exact match.
inherited
queryAllByTestId<E extends Element>(dynamic testId, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) List<E>
Returns a list of elements with the given testId value for the data-test-id attribute, defaulting to an exact match.
inherited
queryAllByText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, dynamic ignore = 'script'}) List<E>
Returns a list of elements with the given text content, defaulting to an exact match.
inherited
queryAllByTitle<E extends Element>(dynamic title, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) List<E>
Returns a list of elements with the given title as the value of the title attribute, defaulting to an exact match.
inherited
queryByAltText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → E?
Returns a single ImageElement, InputElement or AreaElement with the given text as the value of the alt attribute, defaulting to an exact match.
inherited
queryByDisplayValue<E extends Element>(dynamic value, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → E?
Returns a single InputElement, TextAreaElement or SelectElement that has the matching value displayed, defaulting to an exact match.
inherited
queryByLabelText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector}) → E?
Returns a single element that is associated with a LabelElement with the given text, defaulting to an exact match.
inherited
queryByPlaceholderText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → E?
Returns a single element with the given text as the value of the placeholder attribute, defaulting to an exact match.
inherited
queryByRole<E extends Element>(dynamic role, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, bool hidden = false, dynamic name, bool? selected, bool? checked, bool? pressed, bool? expanded, bool queryFallbacks = false, int? level}) → E?
Returns a single element with the given role value, defaulting to an exact match.
inherited
queryByTestId<E extends Element?>(dynamic testId, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → E?
Returns a single element with the given testId value for the data-test-id attribute, defaulting to an exact match.
inherited
queryByText<E extends Element>(dynamic text, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?, String? selector, dynamic ignore = 'script'}) → E?
Returns a single element with the given text content, defaulting to an exact match.
inherited
queryByTitle<E extends Element>(dynamic title, {bool exact = true, NormalizerFn normalizer([NormalizerOptions?])?}) → E?
Returns a single element with the given title as the value of the title attribute, defaulting to an exact match.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited