Skip to content

Commit e942bc4

Browse files
authored
Merge pull request #3 from stav/master
Spelling typo
2 parents 59d1aa7 + 8b0c937 commit e942bc4

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
location: 'AWS-US-WEST-2'
2121
environment: 'ENV_ID(OPTIONAL)'
2222
- name: Show Results
23-
run: echo "The test took ${{ steps.tstExec.outputs.time }}ms to run"; echo "The test result was ${{ steps.tstExec.outputs.succesful }}"; echo "View Report - {{ steps.tstExec.outputs.reportUrl }}"
23+
run: echo "The test took ${{ steps.tstExec.outputs.time }}ms to run"; echo "The test result was ${{ steps.tstExec.outputs.successful }}"; echo "View Report - {{ steps.tstExec.outputs.reportUrl }}"
2424
```
2525
2626
## Inputs
@@ -49,12 +49,11 @@ The environment you want to run the test in. If you don't use environment omit t
4949
### `time`
5050
The time it took the test to execute, in miliseconds (1000ms=s)
5151

52-
### `succesful`
52+
### `successful`
5353
True/false based on the result of the test execution
5454

5555
### `reportUrl`
5656
URL of a human readable report of the test execution
5757

5858
## Help
59-
6059
For any help using this integration, reach out to `[email protected]`. You can also see RapidAPI Testing Guide in our [Help Center](https://docs.rapidapi.com/docs/creating-test-flows).

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ inputs:
1717
outputs:
1818
time:
1919
description: 'How long the test took to execute'
20-
succesful:
20+
successful:
2121
description: 'True or false based on the outcome of the test execution'
2222
reportUrl:
2323
description: 'Url for the full test execution URL'

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ core.group('Execute Test', async () => {
5353

5454
// 3. Set Response Data
5555
core.setOutput("time", testResult.executionTime);
56-
core.setOutput("succesful", testResult.succesful);
56+
core.setOutput("successful", testResult.successful);
5757

5858
// 4. Fail action if test failed
59-
if (!testResult.succesful) {
59+
if (!testResult.successful) {
6060
core.setFailed(`Test execution failed. View report here: ${testTrigger.reportUrl}`);
6161
}
62-
});
62+
});

0 commit comments

Comments
 (0)