diff --git a/tests/platform/element-style/element-style.spec.ts b/tests/platform/element-style/element-style.spec.ts index 93da9111..d6fa31ae 100644 --- a/tests/platform/element-style/element-style.spec.ts +++ b/tests/platform/element-style/element-style.spec.ts @@ -10,7 +10,7 @@ test('element style', async ({ page }) => { const testBeforeAppend = page.locator('#testBeforeAppend'); await expect(testBeforeAppend).toHaveCSS('color', 'rgb(0, 128, 0)'); - await expect(testBeforeAppend).toHaveCSS('fontWeight', '800'); + await expect(testBeforeAppend).toHaveCSS('font-weight', '800'); await expect(testBeforeAppend).toHaveText('green'); const testGetExisting = page.locator('#testGetExisting');