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

Expand sample test content to handle more scenarios #1224

Merged
merged 11 commits into from
Oct 3, 2024

Conversation

howard-e
Copy link
Contributor

@howard-e howard-e commented Sep 24, 2024

Addresses #759

This PR makes changes to the current test sample data to:

  • display conflicts which affects multiple commands per test
  • adds a recommended test plan version which is fully recommended (all 6 required reports generated)
  • adds new test plan report so checkbox-tri-state to have multiple advanced NVDA + Chrome Test Plan Reports to display the AT Versions Summary table
  • adds sample github issue for a Candidate Review test plan report
  • various QOL changes (formatting, removal of unnecessary page id, removal of unnecessary fakeResultTypes in /scripts/populate-test-data)

@howard-e howard-e requested a review from stalgiag September 24, 2024 16:59
@howard-e
Copy link
Contributor Author

@stalgiag I certainly don't think the additional data support here is exhaustive. Please let me know if this aligns with your thoughts or if there are any additional pressing scenarios to cover.

Copy link
Contributor

@stalgiag stalgiag left a comment

Choose a reason for hiding this comment

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

This is a great set of changes! I tested locally and really love the expanded cases covered by this PR. I left some inline comments but nothing blocking a merge.

}
}
}
`,
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for cleaning up the errant indents!

* 'incompleteAndFailingDueToUnexpectedBehaviors' |
* 'incompleteAndFailingDueToMultiple']} fakeTestResultTypes
* @param {import('sequelize').Transaction} transaction
* @param {'SINGLE' | 'ALL' | number} numFakeTestResultConflicts
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a little interesting. Could you just do a number with Math.Infinity for 'ALL'? I guess it is a little strange to read 'infinity' when we really mean all. No strong feelings here but just struck me that this could be a single

testResult.scenarioResults
        .slice(0, numFakeTestResultConflicts)
        .forEach(setResult);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point! Addressed in 4b70b0b


// Slightly different from older already recommended TestPlanRun 13 to get
// multiple results shown for:
// Recommended Report + Checkbox Example (Mixed-State) + NVDA + Chrome
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice!

@howard-e howard-e merged commit 141c208 into development Oct 3, 2024
2 checks passed
@howard-e howard-e deleted the expand-tests-data branch October 3, 2024 19:59
howard-e added a commit that referenced this pull request Oct 9, 2024
Create October 9, 2024 Release

Includes the following changes:
* #1214
* #1208, which addresses #1201
* #1225
* #1227, which addresses #1226
* #1224, which addresses #759
* #1229, which addresses #1228
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