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

Scaffold cypress test for Advanced Portfolio Manager #713

Open
themightychris opened this issue Sep 28, 2022 · 0 comments
Open

Scaffold cypress test for Advanced Portfolio Manager #713

themightychris opened this issue Sep 28, 2022 · 0 comments
Assignees
Labels
A-adv-portfolio-manager Area: SlatePortfolioManager Vue webapp UI

Comments

@themightychris
Copy link
Contributor

Create a new Cypress test suite that performs some basic tests on the Advanced Portfolio manager UI

  • Load the page
  • Verify competency area dropdown is loaded and select one
  • Verify students lists dropdown is loaded and select one
  • Verify that grid loads and has expected values+colors based on fixture data in several cells
  • Verify that expected number of columns and rows are rendered
  • Select a cell a verify that expected number of portfolios load
  • Move a DemonstrationSkill up and verify calculations update to expected values in both portfolios
  • Move the same DemonstrationSkill back and verify calculations update to expected values in both portfolios
  • Move a DemonstrationSkill up to a higher portfolio in a case where that will trigger graduation and verify that both the main grid update with the new level and the new portfolio appears in the sidebar. (update fixture data if no existing case can be found where moving a single DemonstrationSkill moving up can trigger graduation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-adv-portfolio-manager Area: SlatePortfolioManager Vue webapp UI
Projects
None yet
Development

No branches or pull requests

3 participants