Known caveats

日本語

Read this page before you write a scenario. Each line summarizes one thing to watch for when you use that command or component; the link goes to the full explanation and how to write it. Pay special attention to the ones that go wrong silently (the step stays green while being wrong): check the value or state afterwards, as each line says.

Commands

App assertion (appIs)

ifCanSelect, ios, android

clearInput

group, procedure, beforeEach, afterEach, beforeAll, afterAll, setUpDevice, tearDownDevice

exist, notExist, countIs

Find by image (findImage, findImages, existImage)

flick

Gestures for maps and canvases (doubleTap, pinchIn, pinchOut, gesture, hold)

Image assertion (imageIs)

installApp, removeApp, clearAppData

iosAlertHandler

irregularHandler

Keyboard assertion (keyboardIsShown, keyboardIsNotShown)

launchApp, restartApp, terminateApp, openURL

home, back, appSwitcher, tapAppIcon, rotateTo, setAppearance, setTextSize, fold, unfold, hinge

pressEnter, hideKeyboard

repeatWhileCanSelect, doUntilTrue

Screen assertion (screenLooksLike)

screenshot

scroll (scrollTo, scrollDown, withScrollDown, scrollFrame, ...)

select, lastElement

State assertion (enabledIsTrue, enabledIsFalse, checkIsON, checkIsOFF)

suppressHandler, useHandler, disableHandler, enableHandler

swipe, swipePointToPoint, swipeElementToElement, swipeBy

tap, tapAppIcon

Text assertion (textIs, textContains, ...)

type

Value assertion (valueIs, valueContains, ...)

Anything assertion (verify)

wait, waitForDisplay, waitForClose, waitForSettle

Selectors

Selector expressions

Typed selector (Sel)

Test data and running a class in one place

Run profile

UI component quirks (current limitations)

Always pass scrollFrame for horizontal containers

While a modal is open, the screen behind it drops out of the tree

Bottom sheet

Selection field (read-only dropdown)

Pull to refresh

Animation (fade, switch)

Collapsing header

Types of input fields

FAB (floating action button)

Infinite scroll

Bars that hide on scroll