-
Notifications
You must be signed in to change notification settings - Fork 174
Fix validation on PR build to end-to-end test script for BCApps #2042
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
Conversation
…t script for BCApps
…-end test script for BCApps" This reverts commit cb178e0.
…e app and one test app are generated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR fixes a brittle test validation in the BCApps end-to-end test script that was failing due to changing project counts in the BCApps repository. The solution makes the validation more flexible by checking for the presence of artifacts rather than an exact count.
- Replaces exact count validation (
Should -Be 1) with existence validation (Should -BeGreaterThan 0) - Adds separate validation for test app artifacts that were previously not explicitly validated
- Makes the test resilient to future changes in the number of projects in BCApps
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
BCApps test is failing because the number of projects there keeps changing.
Make the test a bit more generic to avoid having to change it often.