feat: Added tests for verifying course visibility options and schedule and details settings#162
Conversation
Added based Schedule and Details Tests: - [TC_AUTHOR_106] Set pacing to instructor paced [TC_AUTHOR_107] Set pacing to self paced [TC_AUTHOR_108] Set start date and end date
move general api methods to separate file, fixing lint issues
Added tests for [TC_AUTHOR_109] Set start time and end time
Added tests - [TC_AUTHOR_133] Check course visibility "both" - add methods for advanced settings tests - fix lint issues
|
Thanks for the pull request, @irin2811! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review. 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. DetailsWhere can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources: When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
cmltaWt0
left a comment
There was a problem hiding this comment.
Beautiful work! 💟
I like API-driven test setup - using direct API calls to configure course dates/pacing/visibility instead of clicking through UI is fast and reliable, searchReindex integration correctly triggers search reindex after visibility changes so the course catalog reflects updates, pages structure, test coverage, preserved skipped tests etc.
It's really solid PR.
Let's just consider my suggestions to make it even better.
| cy.visit(`${baseMFEURL}/learning/course/${courseId}/home`) | ||
|
|
||
| // Verify that the course content is accessible | ||
| cy.contains('Begin your course today').should('be.visible') |
There was a problem hiding this comment.
Just a note for a future ourselves - do thing about localization.
irin2811
left a comment
There was a problem hiding this comment.
most of the suggestions are fixed for advanced settings tests and schedule and details
cmltaWt0
left a comment
There was a problem hiding this comment.
Thanks for this contribution! LGTM
Smoke tests:
Regression tests: