Skip to content

Commit 1b31664

Browse files
committed
Update cypress
1 parent 66bfbb3 commit 1b31664

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.github/workflows/cy-demo.yml

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# name: cypress tests
2+
# on: [push]
3+
# jobs:
4+
# cypress-run:
5+
# runs-on: ubuntu-latest
6+
# steps:
7+
# - name: Checkout
8+
# uses: actions/checkout@v2
9+
# - name: Install dependencies
10+
# run: npm install
11+
# - name: Update caniuse-lite database
12+
# run: npx browserslist@latest --update-db
13+
# - name: Run Cypress tests
14+
# run: npx cypress run
15+
116
name: cypress tests
217
on: [push]
318
jobs:
@@ -10,5 +25,9 @@ jobs:
1025
run: npm install
1126
- name: Update caniuse-lite database
1227
run: npx browserslist@latest --update-db
28+
- name: Install D-Bus
29+
run: sudo apt-get install -y dbus
30+
- name: Start D-Bus
31+
run: sudo service dbus start
1332
- name: Run Cypress tests
1433
run: npx cypress run

cypress/plugins/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@
1919
module.exports = (on, config) => {
2020
// `on` is used to hook into various events Cypress emits
2121
// `config` is the resolved Cypress config
22+
return config;
2223
};

0 commit comments

Comments
 (0)