mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-25 10:33:21 +03:00
17 lines
465 B
TypeScript
17 lines
465 B
TypeScript
|
import { test, expect } from '@playwright/test';
|
||
|
|
||
|
test('has title', async ({ page }) => {
|
||
|
await page.goto('/');
|
||
|
|
||
|
await expect(page).toHaveTitle(/Home/);
|
||
|
});
|
||
|
|
||
|
test('downloads load', async ({ page }) => {
|
||
|
await page.goto('/');
|
||
|
|
||
|
await page.getByRole('link', { name: 'Downloads' }).click();
|
||
|
|
||
|
await expect(page.getByRole('heading', { name: 'Stable Release' })).toBeVisible();
|
||
|
await expect(page.getByRole('heading', { name: 'Nightly Release' })).toBeVisible();
|
||
|
});
|