diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-07-31 15:44:39 +0200 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2020-07-31 19:06:31 +0200 |
commit | 210118a40a350b5085fb1ac23ab04f0a2f478cde (patch) | |
tree | 8971528024ad74b9e9df110e6b98a74a68537797 /cypress_test/integration_tests/mobile/writer/focus_spec.js | |
parent | cypress: fix calc's bottom toolbar test. (diff) | |
download | online-210118a40a350b5085fb1ac23ab04f0a2f478cde.tar.gz online-210118a40a350b5085fb1ac23ab04f0a2f478cde.zip |
cypress: simplify beforeAll() methods.
We don't need an explicit parameter indicating the platform
type (e.g. mobile, desktop). We can check the userAgent to
get that information.
Change-Id: Ibbc041c4a389cff92203d245f55268ec4e93b0a0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99889
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'cypress_test/integration_tests/mobile/writer/focus_spec.js')
-rw-r--r-- | cypress_test/integration_tests/mobile/writer/focus_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cypress_test/integration_tests/mobile/writer/focus_spec.js b/cypress_test/integration_tests/mobile/writer/focus_spec.js index 6e4b4055d8..7fc8c91810 100644 --- a/cypress_test/integration_tests/mobile/writer/focus_spec.js +++ b/cypress_test/integration_tests/mobile/writer/focus_spec.js @@ -7,7 +7,7 @@ describe('Focus tests', function() { var testFileName = 'focus.odt'; beforeEach(function() { - mobileHelper.beforeAllMobile(testFileName, 'writer'); + helper.beforeAll(testFileName, 'writer'); }); afterEach(function() { |