File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Playwright SDK Wrapper
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - main
6
+ workflow_dispatch :
7
+
8
+ env :
9
+ LT_USERNAME : ${{ secrets.LT_USERNAME }}
10
+ LT_ACCESS_KEY : ${{ secrets.LT_ACCESS_KEY }}
11
+ PROJECT_TOKEN : ${{ secrets.PROJECT_TOKEN }}
12
+ LT_SDK_DEBUG : true
13
+ SMARTUI_DEBUG : true
14
+
15
+ jobs :
16
+ smartui-playwright-sdk :
17
+ name : Execute playwright sdk build
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - name : Checkout repo
21
+ uses : actions/checkout@v2
22
+
23
+ - name : Install Dependencies and clean directory
24
+ run : |
25
+ npm i @lambdatest/smartui-cli @lambdatest/playwright-driver playwright
26
+
27
+
28
+ - name : Execute playwright wrapper
29
+ run : |
30
+ npx smartui --version
31
+ npx smartui config:create smartui-web.json
32
+ npx smartui exec node sdk/playwrightCloud.js --config smartui-web.json
You can’t perform that action at this time.
0 commit comments