Skip to content

Fix/selenium - #461

Merged
flashdesignory merged 18 commits into
WebKit:mainfrom
flashdesignory:fix/selenium
Dec 9, 2024
Merged

flashdesignory merged 18 commits into
WebKit:mainfrom
flashdesignory:fix/selenium

Conversation

@flashdesignory

@flashdesignory flashdesignory commented Dec 2, 2024 •

Copy link
Copy Markdown
Contributor

Testing a potential fix for #460

@flashdesignory
flashdesignory marked this pull request as ready for review December 2, 2024 18:07
@camillobruni

Copy link
Copy Markdown
Contributor

I'll have a look tomorrow.
I did something similar with JetStream, there is sometimes a race-condition when the selenium code is execute vs the ready-events were sent.

See WebKit/JetStream#11

@flashdesignory

Copy link
Copy Markdown
Contributor Author

I'll have a look tomorrow. I did something similar with JetStream, there is sometimes a race-condition when the selenium code is execute vs the ready-events were sent.

See WebKit/JetStream#11

Yeah I noticed the race condition happening, intermittently.
Increasing any timeouts didn't work for me consistently, but using the global flags with a check-in function seems to work locally and in CI consistently now 🤞

Comment thread tests/index.html Resolved
Comment thread tests/run.mjs Resolved

@rniwa rniwa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks sane to me.

@julienw julienw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, I like this version much more than the previous one :-)

I just left 2 optional comments for correctness, but otherwise this looks good to me

Comment thread tests/run.mjs Resolved
Comment thread tests/index.html Resolved
flashdesignory and others added 2 commits December 9, 2024 07:56
Co-authored-by: Julien Wajsberg <felash@gmail.com>
@flashdesignory
flashdesignory merged commit e2e3c49 into WebKit:main Dec 9, 2024
@flashdesignory
flashdesignory deleted the fix/selenium branch December 9, 2024 13:05
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.

4 participants