fix: fix repository

This commit is contained in:
Thomas Nordquist
2024-05-11 14:39:34 +02:00
parent c2404a7eb6
commit 333a1bcabe
2 changed files with 1 additions and 8 deletions

View File

@@ -21,14 +21,6 @@ export function sleep(ms: number, required = false) {
export async function writeText(text: string, element: Locator, delay = 0) {
return element.fill(text)
if (fast) {
return element.fill(text)
}
for (const c of text.split('')) {
await element.press(c)
await sleep(delay)
}
}
export async function deleteTextWithBackspaces(element: Locator, delay = 0, count = 0) {