Increase even even more wait time signifigantly

This commit is contained in:
cyi1341 2024-02-13 21:18:45 +08:00
parent 2dab23f2d8
commit 9d0f3bb3a1
1 changed files with 4 additions and 3 deletions

View File

@ -450,6 +450,7 @@
await new Promise(resolve => setTimeout(resolve, 2500));
}
}
await new Promise(resolve => setTimeout(resolve, 10000));
clickSubmitButton();
isSubmitted = true;
}
@ -962,7 +963,7 @@
console.log('Index found at', titleIndex.bestTitle);
clickRadioInputAtIndex(titleIndex.bestTitle);
if (!descriptionEdit) {
new Promise(resolve => setTimeout(resolve, 20000));
new Promise(resolve => setTimeout(resolve, 50000));
clickSubmitButton();
isSubmitted = true;
}
@ -1000,7 +1001,7 @@
if (getTextNodes()[descriptionIndex.bestDescription] !== undefined) {
console.log('Index found at', descriptionIndex.bestDescription);
clickRadioInputAtIndex(descriptionIndex.bestDescription);
new Promise(resolve => setTimeout(resolve, 20000));
new Promise(resolve => setTimeout(resolve, 50000));
clickSubmitButton();
isSubmitted = true;
} else {
@ -1019,7 +1020,7 @@
clickCheckboxWithLocationMessage();
console.log("Is Location Edit")
setTimeout(function() {
new Promise(resolve => setTimeout(resolve, 20000));
new Promise(resolve => setTimeout(resolve, 50000));
if (getTextNodes().length === 0) {
clickSubmitButton();
isSubmitted = true;