mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 18:12:48 +03:00
18 lines
462 B
TypeScript
18 lines
462 B
TypeScript
import { test, expect } from '@playwright/test';
|
|
|
|
test('has empty title', async ({ page }) => {
|
|
await page.goto('http://localhost:1420');
|
|
|
|
await expect(page).toHaveTitle('');
|
|
});
|
|
|
|
test('has text package.json', async ({ page }) => {
|
|
await page.goto('http://localhost:1420');
|
|
|
|
const listBox = page.getByRole('listbox').getByRole('button')
|
|
|
|
await page.screenshot({ path: 'board.png' });
|
|
|
|
await expect(listBox).toHaveText('package.json');
|
|
})
|