File tree Expand file tree Collapse file tree 6 files changed +52
-32
lines changed Expand file tree Collapse file tree 6 files changed +52
-32
lines changed Original file line number Diff line number Diff line change 1
- sauce_connect : true
1
+ providers :
2
+ - airtap-sauce
3
+
2
4
browsers :
3
5
- name : chrome
4
- version : latest
5
- platform : Windows 10
6
- - name : internet explorer
7
- version : latest
8
- platform : Windows 10
6
+ - name : ie
9
7
- name : firefox
10
- version : latest
11
- platform : Windows 10
12
8
- name : safari
13
- version : latest
14
- platform : Mac 10.13
15
- - name : microsoftedge
16
- version : latest
17
- platform : Windows 10
9
+ - name : edge
10
+
11
+ presets :
12
+ local :
13
+ providers :
14
+ - airtap-playwright
15
+ browsers :
16
+ - name : chromium
17
+ - name : firefox
18
+ - name : webkit
Original file line number Diff line number Diff line change 1
- name : GitHub Actions CI
1
+ name : Node.js
2
2
3
3
on : [push, pull_request]
4
4
Original file line number Diff line number Diff line change
1
+ name : Sauce Labs
2
+ on : push
3
+ jobs :
4
+ test :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - name : Checkout
8
+ uses : actions/checkout@v1
9
+ - name : Set up node
10
+ uses : actions/setup-node@v1
11
+ with :
12
+ node-version : 14
13
+ - name : Install
14
+ run : npm install
15
+ env :
16
+ # Download Sauce Connect binary now instead of on first run
17
+ SAUCE_CONNECT_DOWNLOAD_ON_INSTALL : true
18
+ - name : Add host
19
+ run : echo "127.0.0.1 airtap.local" | sudo tee -a /etc/hosts
20
+ - name : Verify Sauce Connect
21
+ run : ./node_modules/sauce-connect-launcher/sc/sc-4.6.2-linux/bin/sc --doctor || echo Bad
22
+ env :
23
+ SAUCE_USERNAME : ${{ secrets.SAUCE_USERNAME }}
24
+ SAUCE_ACCESS_KEY : ${{ secrets.SAUCE_ACCESS_KEY }}
25
+ - name : Test
26
+ run : npm run test-browsers
27
+ env :
28
+ SAUCE_USERNAME : ${{ secrets.SAUCE_USERNAME }}
29
+ SAUCE_ACCESS_KEY : ${{ secrets.SAUCE_ACCESS_KEY }}
30
+ DEBUG : airtap*
31
+ DEBUG_COLORS : true
Original file line number Diff line number Diff line change 8
8
.babelrc
9
9
.travis.yml
10
10
.nyc_output
11
+ .github
11
12
coverage
12
13
doc /
Original file line number Diff line number Diff line change @@ -5,18 +5,3 @@ notifications:
5
5
6
6
import :
7
7
- nodejs/ci-config-travis:lts/gte-6.yml
8
-
9
- env :
10
- - CMD=test
11
-
12
- jobs :
13
- fast_finish : true
14
- include :
15
- - node_js : lts/*
16
- env : CMD=test-browsers
17
- addons :
18
- sauce_connect : true
19
- hosts :
20
- - airtap.local
21
-
22
- script : npm run $CMD
Original file line number Diff line number Diff line change 16
16
"@babel/core" : " ^7.2.0" ,
17
17
"@babel/polyfill" : " ^7.0.0" ,
18
18
"@babel/preset-env" : " ^7.2.0" ,
19
- "airtap" : " 0.0.9" ,
19
+ "airtap" : " ^4.0.1" ,
20
+ "airtap-playwright" : " ^1.0.1" ,
21
+ "airtap-sauce" : " ^1.1.0" ,
20
22
"assert" : " ^1.4.0" ,
21
23
"bl" : " ^2.0.0" ,
22
24
"deep-strict-equal" : " ^0.2.0" ,
36
38
"scripts" : {
37
39
"test" : " tap -J --no-esm test/parallel/*.js test/ours/*.js" ,
38
40
"ci" : " TAP=1 tap --no-esm test/parallel/*.js test/ours/*.js | tee test.tap" ,
39
- "test-browsers" : " airtap --sauce-connect --loopback airtap.local -- test/browser.js" ,
40
- "test-browser -local" : " airtap --open -- local -- test/browser.js" ,
41
+ "test-browsers" : " airtap test/browser.js" ,
42
+ "test-browsers -local" : " airtap -p local test/browser.js" ,
41
43
"cover" : " nyc npm test" ,
42
44
"report" : " nyc report --reporter=lcov" ,
43
45
"update-browser-errors" : " babel -o errors-browser.js errors.js"
You can’t perform that action at this time.
0 commit comments