Skip to content

Commit

Permalink
Skip tests until firefox 127 is released everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
harsha509 committed Jun 16, 2024
1 parent 638f4df commit 2bd31eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.openqa.selenium.firefox.FirefoxOptions;
import org.openqa.selenium.firefox.GeckoDriverService;
import org.openqa.selenium.remote.service.DriverFinder;

import org.junit.jupiter.api.Disabled;

public class FirefoxTest extends BaseTest {
private FirefoxDriver driver;
Expand Down Expand Up @@ -125,6 +125,7 @@ public void setProfileLocation() {
}

@Test
@Disabled("Skipping tests until Firefox 127 is released")
public void installAddon() {
driver = startFirefoxDriver();
Path xpiPath = Paths.get("src/test/resources/extensions/selenium-example.xpi");
Expand All @@ -138,6 +139,7 @@ public void installAddon() {
}

@Test
@Disabled("Skipping tests until Firefox 127 is released")
public void uninstallAddon() {
driver = startFirefoxDriver();
Path xpiPath = Paths.get("src/test/resources/extensions/selenium-example.xpi");
Expand All @@ -150,6 +152,7 @@ public void uninstallAddon() {
}

@Test
@Disabled("Skipping tests until Firefox 127 is released")
public void installUnsignedAddonPath() {
driver = startFirefoxDriver();
Path path = Paths.get("src/test/resources/extensions/selenium-example");
Expand Down
6 changes: 3 additions & 3 deletions examples/ruby/spec/browsers/firefox_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
describe 'Features' do
let(:driver) { start_firefox }

it 'installs addon' do
it 'installs addon', :skip => "Skipping tests until Firefox 127 is released" do
extension_file_path = File.expand_path('../spec_support/extensions/webextensions-selenium-example.xpi', __dir__)

driver.install_addon(extension_file_path)
Expand All @@ -99,7 +99,7 @@
expect(injected.text).to eq 'Content injected by webextensions-selenium-example'
end

it 'uninstalls addon' do
it 'uninstalls addon', :skip => "Skipping tests until Firefox 127 is released" do
extension_file_path = File.expand_path('../spec_support/extensions/webextensions-selenium-example.xpi', __dir__)
extension_id = driver.install_addon(extension_file_path)

Expand All @@ -109,7 +109,7 @@
expect(driver.find_elements(id: 'webextensions-selenium-example')).to be_empty
end

it 'installs unsigned addon' do
it 'installs unsigned addon', :skip => "Skipping tests until Firefox 127 is released" do
extension_dir_path = File.expand_path('../spec_support/extensions/webextensions-selenium-example/', __dir__)

driver.install_addon(extension_dir_path, true)
Expand Down

0 comments on commit 2bd31eb

Please sign in to comment.