Skip to content

Commit 0d1db1d

Browse files
committed
Remove device name from tests.
1 parent ee54a6a commit 0d1db1d

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

src/main/java/org/thepalaceproject/ait/AppiumTestContext.java

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static AppiumTestContext createForTestInfo(
3535
throws Exception
3636
{
3737
return create(
38-
AppiumTestContext.createTestName(testInfo, device),
38+
AppiumTestContext.createTestName(testInfo),
3939
device
4040
);
4141
}
@@ -137,8 +137,7 @@ private static AppiumTestContext createForLocal(
137137
}
138138

139139
private static String createTestName(
140-
final TestInfo testInfo,
141-
final AppiumDeviceConfiguration device)
140+
final TestInfo testInfo)
142141
{
143142
final var text = new StringBuilder();
144143

@@ -152,12 +151,6 @@ private static String createTestName(
152151
text.append(method.getName());
153152
text.append(' ');
154153
});
155-
156-
text.append('(');
157-
text.append(device.deviceName());
158-
text.append(" ");
159-
text.append(device.osVersion());
160-
text.append(')');
161154
return text.toString();
162155
}
163156

0 commit comments

Comments
 (0)