0.5.1 • Published 1 year ago

detox-web v0.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

detox-web

Abstraction is deprecated only helpers are left

Installation

yarn add detox-web

or

npm install detox-web

Usage

import {
  replaceTextById,
  isVisibleByText,
  isVisibleById,
  tapById,
  tapByText,
  tapByLabel,
  reset,
  sleep
} from 'detox-web'

describe('User should be welcomed by required onboarding screen', () => {
  beforeAll(async () => {
    await resetAndLoginAs('user_onboarding');
  });
  it('we should be able to fill our details', async () => {
    await replaceTextById('email', 'test-onboarding@webridge.nl');
    await replaceTextById('telephone', '0612345678');
    await tapByText('English');
    await tapByText('Nederlands');
    await tapById('save-button-profile');
  });
});

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

0.3.0

1 year ago

0.3.1

1 year ago

0.5.1

1 year ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago