Skip to content

Commit

Permalink
Merge pull request #53 from Altran-PT-GDC/fix_tests
Browse files Browse the repository at this point in the history
Fix test and update actions
  • Loading branch information
samuelpcabral authored Mar 20, 2024
2 parents b4ce631 + 711993d commit 7fb2806
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
with:
name: robot_reports
- name: Send report to commit
uses: joonvena/robotframework-reporter-action@v2.1
uses: joonvena/robotframework-reporter-action@v2.4
with:
gh_access_token: ${{ secrets.GITHUB_TOKEN }}
report_path: /robot_reports
6 changes: 2 additions & 4 deletions Tests/Requests/busca_servicos.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cli="http://cliente.bean.master.sigep.bsb.correios.com.br/">
<soapenv:Header/>
<soapenv:Body>
<cli:buscaServicos>
<idContrato>9992157880</idContrato>
<idCartaoPostagem>0067599079</idCartaoPostagem>
<cli:buscaServicosAdicionaisAtivos>
<usuario>sigep</usuario>
<senha>n5f9t8</senha>
</cli:buscaServicos>
</cli:buscaServicosAdicionaisAtivos>
</soapenv:Body>
</soapenv:Envelope>
4 changes: 2 additions & 2 deletions Tests/keyword_tests.robot
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ Test Read Tags With Index
[Tags] correios
Create Soap Client ${wsdl_correios}
${response} Call SOAP Method With XML ${requests_dir}${/}busca_servicos.xml
${codigo} Get Data From XML By Tag ${response} codigo index=33
Should Be Equal As Integers ${codigo} 03336
${codigo} Get Data From XML By Tag ${response} codigo index=13
Should Be Equal As Integers ${codigo} 032

Test Response To Dict
[Tags] correios
Expand Down

1 comment on commit 7fb2806

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
21 0 0 21 100 5.997561s

Passed Tests

Name ⏱️ Duration Suite
Test Call Soap Method 0.127 s Keyword Tests
Test Call Soap Method Error 0.279 s Keyword Tests
Test Read 0.108 s Keyword Tests
Test Read With Binding Address 0.279 s Keyword Tests
Test Read String Xml 0.124 s Keyword Tests
Test Edit And Read 0.111 s Keyword Tests
Test Call Soap Method With XML Anything 0.106 s Keyword Tests
Test Call SOAP Method With String XML Anything 0.106 s Keyword Tests
Test Read UTF8 0.518 s Keyword Tests
Test Get Last Response Object 0.347 s Keyword Tests
Test Save File Response 0.502 s Keyword Tests
Test Read Tags With Index 2.001 s Keyword Tests
Test Response To Dict 1.321 s Keyword Tests
Test Edit XML Request 1 0.012 s Keyword Tests
Test Edit XML Request 2 0.008 s Keyword Tests
Test Edit XML Request 3 0.008 s Keyword Tests
Test Edit XML Request 4 0.008 s Keyword Tests
Test Edit XML Request 5 0.009 s Keyword Tests
Test Edit XML Request 6 0.009 s Keyword Tests
Test Edit XML Request 7 0.008 s Keyword Tests
Test Edit XML Request 8 0.008 s Keyword Tests

Please sign in to comment.