blob: 1366eb4540a34a7d73b9afddabc4b909d7ea132f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
Feature: notifications-content
Background:
Given user "test1" exists
Given As user "test1"
Scenario: Create notification
Given user "test1" receives notification with
| app | notificationsintegrationtesting |
| timestamp | 144958517 |
| subject | Integration testing |
| link | https://owncloud.org/blog/about-activities-and-notifications-in-owncloud/ |
| message | About Activities and Notifications in ownCloud |
| object_type | blog |
| object_id | 9483 |
Then user "test1" has 1 notifications
And last notification matches
| app | notificationsintegrationtesting |
| datetime | 1974-08-05T18:15:17+00:00 |
| subject | Integration testing |
| link | https://owncloud.org/blog/about-activities-and-notifications-in-owncloud/ |
| message | About Activities and Notifications in ownCloud |
| object_type | blog |
| object_id | 9483 |
Scenario: Create different notification
Given user "test1" receives notification with
| app | notificationsintegrationtesting |
| timestamp | 144958515 |
| subject | Testing integration |
| link | https://github.com/owncloud/notifications/blob/master/docs/ocs-endpoint-v1.md |
| message | Reading and deleting notifications as a Client |
| object_type | repo |
| object_id | notifications |
Then user "test1" has 1 notifications
And last notification matches
| app | notificationsintegrationtesting |
| datetime | 1974-08-05T18:15:15+00:00 |
| subject | Testing integration |
| link | https://github.com/owncloud/notifications/blob/master/docs/ocs-endpoint-v1.md |
| message | Reading and deleting notifications as a Client |
| object_type | repo |
| object_id | notifications |
|