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

@@ -6,6 +6,7 @@
"prerelease": true "prerelease": true
} }
], ],
repositoryUrl: "git@github.com:thomasnordquist/MQTT-Explorer.git",
"plugins": [ "plugins": [
"@semantic-release/commit-analyzer", "@semantic-release/commit-analyzer",
"semantic-release-export-data", "semantic-release-export-data",

View File

@@ -21,14 +21,6 @@ export function sleep(ms: number, required = false) {
export async function writeText(text: string, element: Locator, delay = 0) { export async function writeText(text: string, element: Locator, delay = 0) {
return element.fill(text) 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) { export async function deleteTextWithBackspaces(element: Locator, delay = 0, count = 0) {