Skip to content

Conversation

@christian-byrne
Copy link
Contributor

@christian-byrne christian-byrne commented Jan 24, 2025

This PR adds a test on the issue fixed in Comfy-Org/ComfyUI_frontend#2318 by creating an unsaved workflow and then closing the page with runBeforeUnload option enabled.

@christian-byrne christian-byrne changed the title Add e2e test on beforeunload bug [Test] Add e2e test on beforeunload bug Jan 24, 2025
@christian-byrne christian-byrne marked this pull request as ready for review January 26, 2025 12:21
@christian-byrne christian-byrne requested review from a team as code owners January 26, 2025 12:21
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. bug Something isn't working labels Jan 26, 2025
@christian-byrne christian-byrne removed the bug Something isn't working label Jan 26, 2025
@christian-byrne christian-byrne marked this pull request as draft January 26, 2025 12:38
@christian-byrne christian-byrne force-pushed the test/beforeunload-confirm branch from db19aed to d5b7192 Compare February 14, 2025 12:09
@christian-byrne christian-byrne marked this pull request as ready for review February 14, 2025 12:10
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. size:L This PR changes 100-499 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. size:M This PR changes 30-99 lines, ignoring generated files. labels Feb 14, 2025
@webfiltered
Copy link
Contributor

@christian-byrne FYI - put my original ideas on this here.

Comment on lines 5 to 9
// Configure installation tests to run serially
test.describe.configure({ mode: 'serial' });

// Use test.describe.serial to ensure tests run in order
test.describe.serial('Install Wizard', () => {
Copy link
Contributor

@webfiltered webfiltered Feb 14, 2025

Choose a reason for hiding this comment

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

Also FYI! Tests are globally serial - via workers: 1 in playwright.config.ts.

@christian-byrne christian-byrne force-pushed the test/beforeunload-confirm branch from 7423ab9 to 1cc21ab Compare February 14, 2025 13:15
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Feb 14, 2025
@christian-byrne
Copy link
Contributor Author

Requires #901

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants