feat: download - fase 03
This commit is contained in:
Binary file not shown.
@@ -68,6 +68,13 @@ class UiSmokeGoldenTest(unittest.TestCase):
|
||||
self.assertIn('id="feedback-modal"', body)
|
||||
self.assertIn('id="feedback-message"', body)
|
||||
self.assertIn('id="feedback-close-btn"', body)
|
||||
self.assertIn('id="download-modal"', body)
|
||||
self.assertIn('id="download-modal-target"', body)
|
||||
self.assertIn('id="download-modal-current-file"', body)
|
||||
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-close-btn"', body)
|
||||
self.assertIn('id="context-menu"', body)
|
||||
self.assertIn('id="context-menu-scope"', body)
|
||||
self.assertIn('id="context-menu-target"', body)
|
||||
@@ -211,11 +218,26 @@ class UiSmokeGoldenTest(unittest.TestCase):
|
||||
self.assertIn('function feedbackElements()', app_js)
|
||||
self.assertIn('function openFeedbackModal(message)', app_js)
|
||||
self.assertIn('function closeFeedbackModal()', app_js)
|
||||
self.assertIn('function downloadModalElements()', app_js)
|
||||
self.assertIn('function isZipDownloadSelection(items)', app_js)
|
||||
self.assertIn('function openZipDownloadModal(selectedItems)', app_js)
|
||||
self.assertIn('function markZipDownloadReady(fileName)', app_js)
|
||||
self.assertIn('function markZipDownloadFailed(err)', app_js)
|
||||
self.assertIn('function closeDownloadModal()', app_js)
|
||||
self.assertIn('function contextMenuElements()', app_js)
|
||||
self.assertIn('function openContextMenu(pane, entry, event)', app_js)
|
||||
self.assertIn('function closeContextMenu()', app_js)
|
||||
self.assertIn('function isOpenableSelection(item)', app_js)
|
||||
self.assertIn('async function downloadFileRequest(paths)', app_js)
|
||||
self.assertIn('const zipDownload = isZipDownloadSelection(selectedItems);', app_js)
|
||||
self.assertIn('openZipDownloadModal(selectedItems);', app_js)
|
||||
self.assertIn('statusText: "preparing"', app_js)
|
||||
self.assertIn('statusText: "packaging items"', app_js)
|
||||
self.assertIn('statusText: "ready"', app_js)
|
||||
self.assertIn('statusText: `failed: ${err.message}`', app_js)
|
||||
self.assertIn('countText: "Step 1/3"', app_js)
|
||||
self.assertIn('countText: "Step 2/3"', app_js)
|
||||
self.assertIn('countText: "Step 3/3"', 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