menu- bones_ui package
- documentation
- bones_ui_test.dart
- UITestChain<U extends UIRoot, E, P extends UITestChain<U, dynamic, dynamic, dynamic>, T extends UITestChain<U, E, P, T>> class
UITestChain<U extends UIRoot, E, P extends UITestChain<U, dynamic, dynamic, dynamic>, T extends UITestChain<U, E, P, T>> class
UITestChain<U extends UIRoot, E, P extends UITestChain<U, dynamic, dynamic, dynamic>, T extends UITestChain<U, E, P, T>> class
abstract
- Implementers
- Available extensions
Methods
-
call(void call(E e))
→ T
-
-
callAsync(dynamic call(E e))
→ FutureOr<T>
-
-
checkbox(bool check, [String? selectors])
→ T
-
-
click([String? selectors])
→ T
-
-
exists()
→ T
-
-
expect(dynamic actual, dynamic matcher, {String? reason})
→ T
-
-
expectElement(String selectors, {Object? root, String? reason, List<Element> mapper(List<Element> elems)?, bool validator(List<Element> elems)?})
→ T
-
-
expectLater(dynamic actual, dynamic matcher, {String? reason})
→ Future<T>
-
-
expectMapped<R>(R mapper(E e), dynamic matcher, {String? reason})
→ T
-
-
expectMappedLater<R>(R mapper(E e), dynamic matcher, {String? reason})
→ Future<T>
-
-
expectMatch(dynamic matcher, {String? reason})
→ T
-
-
expectMatchLater(dynamic matcher, {String? reason})
→ Future<T>
-
-
expectRoute(String route, {String? reason})
→ T
-
-
expectRoutes(List<String> routes, {String? reason})
→ T
-
-
log({Object? msg, String? prefix})
→ T
-
-
logDocument({String? id, bool compressed = false})
→ T
-
-
logMapped<R>(R mapper(E e), {String? prefix})
→ T
-
-
logMessage(String level, Object? message, {Object? prefix})
→ T
-
-
logRoute({String? prefix})
→ T
-
-
map<O>(O mapper(E e))
→ UITestChainNode<U, O, T>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
querySelector(String? selectors, {bool expected = false})
→ UITestChainNode<U, Element?, T>
-
Alias to Element.querySelector or UIComponent.querySelector.
-
querySelectorAll<O extends Element>(String? selectors, {bool expected = false})
→ UITestChainNode<U, List<O>, T>
-
Alias to UIComponent.querySelectorAll.
-
renderAndWait({Duration timeout = const Duration(seconds: 3)})
→ Future<T>
-
Alias to UIComponent.callRenderAndWait.
-
renderTestUI({int ms = 100})
→ Future<T>
-
Alias to
TestUIComponentExtension.prepareTestRendering
.
-
select(String? selectors, {bool expected = false})
→ UITestChainNode<U, Element?, T>
-
Alias to querySelector.
-
selectAll<O extends Element>(String? selectors, {bool expected = false})
→ UITestChainNode<U, List<O>, T>
-
Alias to querySelectorAll.
-
selectExpected(String? selectors)
→ UITestChainNode<U, Element, T>
-
Alias to querySelector.
-
selectFirstWhere<O extends Element>(String? selectors, bool test(Element element), {bool expected = false})
→ UITestChainNode<U, O?, T>
-
Alias to querySelectorAll +
firstWhereOrNull
.
-
selectFirstWhereUntil<O extends Element>(String? selectors, bool test(Element element), {int? timeoutMs, int? intervalMs, int? minMs, Iterable<Element> mapper(List<Element> elems)?})
→ Future<UITestChainNode<U, O, T>>
-
Alias to sleepUntilElement + querySelectorAll +
firstWhereOrNull
.
-
selectIndex(int index, [String? selectors])
→ T
-
-
selectUntil<O extends Element>(String? selectors, {int? timeoutMs, int? intervalMs, int? minMs, Iterable<Element> mapper(List<Element> elems)?})
→ Future<UITestChainNode<U, O, T>>
-
Alias to sleepUntilElement + querySelectorAll
-
selectWhere<O extends Element>(String? selectors, bool test(Element element), {bool expected = false})
→ UITestChainNode<U, List<O>, T>
-
Alias to querySelectorAll +
where
.
-
selectWhereUntil<O extends Element>(String? selectors, bool test(Element element), {int? timeoutMs, int? intervalMs, int? minMs, Iterable<Element> mapper(List<Element> elems)?, bool expected = false})
→ Future<UITestChainNode<U, List<O>, T>>
-
Alias to sleepUntilElement + querySelectorAll +
where
.
-
setValue(String? value, [String? selectors])
→ T
-
-
sleep({int? frames, int? ms})
→ Future<T>
-
Alias to testUISleep.
-
sleepUntil(FutureOr<bool> ready(), {String readyTitle = 'ready', int? timeoutMs, int? intervalMs, int? minMs})
→ Future<T>
-
Alias to testUISleepUntil.
-
sleepUntilElement(String selectors, {Element? root, int? timeoutMs, int? intervalMs, int? minMs, Iterable<Element> mapper(List<Element> elems)?, bool validator(List<Element> elems)?, bool expected = false})
→ Future<T>
-
Alias to testUISleepUntilElement.
-
sleepUntilRoute(String route, {Map<String, dynamic>? parameters, bool partialParameters = false, int? timeoutMs, int? intervalMs, int? minMs, bool expected = false})
→ Future<T>
-
Alias to testUISleepUntilRoute.
-
sleepUntilRoutes(List<String> routes, {int? timeoutMs, int? intervalMs, int? minMs, bool expected = false})
→ Future<T>
-
Alias to testUISleepUntilRoutes.
-
toString()
→ String
-
A string representation of this object.
inherited
-
warn({Object? msg, String? prefix})
→ T
-
-
warnMapped<R>(R mapper(E e), {String? prefix})
→ T
-