imageviewer
This commit is contained in:
@@ -200,7 +200,12 @@ class UiSmokeGoldenTest(unittest.TestCase):
|
||||
self.assertIn('function imageElements()', app_js)
|
||||
self.assertIn('function isImageSelection(item)', app_js)
|
||||
self.assertIn('async function openImageViewer()', app_js)
|
||||
self.assertIn('if (isImageSelection(item)) {', app_js)
|
||||
self.assertIn('openImageViewer();', app_js)
|
||||
self.assertIn('function isImageOpen()', app_js)
|
||||
self.assertIn('requestAnimationFrame(() => {', app_js)
|
||||
self.assertIn('if (!fitImageToViewport()) {', app_js)
|
||||
self.assertIn('if (!viewport.clientWidth || !viewport.clientHeight) {', app_js)
|
||||
self.assertIn("`/api/files/image?", app_js)
|
||||
self.assertIn('if (isImageSelection(selected)) {', app_js)
|
||||
self.assertIn('document.getElementById("info-modal")', app_js)
|
||||
|
||||
Reference in New Issue
Block a user