Skip to content

Commit b3c0528

Browse files
authored
test(angular): add timeout to avoid flaky value accessor test (#25522)
1 parent f5eec13 commit b3c0528

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

angular/test/test-app/e2e/src/form.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ describe('Form', () => {
3939
cy.get('ion-input.required').invoke('prop', 'value', 'Some value');
4040
testStatus('INVALID');
4141

42+
// TODO: FW-1160 - Remove when v7 is released
43+
cy.wait(300);
44+
4245
cy.get('ion-select').invoke('prop', 'value', 'nes');
4346
testStatus('INVALID');
4447

core/src/components/select/select.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export class Select implements ComponentInterface {
150150
@Watch('value')
151151
valueChanged() {
152152
this.emitStyle();
153+
// TODO: FW-1160 - Remove the `didInit` property when ionChange behavior is changed in v7.
153154
if (this.didInit) {
154155
this.ionChange.emit({
155156
value: this.value,

0 commit comments

Comments
 (0)