Skip to content

Commit 215fd0e

Browse files
committed
fix(kol-select): update playwright test (#7758)
1 parent c008d7d commit 215fd0e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/components/src/components/select/controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,4 @@ export class SelectController extends InputIconController implements SelectWatch
126126
this.validateRows(this.component._rows);
127127
this.validateValue(this.component._value);
128128
}
129-
}
129+
}

packages/components/src/components/select/select.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import type { FillAction } from '../../e2e/utils/FillAction';
55
import type { Page } from '@playwright/test';
66

77
const COMPONENT_NAME = 'kol-select';
8-
const TEST_VALUE = ['E'];
8+
const TEST_VALUE = 'E';
99
const TEST_LABEL = 'East';
1010
const OPTIONS = [
1111
{ label: 'North', value: 'N' },

packages/components/src/components/select/shadow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,4 +379,4 @@ export class KolSelect implements SelectAPI, FocusableElement {
379379
this.controller.onFacade.onChange(event, this._value as StencilUnknown);
380380
}
381381
}
382-
}
382+
}

packages/components/src/schema/components/select.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ type OptionalStates = {
6868
export type SelectProps = Generic.Element.Members<RequiredProps, OptionalProps>;
6969
export type SelectStates = Generic.Element.Members<RequiredStates, OptionalStates>;
7070
export type SelectWatches = Generic.Element.Watchers<RequiredProps, OptionalProps>;
71-
export type SelectAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;
71+
export type SelectAPI = Generic.Element.ComponentApi<RequiredProps, OptionalProps, RequiredStates, OptionalStates>;

packages/samples/react/src/components/select/partials/cases.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const SelectCases = forwardRef<HTMLKolSelectElement, Components.KolSelect
7777
<KolSelect {...props} _options={SALUTATION_OPTIONS} _label="With access key" _accessKey="c" />
7878
<KolSelect {...props} _options={SALUTATION_OPTIONS} _label="With short key" _shortKey="s" />
7979
<KolSelect {...props} _options={groupedOptionsArray} _label="With grouped by first letter" _value="Albanien" />
80-
<KolSelect {...props} _options={groupedOptionsArray} _label="With grouped by first letter (multiple)" _multiple _value="Albanien" />
80+
<KolSelect {...props} _options={groupedOptionsArray} _label="With grouped by first letter (multiple)" _multiple _value={['Albanien']} />
8181
</div>
8282
);
8383
});

0 commit comments

Comments
 (0)