Skip to content

Commit 74257b9

Browse files
author
Jurollet
authored
Merge pull request #3 from applidium/fix/display_application_logs
Fix retro compatibility with ADFastlane v6.1.0
2 parents b023c56 + 60be8ef commit 74257b9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

XCTestHTMLReport/XCTestHTMLReport/Classes/HTMLTemplates.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ struct HTMLTemplates
966966
<li onclick=\"showApplicationLogs(this);\">App Logs</li>
967967
</ul>
968968
</div>
969-
<iframe id=\"test-logs-iframe\" src=\"test-logs-[[DEVICE_IDENTIFIER]].txt\"></iframe>
969+
<iframe id=\"test-logs-iframe\" src=\"logs-[[DEVICE_IDENTIFIER]].txt\"></iframe>
970970
<iframe id=\"app-logs-iframe\" src=\"app-logs-[[DEVICE_IDENTIFIER]].txt\"></iframe>
971971
</div>
972972
<div id=\"design-review\">

XCTestHTMLReport/XCTestHTMLReport/Classes/Models/Run.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ struct Run: HTML
126126
let activityLogs = logs[start..<end]
127127

128128
do {
129-
let file = "\(result.values.first!)/test-logs-\(runDestination.targetDevice.uniqueIdentifier).txt"
129+
let file = "\(result.values.first!)/logs-\(runDestination.targetDevice.uniqueIdentifier).txt"
130130
try activityLogs.write(toFile: file, atomically: false, encoding: .utf8)
131131
}
132132
catch let e {

XCTestHTMLReport/XCTestHTMLReport/HTML/run.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<li onclick="showApplicationLogs(this);">App Logs</li>
2121
</ul>
2222
</div>
23-
<iframe id="test-logs-iframe" src="test-logs-[[DEVICE_IDENTIFIER]].txt"></iframe>
23+
<iframe id="test-logs-iframe" src="logs-[[DEVICE_IDENTIFIER]].txt"></iframe>
2424
<iframe id="app-logs-iframe" src="app-logs-[[DEVICE_IDENTIFIER]].txt"></iframe>
2525
</div>
2626
<div id="design-review">

0 commit comments

Comments
 (0)