File size: 391 Bytes
c1f24be
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import { test, expect } from '@playwright/test';

test.describe('sample', () => {
    test.beforeEach(async({ page }) => {
        await page.goto('/');
        await page.waitForFunction('document.getElementById("preloader") === null', { timeout: 0 });
    });

    test('should be titled "InternGen"', async ({ page }) => {
        await expect(page).toHaveTitle('InternGen');
    });
});