Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 42db763

Browse files
committed
refactor(e2e/test*): fix variable name and test name
1 parent ff17c9a commit 42db763

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

e2e/test/class-conflict.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { test, expect } from '@playwright/test';
33
test('Class conflict resolution works correctly', async ({ page }) => {
44
await page.goto('http://localhost:4000');
55
await page.waitForSelector('[data-testid="e2e-test-span"]');
6-
const div = page.locator('[data-testid="e2e-test-span"]');
7-
await div.evaluate((node) => node.classList.add('test_conflict'));
8-
await expect(div).toHaveCSS('font-size', '14px');
6+
const span = page.locator('[data-testid="e2e-test-span"]');
7+
await span.evaluate((node) => node.classList.add('test_conflict'));
8+
await expect(span).toHaveCSS('font-size', '14px');
99
});

0 commit comments

Comments
 (0)