Compare commits

...

6 Commits

Author SHA1 Message Date
Matthias Nannt
49c0512ec4 make e2e test fail on the first failed test 2025-04-04 12:23:33 +09:00
Matthias Nannt
d77040fe2d fix cache 2025-04-04 12:00:52 +09:00
Matthias Nannt
41aaa78f2f fix e2e tests 2025-04-04 11:48:47 +09:00
Matthias Nannt
d6f9550b67 update pnpm lock 2025-04-04 11:19:55 +09:00
Matthias Nannt
a7a7edff8b update vite in apps/web 2025-04-04 11:16:08 +09:00
Matthias Nannt
3660aaede7 chore: update surveys package dependencies 2025-04-04 11:14:45 +09:00
12 changed files with 694 additions and 579 deletions

View File

@@ -22,13 +22,17 @@ runs:
env:
cache-name: prod-build
key-1: ${{ hashFiles('pnpm-lock.yaml') }}
key-2: ${{ hashFiles('apps/**/**.[jt]s', 'apps/**/**.[jt]sx', 'packages/**/**.[jt]s', 'packages/**/**.[jt]sx', '!**/node_modules') }}
key-2: ${{ hashFiles('apps/web/**/*.[jt]s', 'apps/web/**/*.[jt]sx', 'packages/**/*.[jt]s', 'packages/**/*.[jt]sx', '!**/node_modules') }}
with:
path: |
${{ github.workspace }}/apps/web/.next
**/.turbo/**
**/dist/**
${{ github.workspace }}/.turbo
${{ github.workspace }}/dist
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-
${{ runner.os }}-${{ env.cache-name }}-
${{ runner.os }}-
- name: Set Cache Hit Status
run: echo "cache-hit=${{ steps.cache-build.outputs.cache-hit }}" >> "$GITHUB_OUTPUT"

View File

@@ -35,6 +35,6 @@
"prop-types": "15.8.1",
"storybook": "8.6.12",
"tsup": "8.4.0",
"vite": "6.2.4"
"vite": "6.2.5"
}
}

View File

@@ -155,7 +155,7 @@
"@types/qrcode": "1.5.5",
"@types/testing-library__react": "10.2.0",
"@vitest/coverage-v8": "3.1.1",
"vite": "6.2.4",
"vite": "6.2.5",
"resize-observer-polyfill": "1.5.1",
"vite-tsconfig-paths": "5.1.4",
"vitest": "3.1.1",

View File

@@ -892,13 +892,13 @@ test.describe("Testing Survey with advanced logic", async () => {
await page.waitForLoadState("networkidle");
await page.getByRole("button", { name: "Close" }).click();
// Ensure the page is on the Responses tab and stable before verifying the cell
await page.getByRole("link").filter({ hasText: "Responses" }).click();
await page.waitForSelector("#response-table");
await page.waitForURL(/\/responses$/); // Wait for the URL to confirm navigation
await page.waitForSelector("#response-table", { state: "visible" }); // Wait for the table to be visible
await expect(page.getByRole("cell", { name: "score" })).toBeVisible();
await page.waitForLoadState("networkidle");
await page.waitForTimeout(5000);
// Verify the cell content
await expect(page.getByRole("cell", { name: "32", exact: true })).toBeVisible();
});
});

View File

@@ -40,7 +40,7 @@
"@rollup/plugin-inject": "5.0.5",
"buffer": "6.0.3",
"terser": "5.37.0",
"vite": "6.2.4",
"vite": "6.2.5",
"vite-plugin-dts": "4.5.3",
"vite-plugin-node-polyfills": "0.22.0"
}

View File

@@ -48,7 +48,7 @@
"@formbricks/eslint-config": "workspace:*",
"@vitest/coverage-v8": "3.1.1",
"terser": "5.39.0",
"vite": "6.2.4",
"vite": "6.2.5",
"vite-plugin-dts": "4.5.3",
"vitest": "3.1.1"
}

View File

@@ -44,7 +44,7 @@
"@formbricks/config-typescript": "workspace:*",
"@formbricks/eslint-config": "workspace:*",
"terser": "5.39.0",
"vite": "6.2.4",
"vite": "6.2.5",
"vite-plugin-dts": "4.5.3"
}
}

View File

@@ -52,7 +52,7 @@
"react": "18.3.1",
"react-native": "0.74.5",
"terser": "5.37.0",
"vite": "6.2.4",
"vite": "6.2.5",
"vite-plugin-dts": "4.5.3",
"vitest": "3.1.1"
},

View File

@@ -36,23 +36,23 @@
"clean": "rimraf .turbo node_modules dist"
},
"devDependencies": {
"@calcom/embed-snippet": "1.3.1",
"@calcom/embed-snippet": "1.3.2",
"@formbricks/config-typescript": "workspace:*",
"@formbricks/eslint-config": "workspace:*",
"@formbricks/lib": "workspace:*",
"@formbricks/types": "workspace:*",
"@preact/preset-vite": "2.9.3",
"@types/react": "19.0.1",
"autoprefixer": "10.4.20",
"concurrently": "9.1.0",
"isomorphic-dompurify": "2.19.0",
"@preact/preset-vite": "2.10.1",
"@types/react": "19.1.0",
"autoprefixer": "10.4.21",
"concurrently": "9.1.2",
"isomorphic-dompurify": "2.22.0",
"postcss": "8.5.3",
"preact": "10.25.2",
"preact": "10.26.4",
"react-date-picker": "11.0.0",
"serve": "14.2.4",
"tailwindcss": "3.4.16",
"terser": "5.37.0",
"vite": "6.2.4",
"terser": "5.39.0",
"vite": "6.2.5",
"vite-plugin-dts": "4.5.3",
"vite-tsconfig-paths": "5.1.4"
},

View File

@@ -17,6 +17,6 @@
"devDependencies": {
"@formbricks/config-typescript": "workspace:*",
"@formbricks/eslint-config": "workspace:*",
"vite": "6.2.4"
"vite": "6.2.5"
}
}

View File

@@ -17,6 +17,8 @@ export default defineConfig({
retries: 0,
/* Timeout for each test */
timeout: 120000,
/* Fail the test run after the first failure */
maxFailures: 1, // Stop execution after the first failed test
/* Opt out of parallel tests on CI. */
// workers: os.cpus().length,
/* Reporter to use. See https://playwright.dev/docs/test-reporters */

1219
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff