diff options
author | Gökay Şatır <gokaysatir@gmail.com> | 2023-05-03 15:26:03 +0300 |
---|---|---|
committer | Gökay ŞATIR <gokaysatir@gmail.com> | 2023-05-05 07:07:14 +0300 |
commit | 8aa6824f0c9ddb33cce0689b5a91b2c65839565a (patch) | |
tree | 690d60c02e58d8bde60f1f18e8d6dcd1bec1d0d8 /cypress_test/integration_tests/desktop/calc | |
parent | Disable interference test for now. (diff) | |
download | online-8aa6824f0c9ddb33cce0689b5a91b2c65839565a.tar.gz online-8aa6824f0c9ddb33cce0689b5a91b2c65839565a.zip |
Use if - codeQL warns.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: I4ab747611708b3776020359a5b74e89c595a58d4
Diffstat (limited to 'cypress_test/integration_tests/desktop/calc')
-rw-r--r-- | cypress_test/integration_tests/desktop/calc/row_column_operation_spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cypress_test/integration_tests/desktop/calc/row_column_operation_spec.js b/cypress_test/integration_tests/desktop/calc/row_column_operation_spec.js index 70433e9a85..94d3ecf928 100644 --- a/cypress_test/integration_tests/desktop/calc/row_column_operation_spec.js +++ b/cypress_test/integration_tests/desktop/calc/row_column_operation_spec.js @@ -15,7 +15,8 @@ describe('Row Column Operation', function() { calcHelper.clickOnFirstCell(true,false); - mode === 'notebookbar' ? cy.cGet('#toolbar-up .w2ui-scroll-right').click() : ''; + if (mode === 'notebookbar') + cy.cGet('#toolbar-up .w2ui-scroll-right').click(); }); afterEach(function() { |