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

stable10.feature « features « tests - github.com/nextcloud/updater.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bcc5367094e1322480f466e22ebd6088e502b09f (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
Feature: CLI updater - stable10 base

  Scenario: Update is available - 10.0.0 to 10.0.1
    Given the current installed version is 10.0.0
    And there is an update to version 10.0.1 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0.1
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 10.0.0 to 11.0beta
    Given the current installed version is 10.0.0
    And there is an update to prerelease version "11.0.0beta" available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 11.0.0
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 10.0.1 to 11.0beta
    Given the current installed version is 10.0.1
    And there is an update to prerelease version "11.0.0beta" available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 11.0.0
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 10.0.0 to stable10 daily
    Given the current installed version is 10.0.0
    And the current channel is "daily"
    And there is an update to daily version of stable10 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 10.0.1 to stable10 daily
    Given the current installed version is 10.0.1
    And the current channel is "daily"
    And there is an update to daily version of stable10 available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - stable10 to stable10 daily
    Given the current installed version is stable10
    And the current channel is "daily"
    And there is an update to daily version of stable10 available
    And the version number is decreased in the config.php to enforce upgrade
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - stable10 to 11.0.0 beta 2
    Given the current installed version is stable10
    And there is an update to prerelease version "11.0.0beta2" available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 11.0.0.5
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 10.0.0 to 11.0.0 beta 2
    Given the current installed version is 10.0.0
    And there is an update to prerelease version "11.0.0beta2" available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 11.0.0.5
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 10.0.1 to 11.0.0 beta 2
    Given the current installed version is 10.0.1
    And there is an update to prerelease version "11.0.0beta2" available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 11.0.0.5
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 10.0.0 to 10.0.2RC1
    Given the current installed version is 10.0.0
    And there is an update to prerelease version "10.0.2RC1" available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0.2
    And maintenance mode should be off
    And upgrade is not required

  Scenario: Update is available - 10.0.1 to 10.0.2RC1
    Given the current installed version is 10.0.1
    And there is an update to prerelease version "10.0.2RC1" available
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0.2
    And maintenance mode should be off
    And upgrade is not required


  Scenario: Update is available - 10.0.2 RC1 to 10.0.2RC1 to check if the updater will run on the RC onwards
    Given the current installed version is 10.0.2RC1
    And there is an update to prerelease version of 10.0.2RC1 available
    And the version number is decreased in the config.php to enforce upgrade
    When the CLI updater is run successfully
    And the output should contain "Update successful"
    Then the installed version should be 10.0.2
    And maintenance mode should be off
    And upgrade is not required