Revert "tests: re-add firefox e2e tests"

This reverts commit a60f6e426f.
This commit is contained in:
Jens Langhammer
2021-07-29 19:45:12 +02:00
parent a60f6e426f
commit acbc0ee5cc
3 changed files with 14 additions and 103 deletions

View File

@ -21,6 +21,7 @@ from selenium.common.exceptions import (
WebDriverException,
)
from selenium.webdriver.common.by import By
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.remote.webdriver import WebDriver
from selenium.webdriver.remote.webelement import WebElement
@ -32,8 +33,6 @@ from authentik.core.models import User
from authentik.managed.manager import ObjectManager
RETRIES = int(environ.get("RETRIES", "5"))
BROWSER_NAME = environ.get("BROWSER", "chrome")
# pylint: disable=invalid-name
def USER() -> User: # noqa
@ -89,11 +88,7 @@ class SeleniumTestCase(StaticLiveServerTestCase):
def _get_driver(self) -> WebDriver:
return webdriver.Remote(
command_executor="http://localhost:4444/wd/hub",
desired_capabilities={
"browserName": BROWSER_NAME,
"version": "",
"platform": "ANY",
}
desired_capabilities=DesiredCapabilities.CHROME,
)
def tearDown(self):