Skip to content

Commit

Permalink
ci/cd - fix country typo and increase button click timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian committed Nov 1, 2024
1 parent af9d670 commit 6327d7e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/core/country/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.5"

services:
tests-gb:
tests-fr:
build: .
environment:
PYTHONUNBUFFERED: "1"
Expand Down
2 changes: 1 addition & 1 deletion tests/core/country/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ do

echo "🌍 Starting the FR country"
if [ "$integration" == "docker" ] ; then
docker compose -f docker-compose.test.yml up tests-FR --abort-on-container-exit --exit-code-from tests-FR
docker compose -f docker-compose.test.yml up tests-fr --abort-on-container-exit --exit-code-from tests-fr
else
export COUNTRY="FR"
python3 main.py
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def assert_button_click(driver, button: Union[str, WebElement], by: str = "xpath

clicked = True

if (datetime.now() - current_date).seconds > 10:
if (datetime.now() - current_date).seconds > 20:
log_error("Button click failed, exiting ...")
exit(1)

Expand Down

0 comments on commit 6327d7e

Please sign in to comment.