-
Notifications
You must be signed in to change notification settings - Fork 0
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
dmy.berezovskyi
committed
Oct 8, 2024
1 parent
a2b4965
commit 3396679
Showing
4 changed files
with
32 additions
and
1 deletion.
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,31 @@ | ||
# Use an official Python image compatible with arm64 architecture | ||
FROM --platform=linux/arm64 python:3.12-slim | ||
|
||
# Set environment variables | ||
ENV POETRY_VERSION=1.8.1 | ||
ENV PATH="/root/.local/bin:$PATH" | ||
ENV PYTHONPATH="pytest-python-selenium-framework" | ||
|
||
# Install system dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
curl \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Install Poetry | ||
RUN curl -sSL https://install.python-poetry.org | python3 - | ||
|
||
# Set the working directory | ||
WORKDIR pytest-python-selenium-framework | ||
|
||
# Copy the poetry files to the container | ||
COPY pyproject.toml poetry.lock* ./ | ||
|
||
# Install the dependencies using Poetry | ||
RUN poetry install --no-root --only main # Use --only main to skip dev dependencies | ||
|
||
# Copy the rest of the application code | ||
COPY . . | ||
|
||
# Specify the command to run the tests | ||
CMD ["poetry", "run", "pytest"] |
Empty file.
Empty file.
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,4 +1,4 @@ | ||
from pageobjects.text.fill_form import FillForm | ||
from src.pageobjects.text.fill_form import FillForm | ||
Check failure on line 1 in tests/test_fill_form/test_fill_form.py GitHub Actions / JUnit Test Reporttests/test_fill_form/test_fill_form.py.tests.test_fill_form.test_fill_form
Raw output
|
||
|
||
|
||
class TestFillForm: | ||
|