Skip to content

Commit 96b432d

Browse files
authored
chode: roll driver to 1.30.0-beta-1674276599000 (#1183)
1 parent 551c168 commit 96b432d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

playwright/src/test/java/com/microsoft/playwright/TestGlobalFetch.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,10 @@ void shouldSupportGlobalUserAgentOption() throws ExecutionException, Interrupted
164164

165165
@Test
166166
void shouldSupportGlobalTimeoutOption() {
167-
APIRequestContext request = playwright.request().newContext(new APIRequest.NewContextOptions().setTimeout(1));
167+
APIRequestContext request = playwright.request().newContext(new APIRequest.NewContextOptions().setTimeout(100));
168168
server.setRoute("/empty.html", exchange -> {});
169169
PlaywrightException e = assertThrows(PlaywrightException.class, () -> request.get(server.EMPTY_PAGE));
170-
assertTrue(e.getMessage().contains("Request timed out after 1ms"), e.getMessage());
170+
assertTrue(e.getMessage().contains("Request timed out after 100ms"), e.getMessage());
171171
}
172172

173173

playwright/src/test/java/com/microsoft/playwright/TestPageFill.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void shouldThrowOnUnsupportedInputs() {
4444
for (String type : new String[]{"button", "checkbox", "file", "image", "radio", "reset", "submit"}) {
4545
page.evalOnSelector("input", "(input, type) => input.setAttribute('type', type)", type);
4646
PlaywrightException e = assertThrows(PlaywrightException.class, () -> page.fill("input", ""));
47-
assertTrue(e.getMessage().contains("input of type \"" + type + "\" cannot be filled"), "type = " + type + e.getMessage());
47+
assertTrue(e.getMessage().contains("Error: Input of type \"" + type + "\" cannot be filled"), "type = " + type + e.getMessage());
4848
}
4949
}
5050

scripts/CLI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.30.0-alpha-jan-21-2023
1+
1.30.0-beta-1674276599000

0 commit comments

Comments
 (0)