Skip to content

Commit dfebcac

Browse files
committed
updated example & removed cad keyword
1 parent 2ac8572 commit dfebcac

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/commands/test_reports.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ steps:
1313
environment:
1414
USER_TIMEOUT: <<parameters.user_timeout>>
1515
- store_artifacts:
16-
path: browserstack/cadreport.html
17-
destination: Browserstack Cad Report
16+
path: browserstack/testreport.html
17+
destination: Browserstack Test Report

src/examples/test_reports.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ usage:
1616
name: Run Test
1717
command: |
1818
npm run test
19-
- browserstack-circleci-orb/show_report:
19+
- browserstack-circleci-orb/test_reports:
2020
user_timeout: 60 # Optional, default is 100 seconds
2121
workflows:
2222
set-rerun-tests-example:

src/scripts/test_reports.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ check_report_status() {
9696
fi
9797
return 2
9898
}
99-
echo "Making initial API request to Browserstack CAD API..."
99+
echo "Making initial API request to Browserstack Test Report API..."
100100

101101
# Initial API Request
102102
RESPONSE=$(make_api_request "FIRST")
@@ -107,7 +107,7 @@ POLLING_DURATION=$((POLLING_DURATION / 1000))
107107

108108
# Polling Mechanism
109109
[ "$REPORT_STATUS" == "$REPORT_STATUS_IN_PROGRESS" ] && {
110-
echo "Starting polling mechanism to fetch CAD report..."
110+
echo "Starting polling mechanism to fetch Test report..."
111111
}
112112
local_retry=0
113113
ELAPSED_TIME=0
@@ -153,8 +153,8 @@ $rich_css_response
153153
</style>
154154
</head>
155155
$rich_html_response
156-
</html>" > browserstack/cadreport.html
157-
echo "Rich html report saved as browserstack/cadreport.html. To view the report, open artifacts tab & click on cadreport.html"
156+
</html>" > browserstack/testreport.html
157+
echo "Rich html report saved as browserstack/testreport.html. To view the report, open artifacts tab & click on testreport.html"
158158

159159
# Generate plain text report
160160
if [[ -n "$plain_text_response" ]]; then

0 commit comments

Comments
 (0)