summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests/desktop/impress/top_toolbar_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'cypress_test/integration_tests/desktop/impress/top_toolbar_spec.js')
-rw-r--r--cypress_test/integration_tests/desktop/impress/top_toolbar_spec.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/cypress_test/integration_tests/desktop/impress/top_toolbar_spec.js b/cypress_test/integration_tests/desktop/impress/top_toolbar_spec.js
index ca0fd084f3..692ec11b0f 100644
--- a/cypress_test/integration_tests/desktop/impress/top_toolbar_spec.js
+++ b/cypress_test/integration_tests/desktop/impress/top_toolbar_spec.js
@@ -5,10 +5,11 @@ var impressHelper = require('../../common/impress_helper');
var desktopHelper = require('../../common/desktop_helper');
describe('Top toolbar tests.', function() {
- var testFileName = 'top_toolbar.odp';
+ var origTestFileName = 'top_toolbar.odp';
+ var testFileName;
beforeEach(function() {
- helper.beforeAll(testFileName, 'impress');
+ testFileName = helper.beforeAll(origTestFileName, 'impress');
if (Cypress.env('INTEGRATION') === 'nextcloud') {
desktopHelper.hideSidebarIfVisible();