polish
This commit is contained in:
Binary file not shown.
@@ -117,6 +117,7 @@ class UiSmokeGoldenTest(unittest.TestCase):
|
||||
self.assertIn('id="search-results"', body)
|
||||
self.assertIn('id="info-modal"', body)
|
||||
self.assertIn('id="rename-popup"', body)
|
||||
self.assertIn('id="rename-label"', body)
|
||||
self.assertIn('id="rename-input"', body)
|
||||
self.assertIn('id="rename-apply-btn"', body)
|
||||
self.assertIn('id="settings-general-tab"', body)
|
||||
@@ -227,6 +228,8 @@ 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 openConfirmModal({ title, message, path, applyText = "Confirm" })', app_js)
|
||||
self.assertIn('function openTextInputModal({ title, label, applyText, initialValue = "", onSubmit })', app_js)
|
||||
self.assertIn('function downloadModalElements()', app_js)
|
||||
self.assertIn('function isZipDownloadSelection(items)', app_js)
|
||||
self.assertIn('function singleFileDownloadRequestKey(path)', app_js)
|
||||
@@ -328,6 +331,11 @@ class UiSmokeGoldenTest(unittest.TestCase):
|
||||
self.assertIn('startCopySelected();', app_js)
|
||||
self.assertIn('openF6Flow();', app_js)
|
||||
self.assertIn('deleteSelected();', app_js)
|
||||
self.assertIn('const confirmed = await openConfirmModal({', app_js)
|
||||
self.assertIn('title: selectedItems.length === 1 ? "Delete item?" : "Delete selected items?"', app_js)
|
||||
self.assertIn('title: "Discard unsaved changes?"', app_js)
|
||||
self.assertIn('title: "Create Folder"', app_js)
|
||||
self.assertIn('title: "Add Bookmark"', app_js)
|
||||
self.assertIn('openInfo();', app_js)
|
||||
self.assertIn('elements.title.textContent = "Properties";', app_js)
|
||||
self.assertIn('if (selectedItems.length > 1) {', app_js)
|
||||
@@ -338,6 +346,9 @@ class UiSmokeGoldenTest(unittest.TestCase):
|
||||
self.assertNotIn('Only files are supported for copy', app_js)
|
||||
self.assertIn('document.getElementById("upload-menu-toggle").onclick = (event) => {', app_js)
|
||||
self.assertIn('document.getElementById("upload-folder-btn").onclick = openFolderPicker;', app_js)
|
||||
self.assertNotIn('window.confirm(', app_js)
|
||||
self.assertNotIn('window.prompt(', app_js)
|
||||
self.assertNotIn('window.alert(', app_js)
|
||||
self.assertIn('throw createApiError(response, data);', app_js)
|
||||
self.assertIn('function closeUploadMenu()', app_js)
|
||||
self.assertIn('function toggleUploadMenu()', app_js)
|
||||
|
||||
Reference in New Issue
Block a user