Skip to content

Commit

Permalink
add withdraw all docs
Browse files Browse the repository at this point in the history
  • Loading branch information
philipkcl committed Aug 18, 2023
1 parent db7fab9 commit 3e65443
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions doajtest/testbook/journal_form/maned_form.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,29 @@ tests:
- step: Attempt to click the "Remove" button
results:
- You are unable to delete the note
- title: Withdraw all
depends:
- suite: New Application Form
- suite: Continuations
context:
role: admin
steps:
- step: Go to admin journal search page at /admin/journals
- step: From the facet "In DOAJ?" on the left choose True
- step: Click "Edit this journal" link at the bottom of any journal - note the id
of the edited journal for future reference
results:
- Page /admin/journal/<id> is open in a new browser window/tab (<id> is id of
the chosen journal)
- All the field are initially filled in with correct values
- step: Click red "Withdraw" button at the top of the functions panel on the right
results:
- Message pop-up appears over the page asking you to confirm if you want to withdraw
the journal and shows you the journal's ID.
- All Older and Newer continuations journal will be listed in the pop-up
- step: Click "Withdraw all" button
results:
- following messages appear "Job to withdraw/reinstate journal has been submitted"
- step: Click that message
results:
- related background job is displayed

0 comments on commit 3e65443

Please sign in to comment.