From fd238142c7b9c9f1f188cd753dff4b66241fdc33 Mon Sep 17 00:00:00 2001 From: Daniil Tkachev Date: Wed, 8 Jan 2025 16:00:27 +0100 Subject: [PATCH] TS-47 Add module-specific fixtures sql dump --- .github/oxid-esales/cypress.sh | 7 ++++++- tests/Codeception/Acceptance/PaymentsAvailableCest.php | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/oxid-esales/cypress.sh b/.github/oxid-esales/cypress.sh index 9338132..712f0ea 100755 --- a/.github/oxid-esales/cypress.sh +++ b/.github/oxid-esales/cypress.sh @@ -53,9 +53,14 @@ function run_docker_compose_up() { echo "CYPRESS_WORKDIR=$CYPRESS_WORKDIR" echo "CYPRESS_CONFIG=$CYPRESS_CONFIG" docker ps - docker exec -it telecash-module-cypress-1 curl http://oxideshop.local + docker compose up cypress + docker exec -it telecash-module-cypress-1 curl http://oxideshop.local + docker exec -it telecash-module-cypress-1 curl http://localhost.local + docker exec -it telecash-module-cypress-1 curl http://telecash-module-apache-1 + curl http://oxideshop.local + curl http://localhost.local } # Set environment variables diff --git a/tests/Codeception/Acceptance/PaymentsAvailableCest.php b/tests/Codeception/Acceptance/PaymentsAvailableCest.php index 711e427..022f9a3 100644 --- a/tests/Codeception/Acceptance/PaymentsAvailableCest.php +++ b/tests/Codeception/Acceptance/PaymentsAvailableCest.php @@ -20,6 +20,8 @@ public function checkPayments(AcceptanceTester $I): void { $I->amGoingTo("Check if Telecash payments is available"); $I->openShop(); + var_dump($I->getShopUrl()); + exit; $I->assertTrue(true); } }