From ec3a465fb6c6a08b760ad82e2aa4027f6a42f78e Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Wed, 30 Nov 2022 18:25:43 +0100 Subject: [PATCH] e2e: change onClick to click to support svelte examples --- code/e2e-tests/addon-actions.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/e2e-tests/addon-actions.spec.ts b/code/e2e-tests/addon-actions.spec.ts index 06ebe27b09e6..a38b6b82d118 100644 --- a/code/e2e-tests/addon-actions.spec.ts +++ b/code/e2e-tests/addon-actions.spec.ts @@ -20,7 +20,7 @@ test.describe('addon-actions', () => { await sbPage.viewAddonPanel('Actions'); const logItem = await page.locator('#storybook-panel-root #panel-tab-content', { - hasText: 'onClick', + hasText: 'click', }); await expect(logItem).toBeVisible(); });