Skip to content

Commit c6f9194

Browse files
committed
UPD: update playwright tests
1 parent fef0806 commit c6f9194

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

packages/app/e2e-tests/app.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ import { test, expect } from '@playwright/test';
33
test('App should render the welcome page', async ({ page }) => {
44
await page.goto('/');
55

6-
await expect(page.getByText('Scaffolded Backstage App')).toBeVisible();
6+
await expect(page.getByText('CODE-IDP Hub')).toBeVisible();
77
});

packages/backend/src/index.test.ts

Whitespace-only changes.

playwright.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { generateProjects } from '@backstage/e2e-test-utils/playwright';
33

44

55
export default defineConfig({
6+
testDir: '././packages/app/e2e-tests',
67
timeout: 60_000,
78

89
expect: {

tsconfig.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
"packages/*/src",
55
"plugins/*/src",
66
"plugins/*/dev",
7-
"plugins/*/migrations"
7+
"plugins/*/migrations",
8+
"tests/**/*",
9+
"cypress/**/*"
810
],
911
"exclude": ["node_modules"],
1012
"compilerOptions": {
1113
"outDir": "dist-types",
12-
"rootDir": "."
14+
"rootDir": ".",
15+
"jsx": "react-jsx"
1316
}
1417
}

0 commit comments

Comments
 (0)