Skip to content

Commit

Permalink
fix: integration tests fail silently (#2992)
Browse files Browse the repository at this point in the history
* chore: increase playwright timeout

* chore: temp enable integration tests in CI

* chore: return result of test-ci script

* chore: playwright not to auto open html report

* chore: revert increased page timeouts

* chore: disable integration tests

* chore: remove redundant comment

* chore: changeset

* chore: enable pr release

* chore: bump connectors and run integration against PR

* chore: revert further changes

* chore: use master lock
  • Loading branch information
danielbate committed Aug 22, 2024
1 parent 2ddc35a commit 4d456de
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .changeset/green-donuts-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

fix: integration tests fail silently
4 changes: 2 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ export default defineConfig({
/* Opt out of parallel tests on CI. */
workers: process.env.CI ? 1 : undefined,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
reporter: 'html',
reporter: [['html', { open: 'never' }]],
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
use: {
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',
},

timeout: 60000,
projects: [
{
name: 'chromium',
Expand Down
5 changes: 4 additions & 1 deletion scripts/tests-ui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ sleep 5
cd $PLAYWRIGHT_DIR
pnpm exec playwright install --with-deps > /dev/null 2>&1
pnpm exec playwright test
TEST_RESULT=$?

pkill next-server
pkill fuel-core
pkill fuel-core

exit $TEST_RESULT

0 comments on commit 4d456de

Please sign in to comment.