Π“Ρ€Π°Ρ„ ΠΊΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

7 ΠšΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

Автор SHA1 Π‘ΠΎΠΎΠ±Ρ‰Π΅Π½ΠΈΠ΅ Π”Π°Ρ‚Π°
Max 51bea29c55
cypress: Use createUser and login from @nextcloud/cypress
This also means we need to separate login and initial visit.

Signed-off-by: Max <max@nextcloud.com>
2022-11-30 11:30:53 +01:00
Vinicius Reis 43b38fdd86
🎨 format code
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-26 11:58:03 -03:00
Max ba2c493439
cy: only run retries in run mode - not in open mode
Signed-off-by: Max <max@nextcloud.com>
2022-08-31 11:23:22 +02:00
Max ce9b52dad5
test: retry failed cypress tests twice
This will hopefully make the CI more stable
while allowing us to also see which tests are flaky
in the cypress ui.

Some tests may not be retryable yet.
So they will always fail on a second attempt because of remains of a first attempt.
We can tackle that on a test by test basis later.

Signed-off-by: Max <max@nextcloud.com>
2022-06-30 14:31:24 -03:00
Ferdinand Thiessen ff1d6e497e
Clean up cypress tests
1. Clean up lint issues of the cypress tests
2. Fix placed where .find was intended but .get was used
3. Remove duplicated code
4. Remove residues of cypress 10 migration
5. Add some documentation on available commands

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-06-30 13:41:01 -03:00
Vinicius Reis 803eb231b3
🎨 (#2463): indent code
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-09 10:35:38 +02:00
Ferdinand Thiessen 324ebe92f8 Fix cypress scripts for local run + Add documentation
Fix the scripts for local cypress runs,
they need to be run within the `npm run` environment,
as the nextcloud webpack config requires the `npm_package_name`
variable to be set.

Also a up-to-date nextcloud instance is required for testing
text at the current git head, so updated the dockerfile
and docker-compose files to create a nextcloud image from current git head.

Additionally updated the tests to use cypress 10.x and
added missing documentation on how to run the cypress tests.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-06-05 12:39:56 +02:00