Skip to content

Conversation

@mazhelez
Copy link
Collaborator

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.

@mazhelez mazhelez requested a review from a team as a code owner November 26, 2025 15:02
Copilot AI review requested due to automatic review settings November 26, 2025 15:02
@mazhelez mazhelez enabled auto-merge (squash) November 26, 2025 15:02
Copilot finished reviewing on behalf of mazhelez November 26, 2025 15:03
Copy link
Contributor

Copilot AI left a 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>
@mazhelez mazhelez requested a review from Copilot November 26, 2025 15:07
Copilot finished reviewing on behalf of mazhelez November 26, 2025 15:08
Copy link
Contributor

Copilot AI left a 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.

@mazhelez mazhelez requested a review from spetersenms November 28, 2025 13:25
@mazhelez mazhelez merged commit 4dd459a into main Dec 2, 2025
8 checks passed
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.

4 participants