-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Local  ## CI <img width="920" alt="Screenshot 2024-06-05 at 11 43 07 AM" src="https://github.com/autoblocksai/cli/assets/7498009/f0acd5be-c443-4305-a70b-03eee98fd97e">
- Loading branch information
Nicole White
authored
Jun 5, 2024
1 parent
d2099f3
commit e6ba582
Showing
8 changed files
with
114 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,38 @@ | ||
import { AUTOBLOCKS_WEBAPP_BASE_URL } from '../../../../util/constants'; | ||
|
||
export function makeAutoblocksCIBuildHtmlUrl(args: { | ||
/** | ||
* Links to the summary dashboard for all tests for a given branch + build. | ||
*/ | ||
export function makeAutoblocksCIBuildSummaryHtmlUrl(args: { | ||
branchId: string; | ||
buildId: string; | ||
}): string { | ||
return `${AUTOBLOCKS_WEBAPP_BASE_URL}/testing/ci?branchId=${args.branchId}&buildId=${args.buildId}`; | ||
} | ||
|
||
export function makeAutoblocksLocalTestHtmlUrl(args: { | ||
export function makeAutoblocksLocalTestResultsHtmlUrl(args: { | ||
testExternalId: string; | ||
}): string { | ||
return `${AUTOBLOCKS_WEBAPP_BASE_URL}/testing/local/test/${encodeURIComponent(args.testExternalId)}`; | ||
} | ||
|
||
export function makeAutoblocksCITestResultsHtmlUrl(args: { | ||
testExternalId: string; | ||
branchId: string; | ||
}): string { | ||
const testId = encodeURIComponent(args.testExternalId); | ||
const branchId = encodeURIComponent(args.branchId); | ||
return `${AUTOBLOCKS_WEBAPP_BASE_URL}/testing/ci/test/${testId}/branch/${branchId}`; | ||
} | ||
|
||
/** | ||
* Links to the human review UI for a particular test run (local or CI). | ||
*/ | ||
export function makeAutoblocksHumanReviewHtmlUrl(args: { | ||
testExternalId: string; | ||
runId: string; | ||
}): string { | ||
const testId = encodeURIComponent(args.testExternalId); | ||
const runId = encodeURIComponent(args.runId); | ||
return `${AUTOBLOCKS_WEBAPP_BASE_URL}/testing/test/${testId}/run/${runId}/human-review`; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e6ba582
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.
✗
FAILED
• 🕐 7s • 🏗️ E2E / ts (#676) • ➡️ View in Autoblocks🟢 typescript-e2e-test-suite-1
🔴 typescript-e2e-test-suite-2
Generated by Autoblocks against e6ba582
e6ba582
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.
✗
FAILED
• 🕐 13s • 🏗️ E2E / py (#676) • ➡️ View in Autoblocks🟢 python-e2e-test-suite-1
🔴 python-e2e-test-suite-2
Generated by Autoblocks against e6ba582