Welcome to mirror list, hosted at ThFree Co, Russian Federation.

delete-notifications.feature « features « integration « tests - github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 679e74873e70936a73e448633efefca04c5236f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Feature: delete-notifications
  Background:
    Given using api version "2"
    Given user "test1" exists
    Given As an "test1"

  Scenario: Delete first notification
    Given list of notifiers is not empty
    Given user "test1" has notifications
    Given user "test1" has notifications
    Given user "test1" has notifications
    Then user "test1" has 3 notifications
    And delete first notification
    And user "test1" has 2 notifications missing the first one

  Scenario: Delete last notification
    Given list of notifiers is not empty
    Given user "test1" has notifications
    Given user "test1" has notifications
    Given user "test1" has notifications
    Then user "test1" has 3 notifications
    And delete last notification
    And user "test1" has 2 notifications missing the last one