Commit graph

15 commits

Author SHA1 Message Date
Tamás Zolnai
5d41b930e6 cypress: mobile: Organize tests based on component.
Change-Id: I49f6e76b219e4c55add05b5a8489e51c518625ab
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88553
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-12 19:14:42 +01:00
Tamás Zolnai
65d8f4062f cypress: Fix tests failing with CI.
Change-Id: Iea1292bf44d77403356b3e9800c2af4c2237d08d
2020-02-08 17:43:30 +01:00
Tamás Zolnai
8dece1a3c3 cypress: mobile: Update some table related test cases.
Change-Id: I7c780785aab9db40e9b1f6312728ee5459e7716b
2020-02-07 12:31:43 +01:00
Tamás Zolnai
f53e030339 cypress: mobile: emulate tap and long press events.
To achive a better test covarage.
Now, the simple click() method is recognized
as 'tap' by hummerjs. For long press we need
to use low level events.
I expect that we can emulate other mobile events too
on a similar way.

Change-Id: I5f43afafe087133e707eed6ff8a43765324d5e24
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88161
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-07 10:09:54 +01:00
Tamás Zolnai
ce063cdce4 cypress: mobile: Do the core detection inside a beforeAllMobile method.
Change-Id: I80717c8aca5b7e75f282c38aaa1608ddd14facda
2020-02-06 14:23:34 +01:00
Tamás Zolnai
e6ee678592 cypress: Introduce a way to detect LO core version.
And disable some failing tests for core/master.
No idea why these items are missing from paragraph
panel with core/master. Seems a regression from cp-6-2
to master.

Change-Id: Ia91f38cbcf74d0b45730c8643559c298376ae153
2020-02-06 14:23:34 +01:00
Tamás Zolnai
1a8b128ac2 cypress: mobile: Add more tests for table panel of mobile wizard.
Change-Id: I4a3126ccb01ed7afdefd0de6bacec11d23a7406a
2020-02-05 13:44:18 +01:00
Tamás Zolnai
14ce7ab937 cypress: mobile: Introduce copyTableToClipboard() method.
And use it to check insert table's properties.

Change-Id: I7b188ddd139db2f6de5e2872277dce022073171d
2020-02-04 15:33:49 +01:00
Tamás Zolnai
e7d8c7456f cypress: mobile: Use a bigger mobile screen size.
Change-Id: Ica3598dd2f963b46891114a67c76f0d4da205c11
2020-02-03 06:37:36 +01:00
Tamás Zolnai
1cfc1c59e9 cypress: Check the admin console to make sure the test document is closed.
Change-Id: I485e8596a30c7bb1efae140143627078cde66bca
2020-02-03 05:53:22 +01:00
Tamás Zolnai
43e09d20bb cypress: mobile: Extract after method to close document properly.
Change-Id: Id88aec59546cf1bdb51630405756a4321ecabd6c
2020-01-30 15:17:39 +01:00
Tamás Zolnai
92f93481dd cypress: mobile: Extract copy to clipboard method.
Change-Id: I1c4a74b7e50a1b8dae503c8fd8af04c9a49a07b6
2020-01-30 15:17:39 +01:00
Tamás Zolnai
8d906e4b1a cypress: mobile: Extract selection method.
Change-Id: I0fb69a9f5acf90ce76951a83b4220ac52e550fb2
2020-01-30 15:17:39 +01:00
Tamás Zolnai
89f05278bb cypress: Make test run fail when an exception is thrown.
Change-Id: Ie96cb771c9cec737c0352a843e42b14161cf9e7f
2020-01-27 17:17:04 +01:00
Tamás Zolnai
b64907e918 cypress: Extract test document loading code.
Change-Id: I77b2097bd9406ec63fbb9133678456444457ca2b
2020-01-26 02:41:06 +01:00