fix(overlays): presenting an overlay does not create nested elements (#26154)

Resolves #26117
This commit is contained in:
Sean Perkins
2022-11-02 16:57:22 -04:00
committed by GitHub
parent 1f7fc8f05c
commit bb005956ea
3 changed files with 58 additions and 8 deletions

View File

@ -17,6 +17,7 @@ test.describe('datetime-button: switching to correct view', () => {
expect(datetime).toHaveJSProperty('presentation', 'date-time');
await page.locator('#date-button').click();
await page.waitForChanges();
expect(datetime).toHaveJSProperty('presentation', 'date');
});
@ -25,6 +26,7 @@ test.describe('datetime-button: switching to correct view', () => {
expect(datetime).toHaveJSProperty('presentation', 'date-time');
await page.locator('#time-button').click();
await page.waitForChanges();
expect(datetime).toHaveJSProperty('presentation', 'time');
});