@@ -91,11 +91,11 @@ describe('Approval Dashboard process with multiple repos', () => {
91
91
92
92
it ( 'should test paging.' , ( ) => {
93
93
openModal ( ) ;
94
- cy . contains ( '.modal-body .toolbar' , '1 - 10 of 11' ) ;
94
+ cy . contains ( '.modal-body .hub- toolbar' , '1 - 10 of 11' ) ;
95
95
cy . contains ( '.modal-body' , 'repo1' ) ;
96
96
cy . contains ( '.modal-body' , 'published' ) ;
97
- cy . get ( '.modal-body .toolbar [data-action="next"]' ) . click ( ) ;
98
- cy . contains ( '.modal-body .toolbar' , '11 - 11 of 11' ) ;
97
+ cy . get ( '.modal-body .hub- toolbar [data-action="next"]' ) . click ( ) ;
98
+ cy . contains ( '.modal-body .hub- toolbar' , '11 - 11 of 11' ) ;
99
99
cy . contains ( '.modal-body' , 'repo9' ) ;
100
100
} ) ;
101
101
@@ -127,15 +127,15 @@ describe('Approval Dashboard process with multiple repos', () => {
127
127
openModal ( ) ;
128
128
129
129
// select all
130
- cy . get ( '.toolbar [aria-label="Select"] svg' ) . click ( ) ;
130
+ cy . get ( '.hub- toolbar [aria-label="Select"] svg' ) . click ( ) ;
131
131
cy . contains ( 'a' , 'Select all (11 items)' ) . click ( ) ;
132
132
cy . contains ( '[aria-label="Label group category"] button' , '8 more' ) . click ( ) ;
133
133
reposList . forEach ( ( repo ) => {
134
134
cy . contains ( '[aria-label="Label group category"]' , repo ) ;
135
135
} ) ;
136
136
137
137
// deselect all
138
- cy . get ( '.toolbar [aria-label="Select"] svg' ) . click ( ) ;
138
+ cy . get ( '.hub- toolbar [aria-label="Select"] svg' ) . click ( ) ;
139
139
cy . contains ( 'a' , 'Deselect all (11 items)' ) . click ( ) ;
140
140
reposList . forEach ( ( repo ) => {
141
141
cy . contains ( '[aria-label="Label group category"]' , repo ) . should (
@@ -144,7 +144,7 @@ describe('Approval Dashboard process with multiple repos', () => {
144
144
} ) ;
145
145
146
146
// select page
147
- cy . get ( '.toolbar [aria-label="Select"] svg' ) . click ( ) ;
147
+ cy . get ( '.hub- toolbar [aria-label="Select"] svg' ) . click ( ) ;
148
148
cy . contains ( 'a' , 'Select page (10 items)' ) . click ( ) ;
149
149
reposList . forEach ( ( repo ) => {
150
150
if ( repo != 'repo9' ) {
@@ -161,7 +161,7 @@ describe('Approval Dashboard process with multiple repos', () => {
161
161
cy . contains ( 'Clear all filters' ) . click ( ) ;
162
162
163
163
// deselect page and repo9 should remain here
164
- cy . get ( '.toolbar [aria-label="Select"] svg' ) . click ( ) ;
164
+ cy . get ( '.hub- toolbar [aria-label="Select"] svg' ) . click ( ) ;
165
165
cy . contains ( 'a' , 'Deselect page (10 items)' ) . click ( ) ;
166
166
reposList . forEach ( ( repo ) => {
167
167
if ( repo != 'repo9' ) {
0 commit comments