You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/apollo/test/cypress/e2e/features/04-CreateAndJoin2x_Org1AndOrg2.feature
+30-16Lines changed: 30 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -84,12 +84,14 @@ Feature: Create and Join a 2.x channel
84
84
And I am on the 'channels' page
85
85
And I clicked the button with title 'Create channel'
86
86
And I clicked the checkbox with text 'Advanced channel configuration'
87
-
And I clicked the span with text 'Next'
87
+
# And I clicked the span with text 'Next'
88
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
88
89
And I provided 'channel2' for the 'Enter a name for your channel' input
89
90
And I clicked the button with title 'Select from available ordering services'
90
-
And I clicked the div with id 'downshift-0-item-0'
91
+
And I clicked the div with text 'Ordering Service'
91
92
Then wait "3" seconds
92
-
And I clicked the span with text 'Next'
93
+
# And I clicked the span with text 'Next'
94
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
93
95
And I clicked the button with title 'Select MSP'
94
96
And I clicked the div with text 'Org1 MSP (org1msp)'
95
97
And I clicked the button with text 'Add'
@@ -98,28 +100,38 @@ Feature: Create and Join a 2.x channel
98
100
And I clicked the div with text 'Org2 MSP (org2msp)'
99
101
And I clicked the button with text 'Add'
100
102
And I clicked the 'admin' role for 'org2msp'
101
-
And I clicked the span with text 'Next'
103
+
# And I clicked the span with text 'Next'
104
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
102
105
And I clicked the button with title 'Select policy'
103
106
And I clicked the div with text '1 out of 2'
104
-
And I clicked the span with text 'Next'
107
+
# And I clicked the span with text 'Next'
108
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
105
109
And I clicked the button with title 'Select the MSP'
106
110
And I clicked the div with text 'Org1 MSP (org1msp)'
107
111
And I clicked the button with title 'Select an identity'
108
112
And I clicked the div with text 'Org1 MSP Admin'
109
-
And I clicked the span with text 'Next'
113
+
# And I clicked the span with text 'Next'
114
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
110
115
And I clicked the div with id 'selectedApplicationCapability'
111
116
And I clicked the div with text '2.0.0'
112
117
And I clicked the div with id 'selectedOrdererCapability'
113
-
And I clicked element with class '#selectedOrdererCapability > div > div:nth-child(2)'
114
-
And I clicked the span with text 'Next'
115
-
And I clicked the span with text 'Next'
116
-
And I clicked the span with text 'Next'
117
-
And I clicked the span with text 'Next'
118
-
And I clicked the span with text 'Next'
118
+
And I clicked element with class '#selectedOrdererCapability > ul > li:nth-child(2) > div'
119
+
# And I clicked the span with text 'Next'
120
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
121
+
# And I clicked the span with text 'Next'
122
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
123
+
# And I clicked the span with text 'Next'
124
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
125
+
# And I clicked the span with text 'Next'
126
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
127
+
# And I clicked the span with text 'Next'
128
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
119
129
And I clicked the button with title 'Select the MSP'
120
130
And I clicked the div with text 'Ordering Service MSP (osmsp)'
121
-
And I clicked the span with text 'Next'
122
-
And I clicked the span with text 'Next'
131
+
# And I clicked the span with text 'Next'
132
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
133
+
# And I clicked the span with text 'Next'
134
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
123
135
Then I clicked Create channel button
124
136
Then wait "10" seconds
125
137
Then I should see a success toast with class '.cds--toast-notification__title' which says "You have successfully initiated a request to create channel2. This request requires the signature of an ordering service MSP. After the request has been signed and submitted, you will see a pending channel tile. Clicking on this tile will allow you to join a peer to the channel."
@@ -146,8 +158,10 @@ Feature: Create and Join a 2.x channel
146
158
And I am on the 'channels' page
147
159
And I clicked the div with id 'ibp-tile-channel2'
148
160
Then wait "5" seconds
149
-
And I clicked the span with text 'Peer Org1'
150
-
And I clicked the span with text 'Peer Org2'
161
+
# And I clicked the span with text 'Peer Org1'
162
+
And I click label with property 'for' and value 'joinChannelModal-peer-peerorg1'
163
+
# And I clicked the span with text 'Peer Org2'
164
+
And I click label with property 'for' and value 'joinChannelModal-peer-peerorg2'
151
165
When I clicked the button with id 'submit'
152
166
Then I should see a success toast with class '.cds--toast-notification__title' which says "You have successfully joined channel2."
153
167
Then the element div with text 'channel2' should be visible on page
Copy file name to clipboardExpand all lines: packages/apollo/test/cypress/e2e/features/05-Install20SmartContract.feature
+26-14Lines changed: 26 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -144,23 +144,35 @@ Feature: 2.0 Lifecycle Flow
144
144
And I clicked the button with title 'Select an identity'
145
145
And I clicked the div with text 'Org2 MSP Admin'
146
146
Then wait "1" seconds
147
-
And I clicked the span with text 'Next'
148
-
And I clicked the span with text 'Next'
149
-
And I clicked the span with text 'Next'
150
-
And I clicked the span with text 'Next'
151
-
And I clicked the span with text 'Next'
152
-
And I clicked the span with text 'Next'
147
+
# And I clicked the span with text 'Next'
148
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
149
+
# And I clicked the span with text 'Next'
150
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
151
+
# And I clicked the span with text 'Next'
152
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
153
+
# And I clicked the span with text 'Next'
154
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
155
+
# And I clicked the span with text 'Next'
156
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
157
+
# And I clicked the span with text 'Next'
158
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
153
159
And I provided '13' for input field with id 'channelModal-block-params-absolute_max_bytes_mb-input-for-slider'
154
160
And I provided '510' for input field with id 'channelModal-block-params-max_message_count-input-for-slider'
155
-
And I clicked the span with text 'Next'
156
-
And I clicked the span with text 'Next'
157
-
And I clicked the span with text 'Next'
158
-
And I clicked the span with text 'Next'
159
-
And I clicked the button with title 'Select the MSP'
161
+
# And I clicked the span with text 'Next'
162
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
163
+
# And I clicked the span with text 'Next'
164
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
165
+
# And I clicked the span with text 'Next'
166
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
167
+
# And I clicked the span with text 'Next'
168
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
169
+
And I clicked the button with title 'Select the MSP'
160
170
And I clicked the div with text 'Ordering Service MSP (osmsp)'
161
-
And I clicked the span with text 'Next'
162
-
And I clicked the span with text 'Next'
163
-
And I clicked the span with text 'Update channel'
171
+
# And I clicked the span with text 'Next'
172
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
173
+
# And I clicked the span with text 'Next'
174
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
175
+
And I clicked the span with text 'Update channel'
164
176
Then I should see a success toast with class '.cds--toast-notification__title' which says 'You have successfully initiated a request to update channel channel2.'
165
177
# View channel configuration updates
166
178
When I clicked the button with id 'ibp-header-signature-collection-icon'
Copy file name to clipboardExpand all lines: packages/apollo/test/cypress/e2e/features/06-CreateAndJoin1x_Org1.feature
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -83,29 +83,37 @@ Feature: Create and Join a 1.x channel
83
83
84
84
Scenario: When creating a channel
85
85
And I clicked the button with title 'Create channel'
86
-
And I clicked the span with text 'Next'
86
+
# And I clicked the span with text 'Next'
87
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
87
88
And I provided 'channel1' for the 'Enter a name for your channel' input
88
89
And I clicked the button with title 'Select from available ordering services'
89
-
And I clicked the div with id 'downshift-0-item-0'
90
-
And I clicked the span with text 'Next'
90
+
# And I clicked the div with text 'Ordering Service'
91
+
And I clicked element with class '#selectedOrderer > ul > li:nth-child(1)'
92
+
# And I clicked the span with text 'Next'
93
+
Then wait "1" seconds
94
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
91
95
And I clicked the button with title 'Select MSP'
92
96
And I clicked the div with text 'Org1 MSP (org1msp)'
93
97
And I clicked the button with text 'Add'
94
98
And I clicked the 'admin' role for 'org1msp'
95
-
And I clicked the span with text 'Next'
96
-
And I clicked the span with text 'Next'
99
+
# And I clicked the span with text 'Next'
100
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
101
+
# And I clicked the span with text 'Next'
102
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
97
103
And I clicked the button with title 'Select the MSP'
98
104
And I clicked the div with text 'Org1 MSP (org1msp)'
99
105
And I clicked the button with title 'Select an identity'
100
106
And I clicked the div with text 'Org1 MSP Admin'
101
-
And I clicked the span with text 'Next'
107
+
# And I clicked the span with text 'Next'
108
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
102
109
Then I clicked Create channel button
103
110
Then I should see a success toast with class '.cds--toast-notification__title' which says "You have successfully initiated a request to create channel1. Join a peer to this channel by clicking the pending channel tile below."
104
111
And the channel with name 'channel1' should have been created
105
112
106
113
Scenario: When joining a channel
107
114
And I clicked the div with text 'channel1'
108
115
Then wait "5" seconds
109
-
And I clicked the span with text 'Peer Org1'
116
+
# And I clicked the span with text 'Peer Org1'
117
+
And I click label with property 'for' and value 'joinChannelModal-peer-peerorg1'
110
118
When I clicked the button with id 'submit'
111
119
Then I should see a success toast with class '.cds--toast-notification__title' which says "You have successfully joined channel1."
Copy file name to clipboardExpand all lines: packages/apollo/test/cypress/e2e/features/07-UpdateAndJoinChannel_Org2.feature
+17-8Lines changed: 17 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ Feature: Update channel to add Org2
32
32
And the CA admin is set as 'Ordering Service CA Admin'
33
33
Then the 'admin' user with id 'OSadmin' should be enrolled
34
34
And the 'orderer' user with id 'OS1' should be enrolled
35
+
Then wait "5" seconds
35
36
And I enroll TLS identity for OS1 with secret 'OS1pw' and name 'TLSOS1'
36
37
And I am on the 'nodes' page
37
38
And I clicked the 'Org2 CA' certificate authority
@@ -88,19 +89,27 @@ Feature: Update channel to add Org2
88
89
And I clicked the div with text 'Org1 MSP (org1msp)'
89
90
And I clicked the button with title 'Select an identity'
90
91
And I clicked the div with text 'Org1 MSP Admin'
91
-
And I clicked the span with text 'Next'
92
+
# And I clicked the span with text 'Next'
93
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
92
94
And I clicked the button with title 'Select MSP'
93
95
And I clicked the div with text 'Org2 MSP (org2msp)'
94
96
And I clicked the button with id 'btn-add-org'
95
97
And I clicked the 'admin' role for 'org2msp'
96
-
And I clicked the span with text 'Next'
98
+
# And I clicked the span with text 'Next'
99
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
97
100
And I clicked the button with title 'Select policy'
98
101
And I clicked the div with text '1 out of 2'
99
-
And I clicked the span with text 'Next'
100
-
And I clicked the span with text 'Next'
101
-
And I clicked the span with text 'Next'
102
-
And I clicked the span with text 'Next'
103
-
And I clicked the span with text 'Next'
104
-
And I clicked the span with text 'Next'
102
+
# And I clicked the span with text 'Next'
103
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
104
+
# And I clicked the span with text 'Next'
105
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
106
+
# And I clicked the span with text 'Next'
107
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
108
+
# And I clicked the span with text 'Next'
109
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
110
+
# And I clicked the span with text 'Next'
111
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
112
+
# And I clicked the span with text 'Next'
113
+
And I clicked element with class '#ibp--template-full-page-side-panel > div.ibp-button-container.ibp-vertical-panel-button-container > button:nth-child(2) > span'
105
114
And I clicked the span with text 'Update channel'
106
115
Then I should see a success toast with class '.cds--toast-notification__title' which says "You have successfully initiated a request to update channel channel1."
0 commit comments