Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc8695f

Browse files
committed
attempt fix
1 parent ff9288f commit fc8695f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ core.group('Execute Test', async () => {
3131
// 1. Trigger Test
3232
const envString = ENVIRONMENT ? `&enviroment=${ENVIRONMENT}` : '';
3333
const testTrigger = (await axios.get(`${API_URL}/test/${TEST_ID}/execute?location=${LOCATION}${envString}`)).data;
34+
const reportUrl = testTrigger.reportUrl;
3435
console.log(testTrigger.message);
36+
console.log("---->" + testTrigger.reportUrl);
3537
const executionId = testTrigger.executionId;
3638

3739
// 2. Perform initial wait -- this is to avoid multiple checks while test is ramping up
@@ -52,7 +54,7 @@ core.group('Execute Test', async () => {
5254
// 3. Set Response Data
5355
core.setOutput("time", testResult.executionTime);
5456
core.setOutput("succesful", testResult.succesful);
55-
core.setOutput("reportUrl", testTrigger.reportUrl);
57+
core.setOutput("reportUrl", reportUrl);
5658

5759
// 4. Fail action if test failed
5860
if (!testResult.succesful) {

0 commit comments

Comments
 (0)