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

test: extract tests for webkit provisional page #609

Merged
merged 1 commit into from Jan 23, 2020
Merged

test: extract tests for webkit provisional page #609

merged 1 commit into from Jan 23, 2020

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Jan 23, 2020

No description provided.

@dgozman dgozman requested a review from yury-s January 23, 2020 22:50
@@ -181,6 +181,9 @@ module.exports.describe = ({testRunner, product, playwrightPath}) => {
testRunner.loadTests(require('./features/permissions.spec.js'), testOptions);
}

if (WEBKIT) {
testRunner.loadTests(require('./webkit/provisional.spec.js'), testOptions);
Copy link
Contributor

Choose a reason for hiding this comment

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

I like that we extracted these into their own file. Is there any reason we cant run them for other browsers? While we don't do provisional stuff in the protocol for chromium, it still often had similar bugs related to process swapping.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Chromium does not resolve most protocol promises during navigation, and that's unlikely to change. Basically, we are not testing API here (because we cannot make it work everywhere), but specifically webkit implementation.

Copy link
Contributor

Choose a reason for hiding this comment

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

fair.

Copy link
Contributor

Choose a reason for hiding this comment

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

So we should eventually upstream these into protocol tests in webkit itself.

@dgozman dgozman merged commit c1cca19 into microsoft:master Jan 23, 2020
@dgozman dgozman deleted the webkit-only-tests branch January 23, 2020 23:32
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.

None yet

2 participants