Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix duplicated test #2092

Merged
merged 1 commit into from
Feb 27, 2023
Merged

Fix duplicated test #2092

merged 1 commit into from
Feb 27, 2023

Conversation

jnyrup
Copy link
Contributor

@jnyrup jnyrup commented Feb 24, 2023

ShouldWorkWithFakeClickingTargetBlankAndReNoopener and ShouldWorkWithFakeClickingTargetBlankAndRelNoopener are identical.
The first one should use rel=opener

Cross-checked with puppeteer source

@kblok
Copy link
Member

kblok commented Feb 24, 2023

Nice! Thank you!

@kblok
Copy link
Member

kblok commented Feb 24, 2023

It seems that the test didn't pass :(

ShouldWorkWithFakeClickingTargetBlankAndReNoopener and ShouldWorkWithFakeClickingTargetBlankAndRelNoopener were identical.
The first one should use 'rel=opener'

https://github.com/puppeteer/puppeteer/blob/415da9230066e5b399f60963b639bfbafdc8ec57/test/src/page.spec.ts#L296-L346
@jnyrup
Copy link
Contributor Author

jnyrup commented Feb 25, 2023

I missed that the assertions also changed in the corresponding puppeteer test.
https://github.com/puppeteer/puppeteer/blob/415da9230066e5b399f60963b639bfbafdc8ec57/test/src/page.spec.ts#L294

@kblok kblok merged commit 47f0a4c into hardkoded:master Feb 27, 2023
@jnyrup jnyrup deleted the PageEventsPopupTests branch February 27, 2023 13:33
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