Skip to content
This repository has been archived by the owner on Dec 25, 2021. It is now read-only.

Headless test using puppeteer #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

samarpanda
Copy link

@samarpanda samarpanda commented Jan 25, 2019

Headless test using puppeteer

Created a basic node server which serves an index.html file. First-Input-delay.js file added to its head. Puppeteer loads this file & triggers mousedown event.

Todos

  • Puppeteer & node server configured to test user generated events
  • Travis configured to trigger the test for every change
  • Handle click & touchstart
  • Handle keydown & mousedown

@philipwalton Would like to get a first round of feedback on this. So, i can get this PR ready by next week.

Need some help to configure 3 point of todos.

Copy link
Contributor

@philipwalton philipwalton left a comment

Choose a reason for hiding this comment

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

Thanks, I think this looks good so far. I left a few comments inline.

.eslintrc Show resolved Hide resolved
tests/puppeteer.js Outdated Show resolved Hide resolved
@samarpanda samarpanda changed the title [WIP] Adding a headless test using puppeteer Headless test added using puppeteer Mar 4, 2019
@samarpanda
Copy link
Author

@philipwalton Could you please review my PR?

@samarpanda samarpanda changed the title Headless test added using puppeteer Headless test using puppeteer Mar 5, 2019
pupeteer test added

updated nodejs version

travis build status tag added
@samarpanda
Copy link
Author

@philipwalton Final review pending on this PR. Please pick this when you are available.

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

Successfully merging this pull request may close these issues.

2 participants