diff --git a/tests/integrations/full-story/full-story.spec.ts b/tests/integrations/full-story/full-story.spec.ts new file mode 100644 index 00000000..400455ec --- /dev/null +++ b/tests/integrations/full-story/full-story.spec.ts @@ -0,0 +1,13 @@ +import { test, expect } from '@playwright/test'; + +test('full-story', async ({ page }) => { + await page.goto('/tests/integrations/full-story/'); + + await page.waitForSelector('.completed'); + + const buttonSendEvent = page.locator('#buttonSendEvent'); + await buttonSendEvent.click(); + + const testFullStory = page.locator('#testIdentify'); + await expect(testFullStory).toHaveText('called'); +}); diff --git a/tests/integrations/full-story/index.html b/tests/integrations/full-story/index.html new file mode 100644 index 00000000..ebff70eb --- /dev/null +++ b/tests/integrations/full-story/index.html @@ -0,0 +1,166 @@ + + + + + + + + Partytown FullStory + + + + + + + + + + + + +

Partytown FullStory

+ +

+ Identify + +

+ + + + + + +

Standard FullStory

+

All Tests

+ + diff --git a/tests/integrations/full-story/standard.html b/tests/integrations/full-story/standard.html new file mode 100644 index 00000000..b0d920a1 --- /dev/null +++ b/tests/integrations/full-story/standard.html @@ -0,0 +1,144 @@ + + + + + + + + Standard FullStory + + + + + + + + + +

Standard FullStory

+ + + + +
+

Partytown FullStory

+

All Tests

+ +