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
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 toHTTPRequest
- which was causing test to fail