/
githubmirror
/
marktext
Обзор
Документация
Войти
/
githubmirror
/
marktext
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
packages/desktop/test/e2e/launch.spec.ts
23 строки
612 B
Ran Luo
chore: convert repo to pnpm monorepo (packages/desktop, muyajs, website) (#4302)
29 май 2026, 05:25
Не верифицирован
29 май 2026, 05:25
565bfcd
Код
Авторство
О чём код?
import { expect, test } from '@playwright/test' import type { ElectronApplication, Page } from 'playwright' import { launchElectron } from './helpers' test.describe('Check Launch MarkText', () => { let app: ElectronApplication let page: Page test.beforeAll(async() => { const { app: electronApp, page: firstPage } = await launchElectron() app = electronApp page = firstPage }) test.afterAll(async() => { await app.close() }) test('Empty MarkText', async() => { const title = await page.title() expect(/^MarkText|Untitled-1 - MarkText$/.test(title)).toBeTruthy() }) })