Skip to content

Commit

Permalink
Update github-actions-usetrace-integration-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dservidie authored Jul 1, 2024
1 parent d029b29 commit 7b607a0
Showing 1 changed file with 0 additions and 39 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/github-actions-usetrace-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,6 @@ on:
- development

jobs:
invoke-usetrace-webhook:
runs-on: ubuntu-latest
steps:
- name: Call external API
uses: actions/github-script@v6
with:
script: |
const response = await github.request('POST https://api.usetrace.com/api/trace/ZoMfAR6weAAXXcb3jfGGG9QPEvnsqBMZ/execute', {
headers: {
'Content-Type': 'application/json',
},
data: {
"requiredCapabilities": [
{
"browserName": "chrome"
}
],
"reporters": [
{
"webhook": {
"url": "https://usetrace.free.beeceptor.com",
"when": "always"
}
}
]
},
});
console.log(`Response status: ${response.status}`);
console.log('Response body:', response.data);
call-endpoint-action:
runs-on: ubuntu-latest
steps:
Expand All @@ -60,12 +30,3 @@ jobs:
}
]
}'

invoke-usetrace-webhook2:
runs-on: ubuntu-latest
steps:
- name: Call fake replacement for Usetrace API
run: |
curl -X GET \
-H "Content-Type: application/json" \
https://jsonplaceholder.typicode.com/todos/1

0 comments on commit 7b607a0

Please sign in to comment.