Fix typechecking (#9279)

- Fix issue where `playwright-report/` is being typechecked by `npm run typecheck` in the dashboard, causing CI to fail
- Attempt to fix flaky dashboard test

# Important Notes
To test that typechecking isn't completely broken, it's recommended to intentionally create a type error in the dashboard code base.
This commit is contained in:
somebody1234 2024-03-06 18:20:08 +10:00 committed by GitHub
parent d9293e4011
commit 1cc7ca1338
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View File

@ -13,6 +13,7 @@ test.test('drive view', async ({ page }) => {
await actions.expectPlaceholderRow(page)
// Assets table with one asset
await actions.locateNewProjectButton(page).click()
await actions.locateDrivePageIcon(page).click()
// The placeholder row becomes hidden.
await test.expect(assetRows).toHaveCount(1)
await test.expect(actions.locateAssetsTable(page)).toBeVisible()

View File

@ -1,11 +1,14 @@
{
"extends": "../../tsconfig.json",
"include": [
"src",
"e2e",
"../types",
".",
"./**/*.json",
"../../utils.ts",
".prettierrc.cjs"
".prettierrc.cjs",
"*.js",
"*.ts"
],
"exclude": ["./dist"],
"compilerOptions": {