Skip to content

Commit

Permalink
Change report path on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pdenert committed Nov 6, 2024
1 parent 41205c0 commit 42fff9c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,10 @@ class AndroidTestBackend {
if (flavor != null) {
flavorPath = 'flavors/$flavor/';
}
final reportPath =
final path =
'file://${_rootDirectory.path}/build/app/reports/androidTests/connected/${flavorPath}index.html';
final reportPath =
_platform.isWindows ? path.replaceAll(r'\', '/') : path;

final patrolLogReader = PatrolLogReader(
listenStdOut: processLogcat.listenStdOut,
Expand Down

0 comments on commit 42fff9c

Please sign in to comment.