hololake-platform/tests/smoke/add-ds-store-files-to-gitignore.spec.ts

16 lines
505 B
TypeScript

import { test, expect } from '@playwright/test'
import { openCommandPalette, findCommand } from './helpers'
test.describe('DS_Store gitignore for new vaults', () => {
test.beforeEach(async ({ page }) => {
await page.goto('/')
await page.waitForLoadState('networkidle')
})
test('Repair Vault command is available in the command palette', async ({ page }) => {
await openCommandPalette(page)
const found = await findCommand(page, 'Repair Vault')
expect(found).toBe(true)
})
})