Commit 686f3b88 authored by Ana Ellis's avatar Ana Ellis

feat: new submission test, tidying up

parent 93ef57b3
......@@ -34,7 +34,7 @@ test.skip('Manage submissions journey, create new submission', async t => {
await t
.typeText(
...(await prepareEditor(submission.abstract, faker.lorem.words(50))),
...(await prepareEditor(submission.abstract, faker.lorem.words(20))),
)
.pressKey('tab')
.click(submission.addAuthor)
......
......@@ -2,7 +2,6 @@ import { Selector } from 'testcafe'
import ReactSelector from 'testcafe-react-selectors'
const submission = {
collabraHome: Selector('a'),
title: Selector('div[id="metadata.title"] div[contenteditable=true]'),
abstract: Selector('div[id="metadata.abstract"] div[contenteditable=true]'),
//addAuthor: Selector('div[id="metadata.authors"] button[type=button]'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment