Skip to content

Conversation

web-padawan
Copy link
Member

Description

Updated vaadin-confirm-dialog snapshot tests to also cover overlay shadow DOM.

Type of change

  • Test

it('overlay', async () => {
await expect(overlay).dom.to.equalSnapshot(SNAPSHOT_CONFIG);
it('shadow', async () => {
await expect(dialog).shadowDom.to.equalSnapshot(SNAPSHOT_CONFIG);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now when the overlay is no longer teleported, checking dialog shadow DOM makes more sense here.

Copy link

sonarqubecloud bot commented Aug 8, 2025

@web-padawan web-padawan removed the request for review from sissbruecker August 8, 2025 10:00
@web-padawan web-padawan merged commit d6594af into main Aug 8, 2025
9 checks passed
@web-padawan web-padawan deleted the test/confirm-dialog-extend-snapshots branch August 8, 2025 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants