File tree Expand file tree Collapse file tree 1 file changed +43
-1
lines changed Expand file tree Collapse file tree 1 file changed +43
-1
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,49 @@ Feature: Default branch switching
40
40
| 1 .3 .x |
41
41
And the default branch should be "1.3.x"
42
42
43
- Scenario : A pre-existing branch of a greater major release is set as default branch on release
43
+ Scenario : A new minor branch on a pre-existing major branch is created and set as default branch on release
44
+ Given following existing branches:
45
+ | branch |
46
+ | 1 .0 .x |
47
+ | 1 .1 .x |
48
+ | 1 .2 .x |
49
+ | 2 .0 .x |
50
+ And following open milestones:
51
+ | name |
52
+ | 2 .0 .0 |
53
+ And the default branch is "1.0.x"
54
+ When I close milestone "2.0.0"
55
+ Then these should be the existing branches:
56
+ | branch |
57
+ | 1 .0 .x |
58
+ | 1 .1 .x |
59
+ | 1 .2 .x |
60
+ | 2 .0 .x |
61
+ | 2 .1 .x |
62
+ And the default branch should be "2.1.x"
63
+
64
+ Scenario : A pre-existing branch of a new major release is not set as default branch on release
65
+ Given following existing branches:
66
+ | branch |
67
+ | 1 .0 .x |
68
+ | 1 .1 .x |
69
+ | 1 .2 .x |
70
+ | 2 .0 .x |
71
+ And following open milestones:
72
+ | name |
73
+ | 1 .2 .0 |
74
+ And the default branch is "1.0.x"
75
+ When I close milestone "1.2.0"
76
+ Then these should be the existing branches:
77
+ | branch |
78
+ | 1 .0 .x |
79
+ | 1 .1 .x |
80
+ | 1 .2 .x |
81
+ | 1 .3 .x |
82
+ | 2 .0 .x |
83
+ And the default branch should be "1.3.x"
84
+
85
+ Scenario : A pre-existing minor branch of a greater major release is set as default branch on release
44
86
Given following existing branches:
45
87
| branch |
46
88
| 1 .0 .x |
You can’t perform that action at this time.
0 commit comments