Skip to content

Commit

Permalink
Adjust for known bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mapsandapps committed Nov 15, 2023
1 parent 6d1ea27 commit df843b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ import { Injectable } from '@angular/core';
import { OverlayBaseController } from '@ionic/angular/common';
import type { PickerOptions } from '@ionic/core/components';
import { pickerController } from '@ionic/core/components';
import { defineCustomElement } from '@ionic/core/components/ion-picker.js';

@Injectable({
providedIn: 'root',
})
export class PickerController extends OverlayBaseController<PickerOptions, HTMLIonPickerElement> {
constructor() {
super(pickerController);

// TODO: FW-5415 may remove the need for this
defineCustomElement();
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
describe('Overlay Controllers', () => {
beforeEach(() => {
cy.visit('/standalone/overlay-controllers');
})
});

it('should present a modal', () => {
cy.get('button#open-modal').click();
Expand All @@ -20,4 +20,4 @@ describe('Overlay Controllers', () => {

cy.get('ion-popover app-dialog-content').should('be.visible');
});
})
});

0 comments on commit df843b6

Please sign in to comment.