Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
1
 
 
2
 
 
3
 
 
4
 
 
5
 
 
6
 
 
 
 
 
 
 
 
 
 
 
 

test-website-performance-with-puppeteer

Code used in article https://michaljanaszek.com/blog/test-website-performance-with-puppeteer

Build Setup

Build vue hn applictaion

Clone https://github.com/Everettss/vue-hackernews-2.0 and inside that project run:

# install dependencies
npm install

# build for production
npm run build

# serve in production mode at `localhost:8080`
npm start

This fork of vue-hackernews-2.0 enables ServiceWorker on localhost and adds console.timeStamp in src/views/ItemList.vue

Run tests

# install dependencies
npm install

If you have running vue-hackernews-2.0 on localhost:8080 run test (for example):

# run Navigation Timing API test
# https://michaljanaszek.com/blog/test-website-performance-with-puppeteer#navigationTimingAPI
node 1/index.js

Releases

No releases published

Packages

No packages published