-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0145493
commit 83e8fa4
Showing
4 changed files
with
33 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM selenium/standalone-chrome:121.0-chromedriver-121.0-grid-4.18.0-20240220 | ||
|
||
WORKDIR /usr/src/project | ||
|
||
USER root | ||
RUN apt-get update && \ | ||
apt-get install -y python3 python3-pip && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY tests ./tests | ||
RUN pip install -r tests/requirements.txt | ||
|
||
CMD ["python3", "tests/main.py", "--login", "admin", "--password", "admin"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
selenium==4.16.0 #in this version you don't need to download geckodriver | ||
webdriver-manager==4.0.1 #to avoid problem with binary | ||
selenium==4.18.0 | ||
# webdriver-manager==4.0.1 #to avoid problem with binary | ||
# ipython==7.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters