Testing instructions for critical flows - 10up/eight-day-week GitHub Wiki

Installation / Upload the plugin zip file

In this test we will make sure that plugin can be uploaded to the test site via a zip file.

Test steps:

  1. Download .zip file from https://wordpress.org/plugins/eight-day-week-print-workflow/
  2. Login to the test site and from within the WP dashboard menu, select Plugins > Add new.
  3. Use the upload option and select the .zip file from your computer
  4. Once the upload is complete, no errors should appear.

Expected Results:

The zip file should successfully upload to the WP test site.


Activate the plugin :

Activate the plugin on the site

Test steps:

  1. Go to Plugins > Installed Plugins
  2. Click on the activate link under the Eight day week plugin

Expected Results:

The plugin should activate with no errors.


Create Issue Status

Test steps:

  1. Go to Admin
  2. Click on Print > Issue Statuses
  3. Enter Status Name (i.e. Active)
  4. Click on "Add New Issue Status" button
  5. Edit status by click on edit link on RHS status list.

Expected Results:

  • Issues status should be created successfully
  • Issue should be updated successfully

Create Article Status

Test steps:

  1. Go to Admin
  2. Click on Print > Article Status
  3. Enter Status Name (i.e. Active)
  4. Click on "Add New Article Status" button
  5. Edit status by click on edit link on RHS status list.

Expected Results:

  • Article Status should be created successfully
  • Article Status be updated successfully

Create Publications

Test steps:

  1. Go to Admin
  2. Click on Print > Publications
  3. Enter Publications Name (i.e. Monthly News)
  4. Click on "Add New Publications" button
  5. Edit status by click on edit link on RHS status list.

Expected Results:

  • Publications should be created successfully
  • Publications be updated successfully

Create New Print Issues and export

Test steps:

  1. Go to Admin
  2. Click on Print > Print Issues
  3. Click on "Add New Post"
  4. Add Print Issue Title
  5. Set Article Status
  6. Set Publications
  7. Set Issue Status 8.Click on Add Section
  8. Enter Section Name
  9. Click on Add Article
  10. Search an Article and Select from suggestion (Repeat same status if you add more articles)
  11. Click On Save
  12. Now Click on "Export all" Button
  13. Now Click on Save

Expected Results:

  • New Print issue should be created.
  • New issues should be export in Zip file
  • All article should be in zip file with .xml format

Verify that user can add multiple Section on print issue

Test steps:

  1. Go to Admin
  2. Click on Print > Print Issues
  3. Click on "Add New Post"
  4. Add Print Issue Title
  5. Set Article Status
  6. Set Publications
  7. Set Issue Status 8.Click on Add Section
  8. Enter Section Name
  9. Click on Add Article
  10. Search an Article and Select from suggestion (Repeat same status if you add more articles)
  11. Click On Save
  12. Repeate same steps #8 to #12 to create another section

Expected Results:

Multiple section should be created on print issue.


Edit Print issue

Test steps:

  1. Go to Admin
  2. Click on Print > Print Issues
  3. Hover on issue and click on "Edit"
  4. Update the Article (Add/ Delete) in article section / Update Article status / Update Publication / Update Issue Status
  5. Click on "Save"

Expected Results:

Print issue should be updated as per modification


View Print issue

Test steps:

  1. Go to Admin
  2. Click on Print > Print Issues
  3. Hover on issue and click on "View"

Expected Results:

Print issue will be appeared in "Read Only" mode


Delete Print issue

Test steps:

  1. Go to Admin
  2. Click on Print > Print Issues
  3. Hover on issue and click on "Trash"

Expected Results:

You should delete the Print issue


Ensure that this plugin creates custom roles for print issues

Test steps:

  1. Go to Admin
  2. Click on Users
  3. Select the user which you want to change the role
  4. Click on "Change print role to..." dropdown and select role (i.e. Print Editor)
  5. Click on "Change" Button

Expected Results:

  • The Print Editor role offers full access to the creation interfaces, such as Print Issue, Article Status, Print Publication, etc.

  • The Print Production role offers read-only access to a Print Issues. The XML export tool is also available to Production users.