cypress_test/data/desktop/calc/BottomBar.ods |binary cypress_test/integration_tests/desktop/calc/bottom_bar_spec.js | 26 ++++++++++ 2 files changed, 26 insertions(+)
New commits: commit b8ef29e554c4e9277d0526f4f9cd452dfdbef146 Author: gokaysatir <[email protected]> AuthorDate: Fri Jul 17 16:37:40 2020 +0300 Commit: Tamás Zolnai <[email protected]> CommitDate: Thu Jul 30 10:50:31 2020 +0200 cypress: Bottom bar click quick views test. Change-Id: I54d5d819f04890fd7ac666728258804d1bb0d93a Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98975 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Tamás Zolnai <[email protected]> diff --git a/cypress_test/data/desktop/calc/BottomBar.ods b/cypress_test/data/desktop/calc/BottomBar.ods new file mode 100644 index 000000000..205cc6ad9 Binary files /dev/null and b/cypress_test/data/desktop/calc/BottomBar.ods differ diff --git a/cypress_test/integration_tests/desktop/calc/bottom_bar_spec.js b/cypress_test/integration_tests/desktop/calc/bottom_bar_spec.js new file mode 100644 index 000000000..bab9413fb --- /dev/null +++ b/cypress_test/integration_tests/desktop/calc/bottom_bar_spec.js @@ -0,0 +1,26 @@ +/* global describe it cy beforeEach require afterEach */ + +var helper = require('../../common/helper'); +var calcHelper = require('../../common/calc_helper'); + +describe('Calc bottom bar tests.', function() { + var testFileName = 'BottomBar.ods'; + + beforeEach(function() { + helper.beforeAllDesktop(testFileName, 'calc'); + // Wait until the Formula-Bar is loaded. + cy.get('.inputbar_container', {timeout : 10000}); + }); + + afterEach(function() { + helper.afterAll(testFileName); + }); + + it('Bottom tool bar.', function() { + cy.get('#map').focus(); + calcHelper.clickOnFirstCell(); + cy.get('#tb_actionbar_item_StateTableCellMenu .w2ui-button').click(); + // If it clicks, it passes. + cy.contains('.w2ui-drop-menu .menu-text', 'CountA').click(); + }); +}); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
