Skip to content

Add Playwright Configuration and Connector for Acceptance Tests #34

Add Playwright Configuration and Connector for Acceptance Tests

Add Playwright Configuration and Connector for Acceptance Tests #34

Workflow file for this run

name: Puppeteer Mocking
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-18.04
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install required packages
run: |
sudo apt-get update
sudo apt-get install libgbm-dev libwoff1 libopus0 libwebp6 libwebpdemux2 libenchant1c2a libgudev-1.0-0 libsecret-1-0 libhyphen0 libgdk-pixbuf2.0-0 libegl1 libgles2 libevent-2.1-6 libnotify4 libxslt1.1
sudo apt-get install xvfb
sudo apt-get install php
- uses: actions/checkout@v2
with:
repository: codeceptjs/codeceptjs.git
path: codeceptjs
ref: '3.x'
- name: npm install
run: |
npm install
- name: start a server
run: "php -S 127.0.0.1:8000 -t codeceptjs/test/data/app &"
- name: run tests
run: "npx codeceptjs run -c test/codecept.puppeteer.conf.js --debug"