Commit 37c7a99b authored by Ana Ellis's avatar Ana Ellis
Browse files

feat: unskip skipped tests

parent ccb53aef
Pipeline #7675 failed with stages
in 4 minutes and 37 seconds
......@@ -24,27 +24,31 @@ fixture
})
.afterEach(teardown)
test.skip.before(async t => {
const result = await setup()
author = result.userData
await login.doLogin(author.username, author.password)
})('create new submission', async t => {
await t.expect(Selector(dashboard.mySubmissionsTitle).exists).notOk()
test.skip
.before(async t => {
const result = await setup()
author = result.userData
await login.doLogin(author.username, author.password)
})('create new submission', async t => {
await t.expect(Selector(dashboard.mySubmissionsTitle).exists).notOk()
await createSubmission('./fixtures/testSubmission1.docx')
await createSubmission('./fixtures/testSubmission1.docx')
await t.click(dashboard.collabraHome)
await t.click(dashboard.collabraHome)
await t
.expect(Selector(dashboard.submissionStatus(1)).exists)
.ok()
.expect(dashboard.submissionStatus(1).innerText)
.contains('UNSUBMITTED')
.expect(Selector(dashboard.submissionSummaryInfoLink(0)).exists)
.ok()
})
await t
.expect(Selector(dashboard.submissionStatus(1)).exists)
.ok()
.expect(dashboard.submissionStatus(1).innerText)
.contains('UNSUBMITTED')
.expect(Selector(dashboard.submissionSummaryInfoLink(0)).exists)
.ok()
})
.after(async t => {
teardown()
})
test.skip
test
.before(async t => {
const result = await setup()
author = result.userData
......@@ -63,7 +67,7 @@ test.skip
)
})
test.skip.before(async t => {
test.before(async t => {
await setupWithTwoUnsubmittedManuscripts()
await login.doLogin('john', 'johnjohn')
})('Author submits manuscript', async t => {
......
......@@ -26,12 +26,11 @@ fixture
})
.afterEach(teardown)
test.skip.before(async t => {
test.before(async t => {
await setupWithOneSubmittedManuscript()
await login.doLogin(user.username, user.password)
})('Assign reviewer', async t => {
await t
.debug()
.expect(dashboard.invitedReviewsCount.innerText)
.eql('0')
.expect(dashboard.manuscriptStatus(2).innerText)
......@@ -67,7 +66,7 @@ test.skip.before(async t => {
.eql('1')
})
test.skip.before(async t => {
test.before(async t => {
await setupWithTwoSubmittedManuscriptsReviewerAssigned()
await login.doLogin(user.username, user.password)
})('Accept and Reject a review', async t => {
......
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