summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests/desktop/writer/statusbar_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'cypress_test/integration_tests/desktop/writer/statusbar_spec.js')
-rw-r--r--cypress_test/integration_tests/desktop/writer/statusbar_spec.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/cypress_test/integration_tests/desktop/writer/statusbar_spec.js b/cypress_test/integration_tests/desktop/writer/statusbar_spec.js
index 94bc224507..843519f0a0 100644
--- a/cypress_test/integration_tests/desktop/writer/statusbar_spec.js
+++ b/cypress_test/integration_tests/desktop/writer/statusbar_spec.js
@@ -4,10 +4,11 @@ var helper = require('../../common/helper');
var desktopHelper = require('../../common/desktop_helper');
describe('Statubar tests.', function() {
- var testFileName = 'statusbar.odt';
+ var origTestFileName = 'statusbar.odt';
+ var testFileName;
beforeEach(function() {
- helper.beforeAll(testFileName, 'writer');
+ testFileName = helper.beforeAll(origTestFileName, 'writer');
if (Cypress.env('INTEGRATION') === 'nextcloud') {
desktopHelper.showStatusBarIfHidden ();