mirror of https://github.com/apache/superset.git
fix(webdriver): default WEBDRIVER_OPTION_ARGS and update Firefox deps (#23388)
This commit is contained in:
parent
e13fa27074
commit
e3a7d2014d
|
@ -114,7 +114,14 @@ COPY ./requirements/*.txt ./docker/requirements-*.txt/ /app/requirements/
|
|||
USER root
|
||||
|
||||
RUN apt-get update -y \
|
||||
&& apt-get install -y --no-install-recommends libnss3 libdbus-glib-1-2 libgtk-3-0 libx11-xcb1 wget
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
libnss3 \
|
||||
libdbus-glib-1-2 \
|
||||
libgtk-3-0 \
|
||||
libx11-xcb1 \
|
||||
libasound2 \
|
||||
libxtst6 \
|
||||
wget
|
||||
|
||||
# Install GeckoDriver WebDriver
|
||||
RUN wget https://github.com/mozilla/geckodriver/releases/download/${GECKODRIVER_VERSION}/geckodriver-${GECKODRIVER_VERSION}-linux64.tar.gz -O /tmp/geckodriver.tar.gz && \
|
||||
|
|
|
@ -1302,9 +1302,8 @@ WEBDRIVER_AUTH_FUNC = None
|
|||
WEBDRIVER_CONFIGURATION: Dict[Any, Any] = {"service_log_path": "/dev/null"}
|
||||
|
||||
# Additional args to be passed as arguments to the config object
|
||||
# Note: these options are Chrome-specific. For FF, these should
|
||||
# only include the "--headless" arg
|
||||
WEBDRIVER_OPTION_ARGS = ["--headless", "--marionette"]
|
||||
# Note: If using Chrome, you'll want to add the "--marionette" arg.
|
||||
WEBDRIVER_OPTION_ARGS = ["--headless"]
|
||||
|
||||
# The base URL to query for accessing the user interface
|
||||
WEBDRIVER_BASEURL = "http://0.0.0.0:8080/"
|
||||
|
|
Loading…
Reference in New Issue