All Projects → Quramy → Angular Puppeteer Demo

Quramy / Angular Puppeteer Demo

A demonstration repository explains how to using Puppeteer in unit testing

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Angular Puppeteer Demo

Opensourcetest
OpenSourceTest由自动化测试-夜行者社区维护,提供的是更多地灵活性和可配置性
Stars: ✭ 37 (-37.29%)
Mutual labels:  automated-testing
Scrutiny
Randomly test state machines (such as your UI) by randomly navigating through transitions
Stars: ✭ 46 (-22.03%)
Mutual labels:  automated-testing
Vscode Ruby Test Adapter
A Ruby test adapter extension for the VS Code Test Explorer
Stars: ✭ 50 (-15.25%)
Mutual labels:  automated-testing
Puppeteer Sharp Extra
Plugin framework for PuppeteerSharp
Stars: ✭ 39 (-33.9%)
Mutual labels:  puppeteer
Chart To Aws
Microservice to generate screenshot from a webpage and upload it to a AWS S3 Bucket.
Stars: ✭ 43 (-27.12%)
Mutual labels:  puppeteer
Puppeteer Deep
Puppeteer, Headless Chrome;爬取《es6标准入门》、自动推文到掘金、站点性能分析;高级爬虫、自动化UI测试、性能分析;
Stars: ✭ 1,033 (+1650.85%)
Mutual labels:  puppeteer
Devtools Protocol Demos
Demos of the Chrome DevTools Protocol for various testing/automation techniques
Stars: ✭ 21 (-64.41%)
Mutual labels:  puppeteer
Capture Website
Capture screenshots of websites
Stars: ✭ 1,075 (+1722.03%)
Mutual labels:  puppeteer
Public Instagram
Tool to fetch Instagram's public content.
Stars: ✭ 43 (-27.12%)
Mutual labels:  puppeteer
Spix
UI test automation library for QtQuick/QML Apps
Stars: ✭ 48 (-18.64%)
Mutual labels:  automated-testing
Jsdom Screenshot
📸 Take screenshots of jsdom with puppeteer
Stars: ✭ 39 (-33.9%)
Mutual labels:  puppeteer
Puphpeteer
A Puppeteer bridge for PHP, supporting the entire API.
Stars: ✭ 1,014 (+1618.64%)
Mutual labels:  puppeteer
Dark Mode Screenshot
This Puppeteer script takes a 📷 screenshot of a webpage in 🌞 Light and 🌒 Dark Mode.
Stars: ✭ 47 (-20.34%)
Mutual labels:  puppeteer
Mibuy
小米商城抢购
Stars: ✭ 35 (-40.68%)
Mutual labels:  puppeteer
Daily Signin
网站签到脚本
Stars: ✭ 52 (-11.86%)
Mutual labels:  puppeteer
Drmine
Dr. Mine is a node script written to aid automatic detection of in-browser cryptojacking.
Stars: ✭ 35 (-40.68%)
Mutual labels:  puppeteer
Whalesong
Whalesong is an asyncio python library to manage WebApps remotely. Currently WhatsappWeb is implemented
Stars: ✭ 46 (-22.03%)
Mutual labels:  puppeteer
Nuxt Jest Puppeteer
🚀 Nuxt.js zero configuration tests, run with Jest and Puppetter
Stars: ✭ 57 (-3.39%)
Mutual labels:  puppeteer
Marvelheroes
Marvel Heroes
Stars: ✭ 54 (-8.47%)
Mutual labels:  puppeteer
Simplenikeaccountcreator
A simple nike account creator I made using puppeteer and request in node js
Stars: ✭ 47 (-20.34%)
Mutual labels:  puppeteer

Angular Puppeteer Demo CircleCI

😎 A demonstration repository explains how to replace from Karma to Puppeteer.

Running unit tests

Run npm test to execute the unit tests via Karma Puppeteer. And captures screenshot viewport after each spec. The captured images are here(by reg-suit).

How to replace test runner

In summary, I did:

  1. Create a webpack-dev-middleware instance using angualr-cli's karma plugin.
  2. Boot an Express server using thi middleware
  1. Expose Puppeteer's screenshot function and use it via afterEach.
  2. Let the Puppeteer's page object go to the html file served by the Express app.

If you want more details, please see puppeteer-test.js.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].