task bij logs gezet
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -74,6 +74,7 @@ class UiSmokeGoldenTest(unittest.TestCase):
|
||||
self.assertIn('id="download-modal-progress-bar"', body)
|
||||
self.assertIn('id="download-modal-count"', body)
|
||||
self.assertIn('id="download-modal-status"', body)
|
||||
self.assertIn('id="download-modal-logs-btn"', body)
|
||||
self.assertIn('id="download-modal-cancel-btn"', body)
|
||||
self.assertIn('id="download-modal-close-btn"', body)
|
||||
self.assertIn('id="context-menu"', body)
|
||||
@@ -282,6 +283,7 @@ class UiSmokeGoldenTest(unittest.TestCase):
|
||||
self.assertIn('countText: "Archive task cancelled"', app_js)
|
||||
self.assertIn('statusText: "Cancelling download..."', app_js)
|
||||
self.assertIn('statusText: `Failed: ${err.message || "Archive download failed"}`', app_js)
|
||||
self.assertIn('logsVisible: true,', app_js)
|
||||
self.assertIn('return `${task.done_items}/${task.total_items} top-level items`;', app_js)
|
||||
self.assertIn('return `Current: ${task.current_item}`;', app_js)
|
||||
self.assertIn('downloadProgressState.requestKey === requestKey', app_js)
|
||||
@@ -298,6 +300,8 @@ class UiSmokeGoldenTest(unittest.TestCase):
|
||||
self.assertIn('return "Multi-item ZIP";', app_js)
|
||||
self.assertIn('details.push(`Current: ${task.current_item}`);', app_js)
|
||||
self.assertIn('details.push(`${task.done_items}/${task.total_items} items`);', app_js)
|
||||
self.assertIn('downloadModal.logsButton.onclick = () => {', app_js)
|
||||
self.assertIn('openSettings("logs");', app_js)
|
||||
self.assertIn('function applyContextMenuSelection()', app_js)
|
||||
self.assertIn('function startContextMenuOpen()', app_js)
|
||||
self.assertIn('function startContextMenuEdit()', app_js)
|
||||
|
||||
Reference in New Issue
Block a user