@@ -270,44 +270,38 @@ export class CreateEventBasicInfoPage extends AuthenticatedPage {
270270
271271 get targetGroupsDropdownButton ( ) {
272272 return this . eventClassificationsSection
273- . getByRole ( 'button ' , {
273+ . getByRole ( 'combobox ' , {
274274 name : this . t ( 'targetGroups' ) ,
275275 } )
276276 . and ( this . hasListBoxPopUp ) ; // To distinguish from the selected tags
277277 }
278278
279279 get targetGroupsListBox ( ) {
280- return this . eventClassificationsSection . getByRole ( 'listbox' , {
281- name : this . t ( 'targetGroups' ) ,
282- } ) ;
280+ return this . eventClassificationsSection . getByRole ( 'listbox' ) ;
283281 }
284282
285283 get categoriesDropdownButton ( ) {
286284 return this . eventClassificationsSection
287- . getByRole ( 'button ' , {
285+ . getByRole ( 'combobox ' , {
288286 name : this . t ( 'categories' ) ,
289287 } )
290288 . and ( this . hasListBoxPopUp ) ; // To distinguish from the selected tags
291289 }
292290
293291 get categoriesListBox ( ) {
294- return this . eventClassificationsSection . getByRole ( 'listbox' , {
295- name : this . t ( 'categories' ) ,
296- } ) ;
292+ return this . eventClassificationsSection . getByRole ( 'listbox' ) ;
297293 }
298294
299295 get activitiesDropdownButton ( ) {
300296 return this . eventClassificationsSection
301- . getByRole ( 'button ' , {
297+ . getByRole ( 'combobox ' , {
302298 name : this . t ( 'activities' ) ,
303299 } )
304300 . and ( this . hasListBoxPopUp ) ; // To distinguish from the selected tags
305301 }
306302
307303 get activitiesListBox ( ) {
308- return this . eventClassificationsSection . getByRole ( 'listbox' , {
309- name : this . t ( 'activities' ) ,
310- } ) ;
304+ return this . eventClassificationsSection . getByRole ( 'listbox' ) ;
311305 }
312306
313307 get eventKeywordsTextBox ( ) {
@@ -351,15 +345,13 @@ export class CreateEventBasicInfoPage extends AuthenticatedPage {
351345 }
352346
353347 get contactPersonNameDropdownButton ( ) {
354- return this . contactPersonSection . getByRole ( 'button ' , {
348+ return this . contactPersonSection . getByRole ( 'combobox ' , {
355349 name : this . t ( 'contactPersonName' ) ,
356350 } ) ;
357351 }
358352
359353 get contactPersonNameListBox ( ) {
360- return this . contactPersonSection . getByRole ( 'listbox' , {
361- name : this . t ( 'contactPersonName' ) ,
362- } ) ;
354+ return this . contactPersonSection . getByRole ( 'listbox' ) ;
363355 }
364356
365357 get emailTextBox ( ) {
0 commit comments