summaryrefslogtreecommitdiffstats
path: root/cypress_test/integration_tests/mobile/calc/calc_mobile_helper.js
diff options
context:
space:
mode:
Diffstat (limited to 'cypress_test/integration_tests/mobile/calc/calc_mobile_helper.js')
-rw-r--r--cypress_test/integration_tests/mobile/calc/calc_mobile_helper.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/cypress_test/integration_tests/mobile/calc/calc_mobile_helper.js b/cypress_test/integration_tests/mobile/calc/calc_mobile_helper.js
index 80ed7149bc..ee1ebbc1c8 100644
--- a/cypress_test/integration_tests/mobile/calc/calc_mobile_helper.js
+++ b/cypress_test/integration_tests/mobile/calc/calc_mobile_helper.js
@@ -17,8 +17,12 @@ function selectFirstRow() {
cy.get('.spreadsheet-cell-resize-marker:nth-of-type(2)')
.should('not.be.visible');
+ var regex = /^A1:(AMJ|XFD)1$/;
cy.get('input#addressInput')
- .should('have.prop', 'value', 'A1:AMJ1');
+ .should('have.prop', 'value')
+ .then(function(value) {
+ return regex.test(value);
+ });
}
module.exports.selectFirstRow = selectFirstRow;