Commit graph

35 commits

Author SHA1 Message Date
Henry Castro
f3787c85e8 cypress: install package 'cypress-terminal-report'
https://github.com/archfz/cypress-terminal-report

Change-Id: I242e421aeb02ee3861b16af78af87c6a9db22ad5
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-07-10 10:49:04 -04:00
Henry Castro
1ac16a13f1 cypress: remove plugin package 'cypress-failed-log'
It has a bug, it executes twice beforeEach function
if fails or unhandled exception.

Change-Id: I005815d440af0309cf797e52fbfb3693896418a9
Signed-off-by: Henry Castro <hcastro@collabora.com>
2023-07-10 10:49:04 -04:00
Marco Cecchetti
ef02d909a2 a cypress env var for enable/disable a11y on testing + a a11y tags
Now you can use CYPRESS_A11Y for enable/disable accessibility state on
testing.
Moreover you can use the taga11yenabled tag for tests that should be
run only when accessibility is enabled, and the taga11ydisabled tag
for test that should be run only when accessibility is disabled

Signed-off-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Change-Id: I4c44e78e5394477b64cc17ac6b815d9d70b059f5
2023-06-29 13:43:13 +02:00
Gökay Şatır
529f48e423 Remove notebookbar seperation from Cypress tests.
Signed-off-by: Gökay Şatır <gokaysatir@gmail.com>
Change-Id: If07b5f54b60cd0d7a934f97973a487f103702581
2023-05-16 14:20:17 +03:00
Bayram Çiçek
24da346a53 update cypress_test/README
Signed-off-by: Bayram Çiçek <bayram.cicek@libreoffice.org>
Change-Id: I2c03535d5f27cffeffc75a0f101d0280cc6e50ae
2022-03-01 10:32:49 +01:00
Rash419
265c275a81 cypress: update help dialog screenshot automatically
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: I9f3e3c9cc7838f89d5a66a25c1f6dd0ef8f8a946
2021-12-01 11:57:00 +05:30
Andras Timar
f07ff8c7e0 rename: remaining lool->cool changes
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Ib7d4e804bebe52dead8d53b0e0bbaed0f08bf3d0
2021-11-18 14:14:11 +01:00
Henry Castro
a3a567f5b0 cypress: update README file
rename loleaflet -> browser

Change-Id: If8b43f77d21d7f475257f3013642c79737c94fe3
Signed-off-by: Henry Castro <hcastro@collabora.com>
2021-11-10 17:18:56 +01:00
Rash419
74844c3dc8 cypress: introducing multiuser tests
Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ib6c86d74dd7f0414f3c63ed66e99504c870516a3
2021-07-27 14:58:09 +05:30
Rash419
4ab08eea1b cypress: introducing notebookbar tests
fix: image_operation test unstable

leaflet: fix: scroll button not available in top toolbar of notebookbar when it is directly opened in small window

Signed-off-by: Rash419 <rashesh.padia@collabora.com>
Change-Id: Ib27f3019fbee4ad87239eb659912074f41d42874
2021-06-12 11:28:57 +05:30
Andras Timar
f356ab5b1d typo fixes
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Change-Id: Id97277cb47e5082f3a5b44709b5c9fe57d8a973c
2021-03-26 11:58:30 +01:00
Tamás Zolnai
91a215b11e cypress: document interference testing in README.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I728545c0cbcee36a401140c8e362d1a0e079fb4c
2021-02-19 11:46:45 +01:00
Tamás Zolnai
8cb2e53761 cypress: document some extra run option in the README.
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Change-Id: I49597e73d675ab9e916f7f73e740d5a89d2884b8
2021-02-05 17:04:36 +01:00
Tamás Zolnai
3f52832cfb cypress: update nextcloud test to work with NC 20 version.
We got some new exceptions and also we have a start
screen now.

Change-Id: I22288ede30540437e8b0a5d3ce4c607d42a465bc
Signed-off-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-10-28 15:12:02 +01:00
Andras Timar
34bc966d68 change product name
Change-Id: Ic34d324c952364442d3f4f9f0758676ab57c8a9a
2020-10-02 14:18:28 +02:00
Tamás Zolnai
584d50b8ea cypress: add some note to README about php-proxy.
Change-Id: Iecbd80f9d145bf5c9d617f6ce6ada94c0bd9d91b
2020-09-17 14:46:28 +02:00
Tamás Zolnai
9f7cf27f7b cypress: NC: document running tests with nextcloud.
Change-Id: I9f2075e36c6d569537cf2c11cc99eb31dbd1f84f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102484
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-09-11 18:29:02 +02:00
Tamás Zolnai
d6005f0947 cypress: add a way to run tests with different browsers.
e.g. CYPRESS_BROWSER="firefox" make check

