Commit Graph
43 Commits
Author SHA1 Message Date
Viktor Scharf 05b0830cbf test: wait for the share sync in the Given steps that create shares (#4158)
* test: wait for the share sync in the Given steps that create shares

Shares are synced (auto-accepted) asynchronously by the sharing service,
so the scenarios waited for it with "user ... has a share ... synced"
after each share. Where they didn't, the following steps could race with
it, e.g. a hide sent before the auto-accept was overwritten by it.

The Given steps that create user and group shares now wait until the
share is synced for each user it was sent to (the members of a group),
unless the user has auto-sync turned off. The "has a share ... synced"
steps that only followed such a Given step are removed, and the line
references of the expected failures are updated.

Assisted-by: Claude Code:claude-opus-5-5

* test: don't wait for the sync of a share with the role Denied

A share with the role Denied gives no access, so it never shows up in
the shared-with-me list of the sharee, and the wait for its sync timed
out.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-29 10:42:57 +00:00
Niraj Acharya c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
Sabin 471d43a4e6 beautify feature file 2024-11-13 09:57:46 +05:45
Sabin d7b237eee2 updated feature file to remove trailing slash for folder propfind request 2024-11-13 09:53:49 +05:45
Saw-jan 5fabf09451 test: fix MOVE within Shares tests 2024-07-24 11:35:45 +05:45
Saw-jan 3883e17b52 test: ensure share is available 2024-07-24 11:35:45 +05:45
Prarup Gurung 84b0a0259e Adjusted failing ocs scenarios, removed from expected failure 2024-06-24 11:41:33 +05:45
Prarup Gurung 8c8d6560f7 Removed failing ocs scenarios, removed from expected failure 2024-06-19 14:37:58 +05:45
Prarup Gurung 9f4258ccfa Removed failing ocs scenarios, removed from expected failure 2024-06-13 12:57:43 +05:45
prashant-gurung899 8821017a77 lint the gherkin feature files
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-06-12 10:13:01 +05:45
Prarup Gurung c0ca55075d Removed failing ocs scenarios, removed from expected failure 2024-06-11 09:52:28 +05:45
Prarup Gurung 14fc824282 createShareReceivedInMultipleWays.feature: Used sharingNG for sharing in given step 2024-05-21 16:15:44 +05:45
Prarup Gurung 77f51185fd createShareGroupAndUserWithSameName.feature: Used sharingNG for sharing in given step 2024-05-21 16:13:55 +05:45
Viktor ScharfandMichael Barz 79c74711c4 [full-ci] Delete resharing tests (#8704)
* feat: disable resharing by default

delete re-sharing tests

* fix tests

---------

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2024-03-27 10:30:25 +01:00
Prarup Gurung ba7d91ebce Used kebab case for example table header name 2024-03-21 09:06:38 +05:45
Sawjan Gurung 0f9f996aba [tests-only] Extend API test coverage for MOVE between spaces (#8113)
* extend API test coverage for MOVE between spaces

* update line numbers
2024-01-03 12:09:59 +01:00
Sawjan Gurung c017037c71 unskip share test (#7806) 2023-11-27 09:56:10 +01:00
Sawjan Gurung 8eb7f7aa96 [tests-only] skip sharing tests in reva (#7591)
* do not use spacesContext

* skip sharing tests in reva

* update expected failure list

* do not cleanup status codes

* skip shares tests in reva

* update expected failure list
2023-10-27 12:37:09 +05:45
Viktor Scharf 4e27005e68 skip tests moving between shares jail 2023-10-20 16:12:51 +02:00
Viktor Scharf a9ddfec182 [test-only] fix tests after auto-accepting enabling (#7527)
* fix test

* fix preview test
2023-10-19 16:29:10 +02:00
Viktor Scharf c817f9b574 comment out flaky test 2023-10-17 17:03:28 +02:00
Viktor Scharf c179485db6 [full-ci] ApiTests. enable auto accepting in api tests (#7477)
* enable auto accepting in test

* go format
2023-10-17 16:29:05 +02:00
Sabin Panta dc3ed28696 [tests-only][full-ci] refactoring user addition to group to graphapi (#7360)
* changed user addition to group to graphapi

* addressing the review

* addressing review regarding nonexistent user

* addressing the review

* updated expected failures file

* changing code to make it pass in reva edge

* addressing review

* addressing review
2023-10-17 11:34:53 +05:45
Sabin PantaandSaw-jan 5efc3c51a1 [tests-only][full-ci] refactoring user creation Given steps from provisioning into GraphContext (#7019)
* refactored the user creation given statement from provisioning to graph api

added getUser steps that covers the steps for user with user light role

* added userlight step tests to check drive information and updated expected failure files

* added usercreation initiation code

* deleted seperate tests for user light role

* remove unnecesary changes

* add user not initialize step

* corrected the testcode

* moved the steps from graph to provisioning file

* fix creating single ldap user

* fix: user check method

* initialize user via graph

* addressing reviews

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2023-09-06 09:22:38 +05:45
Swikriti Tripathi 3fb6b94698 Fix the test step ordering 2023-08-22 16:23:17 +05:45
nirajacharya2 d623575db2 [tests-only][full-ci] removed a scenario and added a example table (#7076)
* removing the scenario and adding a example table

* removing the scenario and adding a example table
2023-08-21 15:32:19 +05:45
nirajacharya2 5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Sabin Panta bed8c77892 [tests-only][full-ci] make user enable disable feature use graphapi (#6790)
* make user enable disable feature use graphapi

* change the step definition code for user disable action

* updated step definition code for user disable feature

* updated user disable implementation

* corrected the error of step implementation code
2023-07-20 14:27:40 +05:45
Prajwol Amatya 941ef59cc9 refactor scenario example table (#6694) 2023-07-04 15:54:16 +05:45
Sabin Panta 9b4244b086 [tests-only] [full-ci] Refactoring unshare step definition code (#6608)
* added unshare scenerio

* remove unshare keyword from step definition

* refactoring of step definition codes

* refactor
2023-06-30 12:22:42 +05:45
André Duffeck 479835779a Adapt test expectations. We do not allow sharing of the space root. 2023-05-10 11:23:44 +02:00
Phil Davis d127954df4 Merge pull request #6247 from owncloud/remove-skiponldap-tag
[tests-only][full-ci]Remove skipOnLDAP tag
2023-05-08 13:49:11 +05:45
amrita 0bf6a110f6 Remove skipOnLDAP tag 2023-05-08 09:33:53 +05:45
Prarup Gurung e208b3018a Removed step and implementation of setting share auto accept 2023-05-08 09:01:54 +05:45
amrita 484f333c61 Remove unneccessary tag 2023-05-04 14:39:50 +05:45
amrita 73c327bdf0 Remove file sharing app 2023-05-04 12:42:14 +05:45
Swikriti Tripathi 17826d8ca9 Refactor feature files to add correct description 2023-05-03 10:36:30 +05:45
Prarup Gurung f3bf0894fc Removed core issue tag, refactored ocis-reva, ocis issue tag 2023-03-31 17:27:18 +05:45
Prarup Gurung 3419eacb6d Removed step and implementation setting default share folder 2023-02-23 15:32:27 +05:45
Prarup Gurung 8b6df0d729 Removed scenarios tagged with @skipOnOcis tag 2023-02-21 15:10:42 +05:45
Prarup Gurung 984f848cbd Removed scenarios tagged with notToImplementOnOcis tag 2023-02-15 09:05:07 +05:45
Prarup Gurung 3f2e1ce516 Removed core bug demonstration scenarios 2023-02-01 16:14:06 +05:45
Saw-jan c59392bc1e copy feature files from core 2023-01-05 09:22:52 +05:45