Files
OverlayScrollbars/packages/overlayscrollbars/tests/playwright/environment/index.test.ts
T
2022-07-30 19:45:11 +02:00

15 lines
487 B
TypeScript

import { playwrightRollup } from '@local/playwright-tooling';
import { test } from '@playwright/test';
import { InternalEnvironment } from 'environment';
playwrightRollup();
test.describe('Environment', () => {
test('page should be titled "Environment"', async ({ page }) => {
// @ts-ignore
const a: InternalEnvironment = await page.evaluate(() => window.environment.envInstance);
console.log(a);
await expect(page.title()).resolves.toMatch('environment');
});
});