Skip to content

E2E WrapperUniversal E2E Testing Framework

A generic abstraction layer for end-to-end testing frameworks with builder pattern support

E2E Wrapper

Quick Example

typescript
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()

Supported Frameworks

🤖 Detox

React Native testing framework

📱 Appium

Cross-platform mobile automation

🎭 Playwright

Modern web testing framework

🌲 Cypress

JavaScript end-to-end testing

Released under the MIT License.