Story #16029

Investigate Cypress testing framework for Workench2 integration tests

Added by Peter Amstutz 3 months ago. Updated 41 minutes ago.

Status:
In Progress
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
03/14/2020
Due date:
% Done:

50%

Estimated time:
(Total: 0.00 h)
Story points:
-

Description

Some of the more important WB1's integration tests are:

  • Login
    • auto-login with api token works after redirect (check that resulting url doesn’t include the api token)
    • using expired token redirects to login page
    • access with no token should show the login page
  • Collections
    • Copy to project
    • Sharing
    • Combine collections into new collection
    • Combine files into new collection
    • URL with PDH with multiple matches
    • Remove & rename files
    • Remove/rename not available on readonly collections
    • Create collection uploading files
    • Upload errors
  • Projects
    • Anonymous access
      • Project available actions
      • Access to shared/public project’s collections
      • Access to shared/public project’s subprojects
    • Rename projects
    • Create project; move it inside other project
    • Sharing
      • Publicly share option not available when anonymous browsing disabled
      • Publicly share option available when anon browsing enabled
      • Project owner shares with another user & group
      • ’Share with group’ listing doesn’t offer projects
    • Copy/move/delete collections between projects
  • Search
    • Search for a owned project, an invalid uuid, an publicly shared project
  • Trash
    • Check deleted items on trash page
    • Test untrash button and confirm untrashed items are now listed
    • Test trash page search feature
  • Processes
    • Test ‘all processes’ page
    • Test cancel button when displaying a queued/running process
    • Run a process from a registered workflows
    • Test CR state display
  • Admin
    • Users
      • Create new user
      • Setup/unsetup active user
    • Groups
      • Create new group
      • Add/remove users to groups

Subtasks

Task #16031: ReviewNewPeter Amstutz

Task #16257: Review 16029-arvboot-wss-fixResolvedLucas Di Pentima


Related issues

Blocks Arvados - Story #15335: [Workbench2] Integration testingNew

Associated revisions

Revision 99d3277a
Added by Lucas Di Pentima 23 days ago

Merge branch '16029-arvboot-wss-fix'. Refs #16029

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <>

History

#1 Updated by Lucas Di Pentima 3 months ago

  • Related to Story #15335: [Workbench2] Integration testing added

#2 Updated by Piotr Mrzygłowski 3 months ago

Integration with Jenkins might be conducted using example jenkinsfile:
https://docs.cypress.io/guides/guides/continuous-integration.html#Examples

#3 Updated by Piotr Mrzygłowski 3 months ago

  • Subject changed from Investigate Cyprus testing framework for Workench2 integration tests to Investigate Cypress testing framework for Workench2 integration tests

#4 Updated by Peter Amstutz 2 months ago

  • Target version changed from 2020-01-29 Sprint to 2020-02-12 Sprint

#5 Updated by Peter Amstutz about 2 months ago

  • Target version changed from 2020-02-12 Sprint to 2020-02-26 Sprint

#6 Updated by Lucas Di Pentima about 2 months ago

  • Assigned To changed from Piotr Mrzygłowski to Lucas Di Pentima

#7 Updated by Lucas Di Pentima about 2 months ago

  • Related to deleted (Story #15335: [Workbench2] Integration testing)

#8 Updated by Lucas Di Pentima about 2 months ago

  • Blocks Story #15335: [Workbench2] Integration testing added

#9 Updated by Lucas Di Pentima about 2 months ago

  • Status changed from New to In Progress

#10 Updated by Peter Amstutz about 1 month ago

  • Target version changed from 2020-02-26 Sprint to 2020-03-11 Sprint

#11 Updated by Peter Amstutz 28 days ago

  • Target version changed from 2020-03-11 Sprint to 2020-03-25 Sprint

#12 Updated by Lucas Di Pentima 26 days ago

  • Description updated (diff)

Reviewed the existing wb1's integration tests, listed on the description the more important ones in my opinion.

#13 Updated by Lucas Di Pentima 25 days ago

Fixed Websocket Server's ExternalURL config on arvados-boot to use wss:// instead of https:// at ef109c816 - branch 16029-arvboot-wss-fix
Test run: https://ci.arvados.org/job/developer-run-tests/1774/

#15 Updated by Tom Clegg 23 days ago

16029-arvboot-wss-fix LGTM, thanks

#16 Updated by Peter Amstutz 14 days ago

  • Target version changed from 2020-03-25 Sprint to 2020-04-08 Sprint

#17 Updated by Lucas Di Pentima about 1 hour ago

  • Target version changed from 2020-04-08 Sprint to 2020-04-22

Also available in: Atom PDF