Files
mobile/e2e/screens/notes/compose.disabledspec.ts
2020-05-08 11:56:37 +02:00

35 lines
1.2 KiB
TypeScript

// import { openComposeNewNoteScreen } from '../../helpers';
// import faker from 'faker';
// import { element, by, expect, waitFor } from 'detox';
// describe('Compose', () => {
// describe('Form', () => {
// // beforeAll(async () => {
// // await openComposeNewNoteScreen();
// // });
// // it('should have the "Title" and "Content" fields visible', async () => {
// // await expect(element(by.id('noteTitleField'))).toBeVisible();
// // await expect(element(by.id('noteContentField'))).toBeVisible();
// // });
// // it('should have the back button visible', async () => {
// // await expect(element(by.id('headerButton'))).toBeVisible();
// // });
// // });
// // describe('New note', () => {
// // it('should be created with only the "Title"', async () => {
// // const noteTitle = faker.random.word();
// // await element(by.id('noteTitleField')).typeText(noteTitle);
// // await waitFor(element(by.id('noteTitleField')))
// // .toHaveText(noteTitle)
// // .withTimeout(2000);
// // });
// // afterEach(async () => {
// // await element(by.id('headerButton')).tap();
// // });
// // });
// });