Skip to content

Commit

Permalink
add excluded methods
Browse files Browse the repository at this point in the history
  • Loading branch information
bpvstaty366 committed Mar 8, 2024
1 parent 5cbdb50 commit a10c302
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-standalone-mfos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
EVENT_NAME: ${{ github.event_name }}
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 @@ -43,23 +43,7 @@ function runTests(){
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 a10c302

Please sign in to comment.