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

[ci-visibility] Always Return a Test Suite Value #1653

Merged

Conversation

juan-fernandez
Copy link
Collaborator

What does this PR do?

  • Return sourceRoot when sourceRoot === testSuiteAbsolutePath. Since we are using path.relative, if those two coincided, we were returning ''.
  • If testSuiteAbsolutePath is falsy for whatever reason, fall back to sourceRoot.

Motivation

Customer is seeing empty test suite values.

Plugin Checklist

  • Unit tests.

@juan-fernandez juan-fernandez marked this pull request as ready for review October 14, 2021 10:30
@juan-fernandez juan-fernandez requested a review from a team as a code owner October 14, 2021 10:30
@juan-fernandez juan-fernandez merged commit 59ad3bc into master Oct 14, 2021
@juan-fernandez juan-fernandez deleted the juan-fernandez/ci-visibility-fix-empty-test-suite branch October 14, 2021 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants