diff options
author | Gökay Şatır <gokaysatir@gmail.com> | 2023-05-10 16:38:37 +0300 |
---|---|---|
committer | Gökay ŞATIR <gokaysatir@gmail.com> | 2023-05-11 15:06:53 +0300 |
commit | f5d9654e879a0fa39a7c81903eefac47277c2f33 (patch) | |
tree | fbd242fa59341b088a4b8826df0645346e3e7459 /cypress_test/integration_tests/desktop | |
parent | killpoco: replace HTTP status codes (diff) | |
download | online-f5d9654e879a0fa39a7c81903eefac47277c2f33.tar.gz online-f5d9654e879a0fa39a7c81903eefac47277c2f33.zip |
Remove tagnotebbokbar and use switchUI function on image operation spec (impress).
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I4f2097cbfd0e2401783b065b63f70b34d1d9d3b1
Diffstat (limited to 'cypress_test/integration_tests/desktop')
-rw-r--r-- | cypress_test/integration_tests/desktop/impress/image_operation_spec.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cypress_test/integration_tests/desktop/impress/image_operation_spec.js b/cypress_test/integration_tests/desktop/impress/image_operation_spec.js index d11a70d141..bdf303c1de 100644 --- a/cypress_test/integration_tests/desktop/impress/image_operation_spec.js +++ b/cypress_test/integration_tests/desktop/impress/image_operation_spec.js @@ -2,9 +2,10 @@ var helper = require('../../common/helper'); var { insertImage, deleteImage, assertImageSize } = require('../../common/desktop_helper'); +var desktopHelper = require('../../common/desktop_helper'); var { triggerNewSVGForShapeInTheCenter } = require('../../common/impress_helper'); -describe(['tagnotebookbar'], 'Image Operation Tests', function() { +describe(['tagdesktop'], 'Image Operation Tests', function() { var origTestFileName = 'image_operation.odp'; var testFileName; @@ -17,6 +18,7 @@ describe(['tagnotebookbar'], 'Image Operation Tests', function() { }); it('Insert/Delete image',function() { + desktopHelper.switchUIToNotebookbar(); insertImage(); //make sure that image is in focus @@ -27,6 +29,7 @@ describe(['tagnotebookbar'], 'Image Operation Tests', function() { }); it('Resize image when keep ratio option enabled and disabled', function() { + desktopHelper.switchUIToNotebookbar(); insertImage(); //when Keep ratio is unchecked assertImageSize(438, 111); |