fix: fix repository
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user