Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/appium_Android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,18 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: write

env:
CI: true
# Force terminal colors. @see https://www.npmjs.com/package/colors
FORCE_COLOR: 1
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
GH_PAT: ${{ github.token }}
TESTOMATIO: ${{ secrets.TESTOMATIO }}

jobs:
appium:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: write

env:
CI: true
# Force terminal colors. @see https://www.npmjs.com/package/colors
FORCE_COLOR: 1
GH_PAT: ${{ github.token }}
TESTOMATIO: ${{ secrets.TESTOMATIO }}

jobs:
build:
Expand Down Expand Up @@ -69,6 +75,6 @@ jobs:
- name: run webkit tests
run: 'BROWSER=webkit node ./bin/codecept.js run -c test/acceptance/codecept.Playwright.js --grep @Playwright --debug'
- name: run chromium unit tests
run: ./node_modules/.bin/mocha test/helper/Playwright_test.js --timeout 15000
run: ./node_modules/.bin/mocha test/helper/Playwright_test.js --timeout 15000 --reporter @testomatio/reporter/mocha
- name: Stop mock server
run: npm run mock-server:stop
6 changes: 6 additions & 0 deletions .github/workflows/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: write

env:
CI: true
# Force terminal colors. @see https://www.npmjs.com/package/colors
FORCE_COLOR: 1
GH_PAT: ${{ github.token }}
TESTOMATIO: ${{ secrets.TESTOMATIO }}

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/puppeteer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: write

env:
CI: true
# Force terminal colors. @see https://www.npmjs.com/package/colors
FORCE_COLOR: 1
GH_PAT: ${{ github.token }}
TESTOMATIO: ${{ secrets.TESTOMATIO }}

jobs:
build:
Expand Down Expand Up @@ -55,6 +61,6 @@ jobs:
- name: run tests
run: './bin/codecept.js run-workers 2 -c test/acceptance/codecept.Puppeteer.js --grep @Puppeteer --debug'
- name: run unit tests
run: ./node_modules/.bin/mocha test/helper/Puppeteer_test.js
run: ./node_modules/.bin/mocha test/helper/Puppeteer_test.js --reporter @testomatio/reporter/mocha
- name: Stop mock server
run: npm run mock-server:stop
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: write

env:
GH_PAT: ${{ github.token }}
TESTOMATIO: ${{ secrets.TESTOMATIO }}

jobs:
unit-tests:
name: Unit tests
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/webdriver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: write

env:
CI: true
# Force terminal colors. @see https://www.npmjs.com/package/colors
FORCE_COLOR: 1
GH_PAT: ${{ github.token }}
TESTOMATIO: ${{ secrets.TESTOMATIO }}

jobs:
build:
Expand Down Expand Up @@ -55,7 +61,6 @@ jobs:
run: './bin/codecept.js check -c test/acceptance/codecept.WebDriver.js'
timeout-minutes: 2
env:
GH_PAT: ${{ github.token }}
SELENIUM_HOST: localhost
SELENIUM_PORT: 4444
- name: run unit tests
Expand Down