Files

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();
});
});