Enhance e2e (end-to-end) tests for MyDSpace page (Part 2) - #5648
Enhance e2e (end-to-end) tests for MyDSpace page (Part 2)#5648oscar-escire wants to merge 4 commits into
Conversation
|
Hi @oscar-escire, |
|
Hi @oscar-escire , |
# Conflicts fixed: # cypress.config.ts # cypress/e2e/my-dspace.cy.ts
|
@EikLoe: Thanks! I've resolved the conflicts and updated the branch with the latest changes, but it seems a random error occurred during the build |
|
@EikLoe and @tdonohue: I've updated the code based on @EikLoe's comments; however, I've noticed that in both the development environments and the backend initialized on GitHub, the option to import a person from external sources has been disabled. In this case, will this change be made permanent? If so, I think the best course of action would be to remove the test that validated this option. |
|
@oscar-escire : The option to import a |
|
@tdonohue: Thanks, I'm taking a look at the demo site. It seems that user “dspacedemo+submit@gmail.com” isn't assigned as a submitter for the “People” collection. This setting appears to come from the test data, so I'm not sure how to resolve the issue. |
|
@oscar-escire : in the test data, the
Those are all of the submitter accounts we seem to have in the test data set. But, you could use the Admin account to test submissions of other types of Entities (because it has access to submit all entity types). |
References
Description
This PR includes three new tests for the My-DSpace page. Specifically, the three new tests are:
Instructions for Reviewers
List of changes in this PR:
Checklist
mainbranch of code (unless it is a backport or is fixing an issue specific to an older branch).npm run lintnpm run check-circ-deps)package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.