mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
13 lines
354 B
TypeScript
13 lines
354 B
TypeScript
import { by, device, element, expect } from 'detox';
|
|
|
|
describe('Example (goodbye)', () => {
|
|
beforeEach(async () => {
|
|
await device.reloadReactNative();
|
|
});
|
|
|
|
it('should show goodbye screen after tap', async () => {
|
|
await element(by.id('goodbye_button')).tap();
|
|
await expect(element(by.text('Goodbye, World!!!'))).toBeVisible();
|
|
});
|
|
});
|