Change-Id: I3017179152c6e875df667da5081abb0c8cde60b1
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/101733
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-08-31 15:40:44 +02:00
Tamás Zolnai
1230748099 cypress: document used npm packages.
Change-Id: I13d3fd4add5993351e5d5e72a984e4aff522b748
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99072
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-07-20 18:16:04 +02:00
Tamás Zolnai
9ac9bc8be4 cypress: add initial code coverage support.
It's not optimal now, beacuse it changes source files.

Change-Id: I01cfb0be37eb0ef21dd1d606d9260b455a1cd585
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97036
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Tested-by: Jenkins
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-25 13:27:53 +02:00
Tamás Zolnai
558bf487ed cypress: workaround cypress issue with absolute path and symlinks.
https://github.com/cypress-io/cypress/issues/3482
Absolute path was introduced for that case when
somebody uses a separate builddir. However cypress
has an issue with absolute path. Let's avoid this
issue when builddir and sourcedir are the same.

Change-Id: Ic825d0abba86cafb1e243da510fd1aefb77575a6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95406
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-06-03 13:10:53 +02:00
Tamás Zolnai
015beba207 cypress: document the new spec option of make run-* commands.
Mention it also in the log in case of error.

Change-Id: Ib99dc2d2122a0658c86b223d94fec24de106fbd4
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94710
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 23:41:20 +02:00
Henry Castro
defe39ac29 cypress: run interactive specific unit test
If unit test fails, so we can run interactive unit
test to analyse the results (command line)

Change-Id: I44fff4a442b2f6be0dbfced1359e27fc07c2c12e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/94426
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-05-22 21:09:07 +02:00
Tamás Zolnai
49e97638b2 cypress: update README.
Change-Id: Iacf4bd05b01f0ceb4f6d976f979db62afaba091b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/90784
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-03-20 12:45:23 +01:00
Tor Lillqvist
15157f9e67 Mention --enable-cypress
Change-Id: Ic29138650f70c0eaa0d7a60b1b6dd4f4929b6b96
2020-03-20 10:20:23 +02:00
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
17803d5713 cypress: README: Add an example for it.only() usage.
Change-Id: I042b0f1bf05942b98bcd255f7bdf0241cfc3bfdd
2020-02-02 12:23:18 +01:00
Tamás Zolnai
4bb0372604 cypress: Update README
Change-Id: I98e83a77ae490890aeb515eeb4e03eb18093c694
2020-01-23 14:55:50 +01:00
Tamás Zolnai
2165ffa38c cypress: README: Add some installation \ test runner info.
Change-Id: I71eccf7e72eb634e83d97f89ea2c55d684009a19
2020-01-22 12:55:13 +01:00
Tamás Zolnai
8f498034a2 cypress: Update README with instructions how to run one test case.
Change-Id: Ib6e80f92d64565471f30abc89b3ed4a1bbcebb20
(cherry picked from commit e11c0f8efa8a873eb699873613e86395d7e23200)
2020-01-21 16:13:01 +01:00
Tamás Zolnai
a410b54c47 cypress: Introduce more make rules to make easier to run tests.
Change-Id: Ic8ae881864ae931fe6abed73a6a6086d6e0e591d
2020-01-21 16:13:01 +01:00
Tamás Zolnai
545f3f9431 cypress: Introduce make rules for running group of tests.
It can handle dependencies and can use environment
variables.

Change-Id: Ib386cb7019d85b3dbd6c28417b3a481944b18aca
2020-01-21 16:13:01 +01:00
Tamás Zolnai
66eb121856 cypress: Running make check locally works better then cyrun.
Change-Id: Ifcbefa925b3b46e7955cd3cfb107b105f053cf59
2020-01-21 16:13:01 +01:00
Tamás Zolnai
740267611f cypress: Update README about test execution.
Change-Id: I6c7b7fd8c77f89289630a06f9dbaf94ae5082aa8
2020-01-21 16:13:01 +01:00
Tamás Zolnai
f2444df726 cypress: Add some commands to make easier to run tests.
Change-Id: I9428522717d3912ca20374a1efb1c61999ffc77f
2020-01-21 16:13:01 +01:00