🔗
Builder Pattern
Chainable wait conditions for flexible test flows. Execute conditions in any order you need.
A generic abstraction layer for end-to-end testing frameworks with builder pattern support
import { createDetoxWrapper } from 'e2e-wrapper'
const wrapper = createDetoxWrapper({ testId: 'login-button' })
// Chain conditions in any order!
await wrapper
.wait()
.forVisible({ timeout: 10000 })
.forEnabled({ timeout: 5000 })
.execute()
// Or reverse the order
await wrapper
.wait()
.forEnabled()
.forVisible()
.execute()
React Native testing framework
Cross-platform mobile automation
Modern web testing framework
JavaScript end-to-end testing