Skip to content

Commit

Permalink
test: split tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gioboa committed Jan 8, 2024
1 parent 23aa800 commit bf1e852
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/platform/iframe/iframe.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test, expect } from '@playwright/test';
import { expect, test } from '@playwright/test';

test('iframe', async ({ page }) => {
test('iframe 1', async ({ page }) => {
await page.goto('/tests/platform/iframe/');

await page.waitForSelector('.testSrc');
Expand Down Expand Up @@ -77,6 +77,10 @@ test('iframe', async ({ page }) => {
await page.waitForSelector('.testOnLoadNoSrc');
const testOnLoadNoSrc = page.locator('#testOnLoadNoSrc');
await expect(testOnLoadNoSrc).toHaveText('onload');
});

test('iframe 2', async ({ page }) => {
await page.goto('/tests/platform/iframe/');

await page.waitForSelector('.testMemberNames');
const testMemberNames = page.locator('#testMemberNames');
Expand Down

0 comments on commit bf1e852

Please sign in to comment.