summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests/mobile/calc/chart_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'cypress_test/integration_tests/mobile/calc/chart_spec.js')
-rw-r--r--cypress_test/integration_tests/mobile/calc/chart_spec.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/cypress_test/integration_tests/mobile/calc/chart_spec.js b/cypress_test/integration_tests/mobile/calc/chart_spec.js
index 96476fa379..eb45abbbd7 100644
--- a/cypress_test/integration_tests/mobile/calc/chart_spec.js
+++ b/cypress_test/integration_tests/mobile/calc/chart_spec.js
@@ -5,10 +5,11 @@ var mobileHelper = require('../../common/mobile_helper');
var calcHelper = require('../../common/calc_helper');
describe('Chart tests.', function() {
- var testFileName = 'chart.ods';
+ var origTestFileName = 'chart.ods';
+ var testFileName;
beforeEach(function() {
- helper.beforeAll(testFileName, 'calc');
+ testFileName = helper.beforeAll(origTestFileName, 'calc');
mobileHelper.enableEditingMobile();