Skip to content

Commit 6057b75

Browse files
committed
Sample code
1 parent d4fa80c commit 6057b75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/serenitydojo/playwright/toolshop/catalog/AddToCartTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void setupTrace(BrowserContext context) {
5454

5555
@AfterEach
5656
void recordTrace(TestInfo testInfo, BrowserContext context) {
57-
String traceName = testInfo.getDisplayName().replace(" ","-");
57+
String traceName = testInfo.getDisplayName().replace(" ","-").toLowerCase();
5858
context.tracing().stop(
5959
new Tracing.StopOptions()
6060
.setPath(Paths.get("trace-" + traceName + ".zip"))

0 commit comments

Comments
 (0)