Skip to content

Add Playwright Configuration and Connector for Acceptance Tests #31

Add Playwright Configuration and Connector for Acceptance Tests

Add Playwright Configuration and Connector for Acceptance Tests #31

Workflow file for this run

name: WebDriver 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
- uses: actions/checkout@v2
with:
repository: codeceptjs/codeceptjs.git
path: codeceptjs
ref: '3.x'
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: docker run -d --net=host selenium/standalone-chrome
- name: install required packages
run: |
sudo apt-get update
sudo apt-get install php
- name: npm install
run: |
npm install
- name: start a server
run: "php -S 127.0.0.1:8000 -t codeceptjs/test/data/app &"
- run: sleep 5
- name: tests
run: "npx codeceptjs run -c test/codecept.webdriver.conf.js --grep @WebDriver --debug"