phac-nml / irida-next

IRIDA Next
https://phac-nml.github.io/irida-next/
Apache License 2.0
8 stars 2 forks source link

Project workflow executions UI #590

Closed deepsidhu85 closed 2 months ago

deepsidhu85 commented 2 months ago

What does this PR do and why?

Describe in detail what your merge request does and why.

This PR sets up the UI for project workflow executions

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other pull requests.

image

image

image

image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Login as any user
  2. Create a new project
  3. Go to the settings for the project and from the expanded menu select Automated Workflow Executions
  4. Add a new automated workflow execution (this will launch automatically whenever paired-end data is added to a sample in the project)
  5. Go to the samples page for the project and create a new sample
  6. Upload paired end data to the sample
  7. Go to the Workflow Executions page for the project
  8. You should see the workflow execution has been launched
  9. Add a member to the project with less than Maintainer access level
  10. Login as this user and visit the projects workflow executions page
  11. User should not be able to cancel or destroy the automated workflow that was launched
  12. Create a new project with this user, add a sample, upload paired-end data
  13. Verify no automated workflows have been launched for this project (go to the Workflow Executions page for the project
  14. Visit the main Workflow Executions page for the current user. You should only see the workflow execution that the user launched
  15. Log out and login as the user from step 1
  16. Go to the Workflow Executions page for the project created in step 2
  17. Verify the user can delete or cancel the automated workflow execution

PR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

github-actions[bot] commented 2 months ago

Simplecov Report

Covered Threshold
92.34% 90%