mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2024-12-23 00:36:28 +00:00
Nicco
d7e5a34b14
* move to packages * update deps * update deps * actions maintenance * don't use blob * cli * fix default import * use synthetic default imports * remove comment * cli packaging * node 18 guard * packages * build system * testing * test pipeline * pipelines * changelog * version bump * update locales * update deps * update deps * update dependecies
17 lines
636 B
TypeScript
17 lines
636 B
TypeScript
import { test } from '@playwright/test'
|
|
import { checkLinkDoesNotExist, checkLinkForText, createNote } from '../../utils'
|
|
|
|
test.describe('@web', () => {
|
|
test('1 minute', async ({ page }) => {
|
|
const text = `Virtues value ascetic revaluation sea dead strong burying.`
|
|
const minutes = 1
|
|
const timeout = minutes * 60_000
|
|
test.setTimeout(timeout * 2)
|
|
const shareLink = await createNote(page, { text, expiration: minutes })
|
|
await checkLinkForText(page, shareLink, text)
|
|
await checkLinkForText(page, shareLink, text)
|
|
await page.waitForTimeout(timeout)
|
|
await checkLinkDoesNotExist(page, shareLink)
|
|
})
|
|
})
|