jamesgeer / conf-twitter-bot

A Twitter Bot to post about academic papers
MIT License
4 stars 0 forks source link

Scraper tests #111

Closed EdwardChristian closed 1 year ago

EdwardChristian commented 1 year ago

Writing scraper tests for the Playwright paper scraping feature.

EdwardChristian commented 1 year ago

https://www.scrapingbee.com/webscraping-questions/playwright/how-to-load-local-files-in-playwright/

this might be a way of testing the scraping in Playwright, with jest, but it is currently extremely slow and it impedes testing..

EdwardChristian commented 1 year ago

Current bug with Jest, and workaround here: https://stackoverflow.com/questions/55272295/using-jest-with-puppeteer-evaluation-failed-referenceerror-cov-4kq3tptqc-is

https://github.com/istanbuljs/nyc/issues/514