Skip to content

Commit

Permalink
add exception
Browse files Browse the repository at this point in the history
  • Loading branch information
bpvstaty366 committed Mar 8, 2024
1 parent 829f1fe commit 7540e53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
1 change: 1 addition & 0 deletions .github/workflows/run-standalone-mfos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
GITHUB_REF: ${{ github.ref }}
PR_HEAD_REF: ${{ github.event.pull_request.head.ref }}
EXCLUDED_METHODS: ${{ secrets.EXCLUDED_METHODS }}
INTENT: ${{ secrets.INTENT }}
run: |
./.github/workflows/utils.sh runTests
Expand Down
18 changes: 1 addition & 17 deletions .github/workflows/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,7 @@ function runTests(){
sleep 5s
cd ..
echo "curl request with runTest install on initialization"
response=$(curl -X POST -H "Content-Type: application/json" -d '{
"result": {
"lmt": 0,
"us_privacy": "1-N-",
"discovery": {
"navigateTo": {
"action": "search",
"data": {
"query": "{\"task\":\"runTest\",\"params\":{\"certification\":true,\"exceptionMethods\":[],\"methodsToBeExcluded\":[\"'"$EXCLUDED_METHODS"'\"]},\"action\":\"CORE\",\"context\":{\"communicationMode\":\"SDK\"},\"metadata\":{\"target\":\"MFOS\",\"targetVersion\":\"NIL\",\"deviceModel\":\"NIL\",\"fbVersion\":\"NA\"},\"asynchronous\":false,\"appType\":\"firebolt\"}"
},
"context": {
"source": "voice"
}
}
}
}
}' http://localhost:3333/api/v1/state/method/parameters.initialization/result)
response=$(curl -X POST -H "Content-Type: application/json" -d "$INTENT" http://localhost:3333/api/v1/state/method/parameters.initialization/result)

echo "run mfos tests in a headless browser"
npm install puppeteer
Expand Down

0 comments on commit 7540e53

Please sign in to comment.