Skip to content

Commit

Permalink
Disable Opera tests since Opera is not supported in the latest Seleni…
Browse files Browse the repository at this point in the history
…um releases
  • Loading branch information
bonigarcia committed Oct 31, 2023
1 parent c32b328 commit eca00d3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.slf4j.Logger;
Expand Down Expand Up @@ -56,6 +57,7 @@ public void teardown() {
driver.quit();
}

@Ignore("Opera is not supported in the latest versions of Selenium")
@Test
public void test() {
// Exercise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import static org.assertj.core.api.Assertions.assertThat;
import static org.slf4j.LoggerFactory.getLogger;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.openqa.selenium.chrome.ChromeDriver;
Expand All @@ -36,6 +37,7 @@ class HelloWorldOperaSelJupTest {

static final Logger log = getLogger(lookup().lookupClass());

@Disabled("Opera is not supported in the latest versions of Selenium")
@Test
void test(@Opera ChromeDriver driver) {
// Exercise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.WebDriver;
import org.slf4j.Logger;
Expand Down Expand Up @@ -56,6 +57,7 @@ void teardown() {
driver.quit();
}

@Disabled("Opera is not supported in the latest versions of Selenium")
@Test
void test() {
// Exercise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Ignore;
import org.testng.annotations.Test;

import io.github.bonigarcia.wdm.WebDriverManager;
Expand Down Expand Up @@ -56,6 +57,7 @@ public void teardown() {
driver.quit();
}

@Ignore("Opera is not supported in the latest versions of Selenium")
@Test
public void test() {
// Exercise
Expand Down

0 comments on commit eca00d3

Please sign in to comment.