-
Notifications
You must be signed in to change notification settings - Fork 1
395 selenium #436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
395 selenium #436
Changes from 8 commits
f8053a3
49b32a5
13c445f
69db029
7927bfa
8203e99
b950b60
c467d56
eee9bca
b3d0aca
373f8ea
ef9eea4
05b341f
71c133d
9c7e47e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,4 +6,3 @@ venv | |
| __pycache__ | ||
| Dockerfile* | ||
| app/playground | ||
| tests/selenium | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,5 @@ | ||
| .venv | ||
| venv | ||
| .venv | ||
| .idea | ||
| ssl | ||
| __pycache__ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| FROM selenium/standalone-chrome:137.0-chromedriver-137.0-grid-4.33.0-20250606 | ||
|
|
||
| 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/requirements.txt requirements.txt | ||
| RUN pip install -r requirements.txt | ||
|
|
||
| COPY tests/selenium selenium | ||
| COPY tests/test_data test_data | ||
| COPY tests/simple_phrases_russian.wav simple_phrases_russian.wav | ||
|
|
||
| COPY app/config.py app/config.py | ||
| COPY app_conf/testing.ini app_conf/testing.ini | ||
|
|
||
| ENV PYTHONPATH='/usr/src/project/:/usr/src/project/app/' | ||
|
|
||
| # CMD ["pytest", "-s", "."] |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| version: '2' | ||
|
|
||
| services: | ||
| selenium-tests: | ||
| build: | ||
| context: . | ||
| dockerfile: Dockerfile_selenium | ||
| shm_size: 2g | ||
| depends_on: | ||
| - web | ||
| networks: | ||
| - default |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,2 @@ | ||
| pytest==8.0.2 | ||
| selenium==4.16.0 | ||
| webdriver-manager==4.0.1 | ||
| selenium==4.33.0 |
|
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Для информации (исправлять не нужно) - для разных образов (точнее Dockerfile'ов) можно указывать свои .dockerignore (ссылка)