Skip to content

Commit 5d4c513

Browse files
committed
add debug command
1 parent 063d3f3 commit 5d4c513

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"lint:fix": "eslint --fix",
3939
"test:install-deps": "playwright install chromium && playwright install-deps chromium",
4040
"test:screenshots": "./playwright-screenshot.sh test --config playwright.screenshot.config.ts",
41-
"test:local": "playwright test --config playwright.screenshot.config.ts"
41+
"test:local": "playwright test --config playwright.screenshot.config.ts",
42+
"test:local-debug": "playwright test --debug --workers=1 --config playwright.screenshot.config.ts"
4243
}
4344
}
-4.09 KB
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { expect, test } from '@playwright/test';
22

3-
test('Auth-directory', async ({ page }) => {
3+
test('Sign-in-directory', async ({ page }) => {
44
await page.goto('/');
55

6-
const selector = page.locator('#cern-toolbar ul');
6+
const selector = page.getByText('Sign in Directory');
77
await selector.waitFor({ state: 'visible' });
88

99
const screenshot = await selector.screenshot();
1.75 KB
Loading

0 commit comments

Comments
 (0)