mirror of
https://github.com/standardnotes/mobile.git
synced 2026-04-29 02:12:40 -04:00
35 lines
1.2 KiB
TypeScript
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();
|
|
// // });
|
|
// // });
|
|
// });
|