Commit 23b53db7 authored by Ana Ellis's avatar Ana Ellis
Browse files

feat: add another check inside test

parent 73988940
Pipeline #7666 failed with stages
in 3 minutes and 11 seconds
......@@ -48,7 +48,7 @@ test.skip
teardown()
})
test
test.skip
.before(async t => {
const result = await setup()
author = result.userData
......@@ -67,7 +67,7 @@ test
)
})
test.before(async t => {
test.skip.before(async t => {
await setupWithTwoUnsubmittedManuscripts()
await login.doLogin('john', 'johnjohn')
})('Author submits manuscript', async t => {
......
......@@ -5,6 +5,7 @@ const review = {
url: `${config.get('pubsweet-server.baseUrl')}`,
collabraHome: Selector('nav a'),
assignEditors: Selector('div').withText('Assign Editors'),
assignReviewers: Selector('a').withText('Assign Reviewers'),
comments: Selector('div[name="note.content"] div[contenteditable]'),
......
......@@ -35,9 +35,10 @@ test.before(async t => {
.expect(await Selector('a').withText('Control Panel').exists)
.ok()
await t.click(dashboard.controlPanel).wait(10000)
await t.click(dashboard.controlPanel).wait(2000)
//await t.expect(await Selector(review.assignReviewers).exists).ok()
await t.expect(await Selector(review.assignEditors).exists).ok()
await t.expect(await Selector(review.assignReviewers).exists).ok()
await t
.click(review.assignReviewers)
......
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