1
0
mirror of https://github.com/owncloud/ocis.git synced 2026-10-23 23:29:02 +03:00
Commit Graph

50 Commits

Author SHA1 Message Date
Pradip Subedi
af7d39d1b6 [tests-only][full-ci] test: Add acceptance test for empty CallToAction notification translation fix (#12616)
* test: add tests email after changing default language

* test: fix other feature files cleanup

* test: restore unrelated files

* test: add missing unshare strings to test translation fixture

* test: add missing space in email body

* test: assert full translated unshare email and sync userlog fixture

* test: remove unused negative email content step
2026-08-14 09:15:56 +05:45
Sawjan Gurung
39192c7bea ci: use existing servers (#12100)
* ci: enable k8s setup for remaining suites

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: use existing servers

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: increase timeout

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix mail setup

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: increase timeout

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix tika

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix csp directives

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: merge ocm provider configs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix notification tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix script file

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: enable ocm server logs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix pattern

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix cluster wait

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: run auth-app only when required

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix sharing tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-03-12 10:46:13 +05:45
Niraj Acharya
a5997e7a60 settingup antivirus, email and authapp services 2025-09-26 16:42:26 +05:45
Niraj Acharya
77ec7d1559 test: run tests on kubernetes with ociswrapper 2025-09-05 12:28:06 +05:45
pradip
bb8d47eec2 test: delete a notification using its id 2025-07-23 16:58:04 +05:45
Deyan Zhekov
a214308fe9 Extend notification tests for User Light role in notification.feature
Remove whitespace

Using user-role in Examples

Extend scenario to check also User Light role

Extend scenario for Personal space folder to also check User Light role

Add user-role as parameter when testing share removed

Add user-role as parameter when testing share remove for a resource

Add user-role as example's parameter in spaceNotification.feature

Updated more scenarios in spaceNotification.feature

Use <user-role> as a parameter for scenarios in notificationSetting.feature

Fix for failing pipeline job

Use <user-role> as a parameter for scenarios in notificationSetting.feature

Refactoring

Use <user-role> as a parameter for scenarios in notificationSetting.feature

Use <user-role> as a parameter for scenarios in notificationSetting.feature

Update scenarios' title
2025-05-09 14:06:43 +03:00
Deyan Zhekov
89835a2b9d Remove Given steps for the Scenario
Reduce the total steps for the following scenario:
 - user gets in-app and email notifications when space membership expires
2025-04-11 16:21:54 +03:00
Deyan Zhekov
b360e75f13 Add step for in-app notification in the same Scenario 2025-04-09 19:19:22 +03:00
Deyan Zhekov
458d00db2f Add Then step for the in-app notificatio 2025-04-09 16:56:21 +03:00
Deyan Zhekov
2fa35c9554 Remove the expirationDateTime
Co-authored-by: nirajacharya2 <122071597+nirajacharya2@users.noreply.github.com>
2025-04-09 16:33:07 +03:00
Deyan Zhekov
c3b0f73077 Scenario moved to spaceNotification.feature 2025-04-09 16:33:07 +03:00
amrita-shrestha
7d1d05ff1a combine inapp and mail 2025-03-28 15:05:26 +05:45
amrita
ca05b26636 add tests for share expiry 2025-03-20 15:46:27 +05:45
amrita
caf453b4c8 remove notification and email tag fro unrelated scenario 2025-02-26 10:54:05 +05:45
Deyan Zhekov
290d9ee641 Add API acceptance test for email notification
When a user remove sharing for a folder to a specific user

Add API acceptance test for email notification when remove sharing on a file

Use of proper When step for the tests

Add new lines to follow the notation

Fix indentation issues

Add missing issue number

Remove whitespaces

Co-authored-by: Amrita <54478846+amrita-shrestha@users.noreply.github.com>

Add test when a space admin removes sharing for a folder

Add test when a space admin removes sharing for a file

Fix scenario name

Update scenario name

Co-authored-by: Prashant Gurung <53248463+prashant-gurung899@users.noreply.github.com>

Update scenario name

Co-authored-by: Prashant Gurung <53248463+prashant-gurung899@users.noreply.github.com>

Update scenario name

Co-authored-by: Prashant Gurung <53248463+prashant-gurung899@users.noreply.github.com>

Update scenario name

Co-authored-by: Prashant Gurung <53248463+prashant-gurung899@users.noreply.github.com>

Update file name

Remove redundant tag

Remove slash from the file name
2025-02-19 11:42:38 +02:00
amrita-shrestha
b4017cc1cf fix nottification cleanup and retry 2025-02-10 12:42:40 +05:45
amrita
acc993ab36 santize service health and reasy url 2024-12-31 15:06:16 +05:45
Niraj Acharya
c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
Prajwol Amatya
34dc52d426 update the scenarios for service availability check 2024-11-28 16:01:30 +05:45
Viktor Scharf
1789a1ad43 fix after review 2024-11-28 09:11:51 +05:45
Viktor Scharf
18e0af90b7 add test for checking service ready and health 2024-11-28 09:11:50 +05:45
pradip
0145c1690b test: add test coverage for mail notification with comma(,) in display name of sender 2024-07-15 16:19:06 +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
Sabin Panta
fff20ac8db [tests-only][full-ci] updating given step for sharing and env in docs for starting email service (#9081)
* updating given step for sharing and env in docs for starting email service

* addressing review

* fixing the given steps of sharing
2024-05-09 12:25:57 +05:45
Phil Davis
86b931f176 tests: code review of acceptance tests 2024-04-29 13:47:08 +05:45
Viktor Scharf
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
05dc4155c2 Used kebab case for example table header name 2024-03-19 15:44:54 +05:45
Sawjan Gurung
9b8ec4e5e6 [tests-only] check for invalid schema validators (#8533)
* test(api): check schema validators

* test(api): check schema validators

* test(api): check schema validators

* test(api): fix schema

* test(api): fix php code style

* test(api): fix schema
2024-02-28 16:56:03 +05:45
Swikriti Tripathi
580e8aeb46 tests: add api tests for changing system language using graph api (#7817) 2023-11-28 15:33:17 +05:45
Artur Neumann
94d36b18f8 fix expected user-id in notifications 2023-11-15 14:50:14 +05:45
Artur Neumann
d452c11a0e fix typo in test 2023-11-15 14:18:31 +05:45
Sabin Panta
1c6600365c [tests-only][full-ci] Refactoring all graphapi related featurefile wording (#7389)
* refactoring the feature file steps

* addressing review
2023-10-30 17:57:42 +05:45
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
Roman Perekhod
04a5ee283e fix default language fallback (#7479)
* fix default language fallback

* Update services/userlog/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

* Update services/notifications/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

* readme updated. local env vars removed

* Update changelog/unreleased/fix-default-mail-language-fallback.md

Co-authored-by: Martin <github@diemattels.at>

* update readme's and envvar texts

* fix changelog text

---------

Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
2023-10-17 09:56:48 +02:00
Karun Atreya
83971fa19a [tests-only] [full-ci] removing the setresponse in given/then step in spaces context (#7496)
* refactor given/when/then steps in spaces context

* pass the returned response without setting in then step

* added the missing when step whose response is checked by the then step

* addressed the reviews

* changed from decoded body to docoded response
2023-10-17 11:41:47 +05:45
Viktor Scharf
67cfcabe5d add test for default language (#7464) 2023-10-12 10:40:12 +02:00
Saw-jan
b0ef3aad5f fix steps 2023-10-06 14:55:38 +05:45
nirajacharya2
3e6b8da6a1 added skip on stable 3.0 tag (#7073) 2023-08-22 13:16:08 +05:45
nirajacharya2
3156360d66 adding test for deprovisioning notification using date format (#7065) 2023-08-18 16:41:23 +05:45
nirajacharya2
5f93a22eb9 removing @api tag from all acceptance feature files (#7027) 2023-08-16 09:29:00 +05:45
Viktor Scharf
0258b2bfff [test-only]ApiTest. Deprovisioning notification tests (#6994)
* add create/delete notification tests

* fix grammar

---------

Co-authored-by: Swikriti Tripathi <swikriti808@gmail.com>
2023-08-14 13:01:04 +05:45
Amrita
70411e613e Add tests for deleting specific notification (#6735) 2023-07-18 14:12:45 +05:45
nirajacharya2
db70ab27ac added test for mail notification if space admin delete access to space (#6719) 2023-07-10 13:07:53 +05:45
nirajacharya2
f15ed6bc91 added test for mail notification in diffrent languages when sharing resources (#6666) 2023-07-03 12:13:55 +05:45
nirajacharya2
bee7f0c311 added test for mail notification to group members if a space is shared with them 2023-06-27 16:06:58 +05:45
Viktor Scharf
5867dae18f using Graph instead Of Setting Method In Tests 2023-06-15 17:03:53 +02:00
Amrita
c750d6677a Add tests for space notification (#6372) 2023-06-08 16:59:45 +05:45
Amrita
91ea910cf0 Extend notification tests scenario for different language (#6365) 2023-05-31 16:00:10 +05:45
Swikriti Tripathi
9c5a8a7b24 Refactor feature files to add correct description 2023-05-26 16:31:37 +05:45
Amrita
53ee61ad87 [full-ci][tests-only]Extend notification api tests (#6324)
* Add api tests for notification

* Address review
2023-05-24 12:56:43 +05:45