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

Disallowing Test Plans with Incomplete Tests #512

Draft
wants to merge 56 commits into
base: main
Choose a base branch
from

Conversation

aleenaloves
Copy link
Contributor

Reference Issue: #493

Per the working group, incomplete test plans cannot transition to the candidacy status. This PR is a fix for this issue.

I have ran all these test cases, but have also listed them here for people to double check and/or list if i missed anything.

Test Cases:

  • Verify the test cases from the original issue no longer encounter the error
  • Verify the behavior for an incomplete candidate test already existing
  1. From another branch, transition an incomplete test plan to the candidate status
  2. Migrate back to this branch, verify that the test navigator shows the correct icons for incomplete tests, the incomplete test also shows incomplete, and that a user cannot 'finish' this test.
  • Verify the behavior for an incomplete test plan in review on the test queue page
  1. Create an incomplete test plan
  2. Set it's status to 'In Review'
  3. Validate that you cannot transition it to 'candidate' and that it tells you why you cannot as well.
  • Verify the styling in general
  • Verify that nothing else is broken
  1. General Test Queue Behavior
  2. General Candidate Test Behavior

Paul-Clue and others added 13 commits February 22, 2023 12:11
* Update React

* Revert "Update React"

This reverts commit d09df2f.

* Updating jest environment and babel configuration

* New github config to fix builds

* Cacheing nodegit and fixing failing tests

* update react in package.json

* Updating React-Testing-Library and removing acts (default now)

* adding text encoder, which is not added to jsdom

* fixing error

* updating react testing library dom

* fixing error

* updating react testing library dom

* Update yarn.lock

* Update React

* Revert "Update React"

This reverts commit d09df2f.

* Updating jest environment and babel configuration

* update react in package.json

* adding text encoder, which is not added to jsdom

* in prog

* fixing tests

* fixes

* pushing in changesss

* pages working

* cleaning up confirmAuth + candidateTests + routes index.js

* descendent routing in progress

* fixed candidate tests + test reports. TODO: test queue

* fixing typo: propotypes --> proptypes

* undoing irrelevant commits

* undoing uneccesary whitespaces

* removing unnecessary imports

* in prog

* fixing tests

* pushing in changesss

* pages working

* cleaning up confirmAuth + candidateTests + routes index.js

* descendent routing in progress

* undoing irrelevant commits

* undoing uneccesary whitespaces

* removing unnecessary imports

* Update yarn.lock

* report fixings

* fixing jest test expected

* removing unused import

* updated runtest.yml

* removing resize observer

* confirmed test expected is different per machine, reverting

* fixing resize-observer

* check for null | undefined testplanreports

* summarizetestplanversion reverts

* Re-enabling test on App.test.jsx

* updated testing library

* adding yarn lock

* yarn prettier

* Removing comment

---------

Co-authored-by: Howard Edwards <[email protected]>
Co-authored-by: Erika Miguel <[email protected]>
* Upgrade prettier

* update babel

* Updating babel and prettier correctly

* Upgrade ua-parser-js and lighthouse cli

* Moving babel deps to dev dependencies

* updating prettier config

* prettier changes
Update Sequelize ORM from v5 to v6
* Update sequelize-cli version
* Update dependencies
* untested changes

* fixed storybook

* alphabetical

* changing to dev deps
@aleenaloves aleenaloves marked this pull request as draft March 2, 2023 18:31
@aleenaloves
Copy link
Contributor Author

pending test fixes.

@aleenaloves aleenaloves marked this pull request as ready for review March 2, 2023 18:44
@aleenaloves
Copy link
Contributor Author

tests fixed.

@evmiguel
Copy link
Contributor

evmiguel commented Mar 6, 2023

Are we ok with the copy: Test plans with incomplete tests cannot be finished. These tests should have their candidate status removed.? @jugglinmike @howard-e

Base automatically changed from update-dependencies to main March 8, 2023 16:53
@aleenaloves
Copy link
Contributor Author

pending copy notes from isaac

@aleenaloves aleenaloves marked this pull request as draft March 8, 2023 17:01
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.

5 participants