mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 01:03:03 +08:00
test(angular): add timeout to avoid flaky value accessor test (#25522)
This commit is contained in:
@ -39,6 +39,9 @@ describe('Form', () => {
|
|||||||
cy.get('ion-input.required').invoke('prop', 'value', 'Some value');
|
cy.get('ion-input.required').invoke('prop', 'value', 'Some value');
|
||||||
testStatus('INVALID');
|
testStatus('INVALID');
|
||||||
|
|
||||||
|
// TODO: FW-1160 - Remove when v7 is released
|
||||||
|
cy.wait(300);
|
||||||
|
|
||||||
cy.get('ion-select').invoke('prop', 'value', 'nes');
|
cy.get('ion-select').invoke('prop', 'value', 'nes');
|
||||||
testStatus('INVALID');
|
testStatus('INVALID');
|
||||||
|
|
||||||
|
@ -150,6 +150,7 @@ export class Select implements ComponentInterface {
|
|||||||
@Watch('value')
|
@Watch('value')
|
||||||
valueChanged() {
|
valueChanged() {
|
||||||
this.emitStyle();
|
this.emitStyle();
|
||||||
|
// TODO: FW-1160 - Remove the `didInit` property when ionChange behavior is changed in v7.
|
||||||
if (this.didInit) {
|
if (this.didInit) {
|
||||||
this.ionChange.emit({
|
this.ionChange.emit({
|
||||||
value: this.value,
|
value: this.value,
|
||||||
|
Reference in New Issue
Block a user