Skip to content

Commit

Permalink
Merge pull request #12 from kishikawakatsumi/filename-anchor
Browse files Browse the repository at this point in the history
Fix no filename in failure summary and whitespace in anchor link name
  • Loading branch information
kishikawakatsumi authored Oct 20, 2021
2 parents ca8f155 + cadfeeb commit b62a571
Show file tree
Hide file tree
Showing 1,254 changed files with 530 additions and 211 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
with:
path: __tests__/data/TAU.xcresult
title: TAU test report
- uses: ./
with:
path: __tests__/data/TestResults.xcresult
title: TestResults test report
- uses: ./
with:
path: |
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
## Example
```yaml
- uses: kishikawakatsumi/xcresulttool@v1
- uses: kishikawakatsumi/xcresulttool@v1.0.1
with:
path: TestResults.xcresult
if: always()
Expand All @@ -65,7 +65,7 @@ jobs:
run: |
xcodebuild -scheme MyFramework -resultBundlePath TestResults test
- uses: kishikawakatsumi/xcresulttool@v1
- uses: kishikawakatsumi/xcresulttool@v1.0.1
with:
path: TestResults.xcresult
if: always()
Expand All @@ -76,7 +76,7 @@ jobs:
## Multiple result bundle paths

```yaml
- uses: kishikawakatsumi/xcresulttool@v1
- uses: kishikawakatsumi/xcresulttool@v1.0.1
with:
path: |
results/Example.xcresult
Expand All @@ -88,7 +88,7 @@ jobs:
## Input parameters
```yaml
- uses: kishikawakatsumi/xcresulttool@v1
- uses: kishikawakatsumi/xcresulttool@v1.0.1
with:
# Path to the xcresult bundle.
path: 'TestResults.xcresult'
Expand Down
52 changes: 26 additions & 26 deletions __tests__/data/KeychainAccess.md

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions __tests__/data/Spaceship.md

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions __tests__/data/TAU.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
---

### Test Summary
#### <a name="TAUUITests_summary"></a>[TAUUITests](#user-content-tauuitests)
#### <a name="tauuitests_summary"></a>[TAUUITests](#user-content-tauuitests)

- **Device:** iPhone 13 mini, 15.0 (19A339)
- **SDK:** Simulator - iOS 15.0, 15.0
Expand All @@ -23,10 +23,10 @@
</tr></thead>
<tbody>
<tr>
<td align="left" width="368px"><a name="TAUUITests_BDDTest_summary"></a><a href="#user-content-tauuitests_bddtest"><img src="https://xcresulttool-resources.netlify.app/images/test-class.png" width="14px" align="top">&nbsp;BDDTest</a></td><td align="right" width="80px">1</td><td align="right" width="80px">0</td><td align="right" width="80px"><b>1</b></td><td align="right" width="80px">0</td><td align="right" width="80px">0</td>
<td align="left" width="368px"><a name="tauuitests_bddtest_summary"></a><a href="#user-content-tauuitests_bddtest"><img src="https://xcresulttool-resources.netlify.app/images/test-class.png" width="14px" align="top">&nbsp;BDDTest</a></td><td align="right" width="80px">1</td><td align="right" width="80px">0</td><td align="right" width="80px"><b>1</b></td><td align="right" width="80px">0</td><td align="right" width="80px">0</td>
</tr>
<tr>
<td align="left" width="368px"><a name="TAUUITests_TAUUITests_summary"></a><a href="#user-content-tauuitests_tauuitests"><img src="https://xcresulttool-resources.netlify.app/images/test-class.png" width="14px" align="top">&nbsp;TAUUITests</a></td><td align="right" width="80px">2</td><td align="right" width="80px">1</td><td align="right" width="80px"><b>1</b></td><td align="right" width="80px">0</td><td align="right" width="80px">0</td>
<td align="left" width="368px"><a name="tauuitests_tauuitests_summary"></a><a href="#user-content-tauuitests_tauuitests"><img src="https://xcresulttool-resources.netlify.app/images/test-class.png" width="14px" align="top">&nbsp;TAUUITests</a></td><td align="right" width="80px">2</td><td align="right" width="80px">1</td><td align="right" width="80px"><b>1</b></td><td align="right" width="80px">0</td><td align="right" width="80px">0</td>
</tr>
</tbody>
</table>
Expand All @@ -35,18 +35,18 @@
---

### <img src="https://xcresulttool-resources.netlify.app/images/failure.png" alt="Failure" title="Failure" width="14px" align="top"> Failures
<h4><a name="TAUUITests_BDDTest/testThankYouMessageInBDStyle()_failure-summary"></a><a href="#user-content-tauuitests_bddtest/testthankyoumessageinbdstyle()">TAUUITests/BDDTest/testThankYouMessageInBDStyle()</a></h4>
<h4><a name="tauuitests_bddtest/testthankyoumessageinbdstyle()_failure-summary"></a><a href="#user-content-tauuitests_bddtest/testthankyoumessageinbdstyle()">TAUUITests/BDDTest/testThankYouMessageInBDStyle()</a></h4>
<table><tr><td align="right" width="100px"><b>File</b></td><td width="668px">/Users/katsumi/Downloads/XCUITest-TAU-chapter4/TAUUITests/BDDTest.swift:40</td></tr><tr><td align="right" width="100px"><b>Issue Type</b></td><td width="668px">Assertion Failure</td></tr><tr><td align="right" width="100px"><b>Message</b></td><td width="668px">Failed to synthesize event: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58911, elementOrHash.elementID: 5661339664.11. (Underlying Error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58911, elementOrHash.elementID: 5661339664.11)</td></tr></table>

<h4><a name="TAUUITests_TAUUITests/testThankYouMessage()_failure-summary"></a><a href="#user-content-tauuitests_tauuitests/testthankyoumessage()">TAUUITests/TAUUITests/testThankYouMessage()</a></h4>
<h4><a name="tauuitests_tauuitests/testthankyoumessage()_failure-summary"></a><a href="#user-content-tauuitests_tauuitests/testthankyoumessage()">TAUUITests/TAUUITests/testThankYouMessage()</a></h4>
<table><tr><td align="right" width="100px"><b>File</b></td><td width="668px">/Users/katsumi/Downloads/XCUITest-TAU-chapter4/TAUUITests/TAUUITests.swift:24</td></tr><tr><td align="right" width="100px"><b>Issue Type</b></td><td width="668px">Assertion Failure</td></tr><tr><td align="right" width="100px"><b>Message</b></td><td width="668px">Failed to synthesize event: Failed to scroll to visible (by AX action) Button, {{25.0, 500.0}, {330.0, 41.0}}, identifier: 'enrollButton', label: 'Enroll', error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58971, elementOrHash.elementID: 4931535136.11. (Underlying Error: Error kAXErrorCannotComplete performing AXAction kAXScrollToVisibleAction on element AX element pid: 58971, elementOrHash.elementID: 4931535136.11)</td></tr></table>


### Test Details

#### <a name="TAUUITests"></a>TAUUITests[<img src="https://xcresulttool-resources.netlify.app/images/right-arrow-curving-left.png" width="14px" align="top">](#user-content-tauuitests_summary)
#### <a name="tauuitests"></a>TAUUITests[<img src="https://xcresulttool-resources.netlify.app/images/right-arrow-curving-left.png" width="14px" align="top">](#user-content-tauuitests_summary)

<a name="TAUUITests_BDDTest"></a><h5>BDDTest&nbsp;[<img src="https://xcresulttool-resources.netlify.app/images/right-arrow-curving-left.png" width="14px" align="top">](#user-content-tauuitests_bddtest_summary)</h5>
<a name="tauuitests_bddtest"></a><h5>BDDTest&nbsp;[<img src="https://xcresulttool-resources.netlify.app/images/right-arrow-curving-left.png" width="14px" align="top">](#user-content-tauuitests_bddtest_summary)</h5>
<table>
<thead><tr>
<th><img src="https://xcresulttool-resources.netlify.app/images/passed.png" alt="Success" title="Success" width="14px" align="top"></th><th><img src="https://xcresulttool-resources.netlify.app/images/failure.png" alt="Failure" title="Failure" width="14px" align="top"></th><th><img src="https://xcresulttool-resources.netlify.app/images/skipped.png" alt="Skipped" title="Skipped" width="14px" align="top"></th><th><img src="https://xcresulttool-resources.netlify.app/images/expected-failure.png" alt="Expected Failure" title="Expected Failure" width="14px" align="top"></th><th>:stopwatch:</th>
Expand All @@ -59,7 +59,7 @@
</table>

<table>
<tr><td align="center" valign="top" width="52px"><img src="https://xcresulttool-resources.netlify.app/images/failure.png" alt="Failure" title="Failure" width="14px" align="top"></td><td valign="top" width="716px"><a name="TAUUITests_BDDTest/testThankYouMessageInBDStyle()"></a><img src="https://xcresulttool-resources.netlify.app/images/test-method.png" width="14px" align="top">&nbsp;<code>testThankYouMessageInBDStyle()</code><a href="#user-content-tauuitests_bddtest/testthankyoumessageinbdstyle()_failure-summary"><img src="https://xcresulttool-resources.netlify.app/images/right-arrow-curving-left.png" width="14px" align="top"></a><br><br><b>Activities:</b>
<tr><td align="center" valign="top" width="52px"><img src="https://xcresulttool-resources.netlify.app/images/failure.png" alt="Failure" title="Failure" width="14px" align="top"></td><td valign="top" width="716px"><a name="tauuitests_bddtest/testthankyoumessageinbdstyle()"></a><img src="https://xcresulttool-resources.netlify.app/images/test-method.png" width="14px" align="top">&nbsp;<code>testThankYouMessageInBDStyle()</code><a href="#user-content-tauuitests_bddtest/testthankyoumessageinbdstyle()_failure-summary"><img src="https://xcresulttool-resources.netlify.app/images/right-arrow-curving-left.png" width="14px" align="top"></a><br><br><b>Activities:</b>

- Start Test at 2021-10-17 02:43:13.407
<details open><summary><img src="https://xcresulttool-resources.netlify.app/images/attachment.png" width="14px" align="top"></summary><div><img width="375px" src="undefined"></div></details>
Expand Down Expand Up @@ -128,7 +128,7 @@
<details open><summary><img src="https://xcresulttool-resources.netlify.app/images/attachment.png" width="14px" align="top"></summary><div><img width="375px" src="undefined"></div></details></td></tr>
</table>

<a name="TAUUITests_TAUUITests"></a><h5>TAUUITests&nbsp;[<img src="https://xcresulttool-resources.netlify.app/images/right-arrow-curving-left.png" width="14px" align="top">](#user-content-tauuitests_tauuitests_summary)</h5>
<a name="tauuitests_tauuitests"></a><h5>TAUUITests&nbsp;[<img src="https://xcresulttool-resources.netlify.app/images/right-arrow-curving-left.png" width="14px" align="top">](#user-content-tauuitests_tauuitests_summary)</h5>
<table>
<thead><tr>
<th><img src="https://xcresulttool-resources.netlify.app/images/passed.png" alt="Success" title="Success" width="14px" align="top"></th><th><img src="https://xcresulttool-resources.netlify.app/images/failure.png" alt="Failure" title="Failure" width="14px" align="top"></th><th><img src="https://xcresulttool-resources.netlify.app/images/skipped.png" alt="Skipped" title="Skipped" width="14px" align="top"></th><th><img src="https://xcresulttool-resources.netlify.app/images/expected-failure.png" alt="Expected Failure" title="Expected Failure" width="14px" align="top"></th><th>:stopwatch:</th>
Expand Down Expand Up @@ -177,7 +177,7 @@
- Checking existence of `"Please Enter City" StaticText`
- Tear Down
- Terminate com.shashikant.TAU:58931</td></tr>
<tr><td align="center" valign="top" width="52px"><img src="https://xcresulttool-resources.netlify.app/images/failure.png" alt="Failure" title="Failure" width="14px" align="top"></td><td valign="top" width="716px"><a name="TAUUITests_TAUUITests/testThankYouMessage()"></a><img src="https://xcresulttool-resources.netlify.app/images/test-method.png" width="14px" align="top">&nbsp;<code>testThankYouMessage()</code><a href="#user-content-tauuitests_tauuitests/testthankyoumessage()_failure-summary"><img src="https://xcresulttool-resources.netlify.app/images/right-arrow-curving-left.png" width="14px" align="top"></a><br><br><b>Activities:</b>
<tr><td align="center" valign="top" width="52px"><img src="https://xcresulttool-resources.netlify.app/images/failure.png" alt="Failure" title="Failure" width="14px" align="top"></td><td valign="top" width="716px"><a name="tauuitests_tauuitests/testthankyoumessage()"></a><img src="https://xcresulttool-resources.netlify.app/images/test-method.png" width="14px" align="top">&nbsp;<code>testThankYouMessage()</code><a href="#user-content-tauuitests_tauuitests/testthankyoumessage()_failure-summary"><img src="https://xcresulttool-resources.netlify.app/images/right-arrow-curving-left.png" width="14px" align="top"></a><br><br><b>Activities:</b>

- Start Test at 2021-10-17 02:43:29.414
<details open><summary><img src="https://xcresulttool-resources.netlify.app/images/attachment.png" width="14px" align="top"></summary><div><img width="375px" src="undefined"></div></details>
Expand Down
Loading

0 comments on commit b62a571

Please sign in to comment.