Skip to content

Commit 51ab7c2

Browse files
committed
[tests] Fix selenium tests
1 parent a2eeba8 commit 51ab7c2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
pip install -U pip setuptools wheel
103103
pip install -U -e ".[saml]"
104104
pip install -U -r requirements-test.txt
105-
pip install -U "Django~=4.2.15"
105+
pip install -U "Django~=5.2.0"
106106
./tests/manage.py migrate
107107
108108
- name: Creating configuration of organization (supports mobile verification)

browser-test/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export const executeCommand = (command, argv) => {
2424
export const getDriver = async () =>
2525
new Builder()
2626
.forBrowser("firefox")
27-
.setFirefoxOptions(new firefox.Options().headless())
27+
.setFirefoxOptions(new firefox.Options().addArguments("-headless"))
2828
.build();
2929

3030
export const getElementByCss = async (driver, css) => {

0 commit comments

Comments
 (0)