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

test: e2e tests for proposals new dynamic material table #1766

Open
wants to merge 79 commits into
base: master
Choose a base branch
from

Conversation

martin-trajanovski
Copy link
Collaborator

@martin-trajanovski martin-trajanovski commented Feb 26, 2025

Description

This PR adds e2e tests for the new proposal table and also improve the syncing of the default and saved table settings.

Motivation

e2e tests for the new proposal table were missing and sync of the saved and default settings wasn't working properly.

Fixes:

Changes:

Please provide a list of the changes implemented by this PR

  • changes are mostly in the tests and some syncing logic for the tables config.

Tests included

  • Included for each change/fix?
  • Passing? (Merge will not be approved unless this is checked)

Documentation

  • swagger documentation updated [required]
  • official documentation updated [nice-to-have]

official documentation info

If you have updated the official documentation, please provide PR # and URL of the pages where the updates are included

Backend version

  • Does it require a specific version of the backend
  • which version of the backend is required:

martin-trajanovski and others added 30 commits January 13, 2025 16:29
@martin-trajanovski martin-trajanovski marked this pull request as ready for review March 13, 2025 13:28
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @martin-trajanovski - I've reviewed your changes - here's some feedback:

Overall Comments:

  • Consider adding comments or documentation for the new utility functions like 'getFormattedTime' to clarify their purpose and usage.
  • Ensure consistent use of single or double quotes in the Cypress tests for better readability and maintainability.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟡 Complexity: 1 issue found
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@martin-trajanovski martin-trajanovski added DCS DAPHNE Contribution to SciCat testing labels Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DCS DAPHNE Contribution to SciCat testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants