Skip to content

Commit

Permalink
Tweak test numbers for optimization/consistency
Browse files Browse the repository at this point in the history
Additionally capitalizes RepackGUI.robot for consistency
  • Loading branch information
lucs100 committed Nov 1, 2023
1 parent 5aaef7e commit c7d075a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions test/repackGUI.robot → test/RepackGUI.robot
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ${LooseFilesClean} C:/Users/Lucas/Documents/projects/Python/shtickerpa
${LooseFilesDuplicate} C:/Users/Lucas/Documents/projects/Python/shtickerpack/sandbox/test_dupe_files
${LooseFilesCleanAndDuplicate} C:/Users/Lucas/Documents/projects/Python/shtickerpack/sandbox/test_good_and_dupe_files
${OutputName} TEST
${MinSize} 10000 #10kb
${MinSize} 100000 #100kb

*** Test Cases ***
Repack T0 Without Deletion
Expand Down Expand Up @@ -184,4 +184,5 @@ Verify Repack
Wait Until Created ${ClashResources}/${OutputName}.mf timeout=${timeout}
${Size} = Get File Size ${ClashResources}/${OutputName}.mf
Should Be True ${Size} > ${minSize}

Log ${Size}
Log ${MinSize}
2 changes: 1 addition & 1 deletion test/lib/clientGUILib.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def verify_no_modals(self):
assert not isinstance(QApplication.activeWindow(), QMessageBox), "A modal is still open."
QApplication.processEvents()

def start_gui_repack(self, delay_time=3000):
def start_gui_repack(self, delay_time=1000):
print("Queueing...")
timer = QTimer.singleShot(delay_time, self.close_active_modals)
QApplication.processEvents()
Expand Down

0 comments on commit c7d075a

Please sign in to comment.