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

Compability with different versions of puppeteer and playwright #25

Merged
merged 15 commits into from
Apr 16, 2021

Conversation

lukaszfiszer
Copy link
Member

@lukaszfiszer lukaszfiszer commented Apr 12, 2021

Run CI tests on different versions of puppeteer and playwright - achieved with new build matrix and setting TEST_LIBRARY env name that is then read in integration test

To make test pass I needed to create mirrors of interfaces from puppeteer's and playwright's packages, so that we do not need to import them anymore. This way changes in those libraries does not affect mockiavelli as long as the shape of the interfaces match. For example Puppeteer's Request was recently renamed to HTTPRequest - which was causing test to fail

@lukaszfiszer lukaszfiszer changed the title Compability with different versions of puppeteer Compability with different versions of puppeteer and playwright Apr 12, 2021
@lukaszfiszer lukaszfiszer marked this pull request as ready for review April 15, 2021 15:10
@lukaszfiszer lukaszfiszer merged commit 34e614d into master Apr 16, 2021
@lukaszfiszer lukaszfiszer deleted the new-matrix branch April 16, 2021 10:19
@github-actions
Copy link

🎉 This PR is included in version 1.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants