Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add curatorial inspection workflow cypress test #446

Open
wants to merge 43 commits into
base: dev
Choose a base branch
from

Conversation

adamkelly03
Copy link

Cypress tests for Curatorial Inspection workflow.

Not covered Fully is the file upload and map tabs will have to potentially be manually tested as they have been quick tricky

Spreadsheet attached

https://docs.google.com/spreadsheets/d/1C1ctkKZdIIUjVUsPxAQOL-HQN3VMxsLEquoysLvVKBk/edit?hl=en_GB&pli=1&gid=1625375089#gid=1625375089

Flag for enforcement branch will need to merge 1st (Andreas)

Also changes the url to the full localhost url. This is done so the tests can actually get to the point where they run as uncaught issues were otherwise blocking them before they even got started. We can debug this later
Ignores videos and screenshots generated from cypress studio
Also adds comments and sections off different tabs in the code
Also changes the url to the full localhost url. This is done so the tests can actually get to the point where they run as uncaught issues were otherwise blocking them before they even got started. We can debug this later
Ignores videos and screenshots generated from cypress studio
Also adds comments and sections off different tabs in the code
also renames tests to run in order
@andrea-kyurchiev andrea-kyurchiev self-assigned this Sep 16, 2024
@andrea-kyurchiev
Copy link

Similar to the other PRs, I've added orange in the spreadsheet to items that need attention. Rich textboxes are again untested

cy.get('.widget-input-label').contains('Consultation ID');
cy.get('.widget-input').should('be.disabled');

cy.get('.workflow-nav-tab').contains('Asset Details').click();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, there are better ways to determine if elements are disabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants