mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-14 19:32:11 +03:00
chore(test): cleanup playwright initial test
This commit is contained in:
parent
5798371613
commit
248f8df3a5
@ -1,14 +1,17 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
|
||||
test('has title GitButler', async ({ page }) => {
|
||||
test('has empty title', async ({ page }) => {
|
||||
await page.goto('http://localhost:1420');
|
||||
await page.screenshot({ path: 'cdp.png' });
|
||||
|
||||
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');
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user