Skip to content

Commit

Permalink
[dotnet][rb][java][js][py] Automated Browser Version Update (#13830)
Browse files Browse the repository at this point in the history
* Update pinned browser versions

* Enabling a few BiDi tests

* Running script format

---------

Co-authored-by: Selenium CI Bot <selenium-ci@users.noreply.github.com>
Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
Co-authored-by: Diego Molina <diemol@gmail.com>
  • Loading branch information
4 people authored Apr 17, 2024
1 parent e9ef7e0 commit 85c0ad1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
16 changes: 8 additions & 8 deletions common/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def pin_browsers():

http_archive(
name = "linux_firefox",
url = "https://ftp.mozilla.org/pub/firefox/releases/124.0.2/linux-x86_64/en-US/firefox-124.0.2.tar.bz2",
sha256 = "5e007cb52a42ef60e404e76a8aa70c38b889848fcd8c373fa048c0f8a2b0f2bf",
url = "https://ftp.mozilla.org/pub/firefox/releases/125.0.1/linux-x86_64/en-US/firefox-125.0.1.tar.bz2",
sha256 = "0f702f7690b02953e336fac27874276d9d471c9d264dc0feb7fcc6693d63bd4b",
build_file_content = """
filegroup(
name = "files",
Expand All @@ -28,15 +28,15 @@ exports_files(

dmg_archive(
name = "mac_firefox",
url = "https://ftp.mozilla.org/pub/firefox/releases/124.0.2/mac/en-US/Firefox%20124.0.2.dmg",
sha256 = "f46c899369ef951716d0af68136ab1ab230ea4845a1b08db4ac71b1e5b151d36",
url = "https://ftp.mozilla.org/pub/firefox/releases/125.0.1/mac/en-US/Firefox%20125.0.1.dmg",
sha256 = "3f431079d423e5397987a4120a63948217252426219f23348cb6b6bbded3acf3",
build_file_content = "exports_files([\"Firefox.app\"])",
)

http_archive(
name = "linux_beta_firefox",
url = "https://ftp.mozilla.org/pub/firefox/releases/125.0b9/linux-x86_64/en-US/firefox-125.0b9.tar.bz2",
sha256 = "ed5c38fdba8bcbc9cf1b1a87a5fbdefee45e9d2be5018a00b5b597cb33ff2c17",
url = "https://ftp.mozilla.org/pub/firefox/releases/126.0b1/linux-x86_64/en-US/firefox-126.0b1.tar.bz2",
sha256 = "e26915f5a1de4ef4d966735529dd5762f689d270e508e2a961a0775db96f3a6a",
build_file_content = """
filegroup(
name = "files",
Expand All @@ -52,8 +52,8 @@ exports_files(

dmg_archive(
name = "mac_beta_firefox",
url = "https://ftp.mozilla.org/pub/firefox/releases/125.0b9/mac/en-US/Firefox%20125.0b9.dmg",
sha256 = "c89138ce8f43955d1ca1bf6bac18a9af5fa9e0a44ef02d504098ab70be8a3905",
url = "https://ftp.mozilla.org/pub/firefox/releases/126.0b1/mac/en-US/Firefox%20126.0b1.dmg",
sha256 = "1fbaa788b46f9c6051d4a7b373eebfb03320cb8b8010e2439682804a3bbb1050",
build_file_content = "exports_files([\"Firefox.app\"])",
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
package org.openqa.selenium.bidi.input;

import static org.assertj.core.api.Assertions.assertThat;
import static org.openqa.selenium.testing.drivers.Browser.FIREFOX;
import static org.openqa.selenium.testing.drivers.Browser.IE;
import static org.openqa.selenium.testing.drivers.Browser.SAFARI;

Expand Down Expand Up @@ -56,7 +55,6 @@ public void setUp() {
@Test
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(FIREFOX)
void canSetFiles() throws IOException {
driver.get(pages.formPage);
WebElement uploadElement = driver.findElement(By.id("upload"));
Expand All @@ -80,7 +78,6 @@ void canSetFiles() throws IOException {
@Test
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(FIREFOX)
public void canSetFilesWithElementId() throws IOException {
driver.get(pages.formPage);
WebElement uploadElement = driver.findElement(By.id("upload"));
Expand All @@ -100,7 +97,6 @@ public void canSetFilesWithElementId() throws IOException {
@Test
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(FIREFOX)
void canSetFile() throws IOException {
driver.get(pages.formPage);
WebElement uploadElement = driver.findElement(By.id("upload"));
Expand All @@ -121,7 +117,6 @@ void canSetFile() throws IOException {
@Test
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(FIREFOX)
void canSetFileWithElementId() throws IOException {
driver.get(pages.formPage);
WebElement uploadElement = driver.findElement(By.id("upload"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ public void canGetCookieByName() {
@NotYetImplemented(SAFARI)
@NotYetImplemented(IE)
@NotYetImplemented(CHROME)
@NotYetImplemented(FIREFOX)
@NotYetImplemented(EDGE)
public void canGetCookieInDefaultUserContext() {
String windowHandle = driver.getWindowHandle();
Expand Down Expand Up @@ -155,7 +154,6 @@ public void canAddCookie() {
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(CHROME)
@NotYetImplemented(FIREFOX)
public void canAddAndGetCookie() {
driver.get(appServer.whereIs("/common/animals"));

Expand Down Expand Up @@ -253,7 +251,6 @@ public void canGetAllCookies() {
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(CHROME)
@NotYetImplemented(FIREFOX)
public void canDeleteAllCookies() {
addCookieOnServerSide(new Cookie("foo", "set"));
assertSomeCookiesArePresent();
Expand All @@ -271,7 +268,6 @@ public void canDeleteAllCookies() {
@NotYetImplemented(IE)
@NotYetImplemented(EDGE)
@NotYetImplemented(CHROME)
@NotYetImplemented(FIREFOX)
public void canDeleteCookieWithName() {
String key1 = generateUniqueKey();
String key2 = generateUniqueKey();
Expand Down

0 comments on commit 85c0ad1

Please sign in to comment.