diff --git a/core/src/components/select/test/basic/index.html b/core/src/components/select/test/basic/index.html index 3163513a6a..421dd4505f 100644 --- a/core/src/components/select/test/basic/index.html +++ b/core/src/components/select/test/basic/index.html @@ -22,52 +22,65 @@ - + - Single Value Select + Single Value - - Female - Male + + Apples + Oranges + Pears - - Brown - Blonde - Black - Red + + Apples + Oranges + Pears - - Red - Purple - Yellow - Orange - Green + + Apples + Oranges + Pears - Object Values with trackBy + Multiple Value Select - + + Pepperoni + Bacon + Extra Cheese + Mushrooms + Onions + + + + + + Bird + Cat + Dog + Honey Badger + - Select - Custom Interface Options + Custom Interface Options @@ -77,27 +90,23 @@ value="bacon" interface="alert" multiple="true" - placeholder="Select One" + placeholder="Select" > + Pepperoni Bacon - Black Olives Extra Cheese - Green Peppers Mushrooms Onions - Pepperoni - Pineapple - Sausage - Spinach - - Brown - Blonde - Black - Red + + Pepperoni + Bacon + Extra Cheese + Mushrooms + Onions @@ -108,273 +117,17 @@ interface="action-sheet" placeholder="Select One" > - Red - Purple - Yellow - Orange - Green - - - - - - - Popover Interface Select - - - - - Female - Male - - - - - - Steak - Pizza - Tacos - - - - - Date - - January - February - March - April - May - June - July - August - September - October - November - December - - - 1989 - 1990 - 1991 - 1992 - 1993 - 1994 - 1995 - 1996 - 1997 - 1998 - 1999 - - - - - - 0 - 1 - 2 - 3 - 4 - 5 - - - - - - - Action Sheet Interface Select - - - - - For 15 Minutes - For 1 Hour - For 24 Hours - Until I turn it back on - - - - - - 1 Star - 2 Stars - 3 Stars - 4 Stars - 5 Stars - - - - - - - Multiple Value Select - - - - + Pepperoni Bacon - Black Olives Extra Cheese - Green Peppers Mushrooms Onions - Pepperoni - Pineapple - Sausage - Spinach - - - - - - Bird - Cat - Dog - Honey Badger - - - - - - 0 - 1 - 2 - 3 - 4 - 5 - - - - - - Extra cheese - Mushroom - Onion - Pepperoni - Sausage - - - - - - Selected Text - - - - - - Default - Other - N/A - - - - - - Default - Other - N/A - - - - - - Default - Other - N/A - - - - - - Default - Other - N/A - -
- Toggle Disabled -
- - diff --git a/core/src/components/select/test/basic/select.e2e.ts b/core/src/components/select/test/basic/select.e2e.ts index 97c3ca75ae..f288df62b0 100644 --- a/core/src/components/select/test/basic/select.e2e.ts +++ b/core/src/components/select/test/basic/select.e2e.ts @@ -71,9 +71,9 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => await page.goto('/src/components/select/test/basic', config); - const select = page.locator('#gender'); + const select = page.locator('#alert-select'); - await select.evaluate((el: HTMLSelectElement) => { + await select.evaluate((el: HTMLIonSelectElement) => { /* * Playwright's click() method attempts to scroll to the handle * to perform the action. That is problematic when the overlay diff --git a/core/src/components/select/test/legacy/basic/select.e2e.ts b/core/src/components/select/test/legacy/basic/select.e2e.ts index 7c4e8323d7..9577d32dda 100644 --- a/core/src/components/select/test/legacy/basic/select.e2e.ts +++ b/core/src/components/select/test/legacy/basic/select.e2e.ts @@ -64,7 +64,7 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, config }) => description: 'https://github.com/ionic-team/ionic-framework/issues/25126', }); - await page.goto('/src/components/select/test/basic', config); + await page.goto('/src/components/select/test/legacy/basic', config); const select = page.locator('#gender');