diff --git a/.github/workflows/selenium_tests.yml b/.github/workflows/selenium_tests.yml index 9dfdf0f2..f1108db2 100644 --- a/.github/workflows/selenium_tests.yml +++ b/.github/workflows/selenium_tests.yml @@ -20,9 +20,15 @@ jobs: - name: Run docker-compose-tests run: | docker-compose -f docker-compose-tests.yml up -d - sleep 120 + sleep 10 + - name: Time for testing + run: | + while [ $(docker ps | grep selenium_tests) ]; do + sleep 60 + done - name: Tests results run: | + echo docker-compose -f docker-compose-tests.yml logs selenium-tests if [ $(docker-compose -f docker-compose-tests.yml logs selenium-tests | grep -c "OK") -eq 1 ]; then echo true exit 0