Skip to content

Commit

Permalink
TC-47 Test cypress e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Tkachev committed Jan 14, 2025
1 parent 84b712d commit 89de84e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/oxid-esales/cypress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ cat <<'EOF' >> docker-compose.yml
condition: service_started
mysql:
condition: service_healthy
entrypoint: [ "npx", "cypress", "run", "--config-file", "/var/www/extensions/telecash/tests/e2e/cypress.config.js" ]
entrypoint: [ "npx", "cypress", "run", "--config-file", "/var/www/vendor/oxid-solution-catalysts/telecash-module/tests/e2e/cypress.config.js" ]
networks:
default:
Expand Down
1 change: 0 additions & 1 deletion tests/Codeception/Acceptance/PaymentsAvailableCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public function checkPayments(AcceptanceTester $I): void
{
$I->amGoingTo("Check if Telecash payments is available");
$I->openShop();
$I->comment("current dir is " . __DIR__);
var_dump(__DIR__);
$I->assertTrue(true);
}
Expand Down
4 changes: 3 additions & 1 deletion tests/e2e/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ module.exports = defineConfig({
specPattern: 'cypress/integration/**/*.cy.js', // Test file pattern
supportFile: false, // Disable the default support file
video: true,
chromeWebSecurity: false
chromeWebSecurity: false,
defaultCommandTimeout: 10000, // 10 seconds
pageLoadTimeout: 30000, // 30 seconds
},
});

0 comments on commit 89de84e

Please sign in to comment.