From ed6b7450d4106ac6d3cc8b56f5744310fbabf633 Mon Sep 17 00:00:00 2001 From: Marina Date: Fri, 1 Mar 2024 15:32:29 +0300 Subject: [PATCH] structure changed --- .github/workflows/selenium_tests.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/selenium_tests.yml b/.github/workflows/selenium_tests.yml index f1108db2..06f40349 100644 --- a/.github/workflows/selenium_tests.yml +++ b/.github/workflows/selenium_tests.yml @@ -19,11 +19,8 @@ jobs: docker-compose -f docker-compose-tests.yml build - name: Run docker-compose-tests run: | - docker-compose -f docker-compose-tests.yml up -d - sleep 10 - - name: Time for testing - run: | - while [ $(docker ps | grep selenium_tests) ]; do + docker-compose -f docker-compose-tests.yml up + until docker-compose -f docker-compose-tests.yml logs selenium-tests | grep -q "Run"; do sleep 60 done - name: Tests results