From d04d73bb9d9e5e546ca7a192bee7a16120e5d0e8 Mon Sep 17 00:00:00 2001 From: Sergey Vinogradov Date: Wed, 8 Jan 2025 14:53:28 +0400 Subject: [PATCH] use input instead of button to fix local failures --- packages/checkbox-group/test/checkbox-group.common.js | 2 +- packages/checkbox-group/test/validation.common.js | 2 +- packages/checkbox/test/validation.common.js | 2 +- packages/combo-box/test/interactions.common.js | 2 +- packages/combo-box/test/keyboard.common.js | 2 +- packages/dashboard/test/dashboard-keyboard.test.ts | 2 +- packages/date-picker/test/dropdown.common.js | 2 +- packages/field-base/test/virtual-keyboard-controller.test.js | 2 +- packages/multi-select-combo-box/test/readonly.common.js | 2 +- .../radio-group/test/radio-group-keyboard-navigation.common.js | 2 +- packages/radio-group/test/radio-group.common.js | 2 +- packages/radio-group/test/validation.common.js | 2 +- packages/select/test/validation.common.js | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/packages/checkbox-group/test/checkbox-group.common.js b/packages/checkbox-group/test/checkbox-group.common.js index 5738f44071..bd34c2f8f8 100644 --- a/packages/checkbox-group/test/checkbox-group.common.js +++ b/packages/checkbox-group/test/checkbox-group.common.js @@ -263,7 +263,7 @@ describe('vaadin-checkbox-group', () => { beforeEach(async () => { [firstGlobalFocusable, group] = fixtureSync( `
- + diff --git a/packages/checkbox-group/test/validation.common.js b/packages/checkbox-group/test/validation.common.js index 782fd24d4c..839dba007b 100644 --- a/packages/checkbox-group/test/validation.common.js +++ b/packages/checkbox-group/test/validation.common.js @@ -44,7 +44,7 @@ describe('validation', () => { beforeEach(async () => { [firstGlobalFocusable, group] = fixtureSync( `
- + diff --git a/packages/checkbox/test/validation.common.js b/packages/checkbox/test/validation.common.js index bda4027a4f..4167b16537 100644 --- a/packages/checkbox/test/validation.common.js +++ b/packages/checkbox/test/validation.common.js @@ -43,7 +43,7 @@ describe('validation', () => { checkbox = fixtureSync( `
- +
`, ).firstElementChild; await nextRender(); diff --git a/packages/combo-box/test/interactions.common.js b/packages/combo-box/test/interactions.common.js index 94bdc9e839..0cadb2a996 100644 --- a/packages/combo-box/test/interactions.common.js +++ b/packages/combo-box/test/interactions.common.js @@ -25,7 +25,7 @@ describe('interactions', () => { comboBox = fixtureSync( `
- +
`, ).firstElementChild; diff --git a/packages/combo-box/test/keyboard.common.js b/packages/combo-box/test/keyboard.common.js index 1d11c832ec..0204eef7e3 100644 --- a/packages/combo-box/test/keyboard.common.js +++ b/packages/combo-box/test/keyboard.common.js @@ -25,7 +25,7 @@ describe('keyboard', () => { [comboBox, lastGlobalFocusable] = fixtureSync( `
- +
`, ).children; diff --git a/packages/dashboard/test/dashboard-keyboard.test.ts b/packages/dashboard/test/dashboard-keyboard.test.ts index 6887a39155..62f8ac5b7c 100644 --- a/packages/dashboard/test/dashboard-keyboard.test.ts +++ b/packages/dashboard/test/dashboard-keyboard.test.ts @@ -36,7 +36,7 @@ describe('dashboard - keyboard interaction', () => { beforeEach(async () => { [firstGlobalFocusable, dashboard] = fixtureSync( `
- +
`, ).children as unknown as [HTMLElement, Dashboard]; diff --git a/packages/date-picker/test/dropdown.common.js b/packages/date-picker/test/dropdown.common.js index 162954cd23..805e311ed5 100644 --- a/packages/date-picker/test/dropdown.common.js +++ b/packages/date-picker/test/dropdown.common.js @@ -11,7 +11,7 @@ describe('dropdown', () => { datePicker = fixtureSync( `
- +
`, ).firstElementChild; await nextRender(); diff --git a/packages/field-base/test/virtual-keyboard-controller.test.js b/packages/field-base/test/virtual-keyboard-controller.test.js index 398ed47833..c10011ec83 100644 --- a/packages/field-base/test/virtual-keyboard-controller.test.js +++ b/packages/field-base/test/virtual-keyboard-controller.test.js @@ -40,7 +40,7 @@ describe('virtual-keyboard-controller', () => { element = fixtureSync( `
- +
`, ).firstElementChild; input = element.inputElement; diff --git a/packages/multi-select-combo-box/test/readonly.common.js b/packages/multi-select-combo-box/test/readonly.common.js index cc86d6eda4..22e74f8712 100644 --- a/packages/multi-select-combo-box/test/readonly.common.js +++ b/packages/multi-select-combo-box/test/readonly.common.js @@ -12,7 +12,7 @@ describe('readonly', () => { comboBox = fixtureSync( `
- +
`, ).firstElementChild; comboBox.items = ['apple', 'banana', 'lemon', 'orange']; diff --git a/packages/radio-group/test/radio-group-keyboard-navigation.common.js b/packages/radio-group/test/radio-group-keyboard-navigation.common.js index d33ad3282b..fe1fd64bc3 100644 --- a/packages/radio-group/test/radio-group-keyboard-navigation.common.js +++ b/packages/radio-group/test/radio-group-keyboard-navigation.common.js @@ -12,7 +12,7 @@ describe('keyboard navigation', () => { - +
`, ).firstElementChild; await nextFrame(); diff --git a/packages/radio-group/test/radio-group.common.js b/packages/radio-group/test/radio-group.common.js index a0bb3f0d7a..21c365f122 100644 --- a/packages/radio-group/test/radio-group.common.js +++ b/packages/radio-group/test/radio-group.common.js @@ -223,7 +223,7 @@ describe('radio-group', () => { beforeEach(async () => { [firstGlobalFocusable, group] = fixtureSync( `
- + diff --git a/packages/radio-group/test/validation.common.js b/packages/radio-group/test/validation.common.js index fa1650e452..46cc4505d9 100644 --- a/packages/radio-group/test/validation.common.js +++ b/packages/radio-group/test/validation.common.js @@ -49,7 +49,7 @@ describe('validation', () => { beforeEach(async () => { [firstGlobalFocusable, group] = fixtureSync( `
- + diff --git a/packages/select/test/validation.common.js b/packages/select/test/validation.common.js index 92aa867897..df6618a484 100644 --- a/packages/select/test/validation.common.js +++ b/packages/select/test/validation.common.js @@ -13,7 +13,7 @@ describe('validation', () => { select = fixtureSync( `
- +
`, ).firstElementChild; select.items = [