Skip to content

Commit

Permalink
Merge pull request #8 from Mahbub091/mahbub
Browse files Browse the repository at this point in the history
Mahbub
  • Loading branch information
mahbub2710 committed Mar 25, 2023
2 parents b59f543 + 80c5aab commit f704c6b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,5 @@ jobs:
node-version: 18.x
- run: npm install
name: Install dependencies
- run: npm run test
name: Running E2E tests
- uses: actions/upload-artifact@v1
if: failure()
with:
name: logs
path: logs
- run: npm run e2e:script
name: Running E2E tests
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,5 @@ dist
# TernJS port file
.tern-port

allure-results
allure-report
allure-results/*
allure-report/*
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
"wdio": "wdio run ./wdio.conf.js",
"e2e:script": "wdio ./wdio.conf.js --suite end2end",
"allure:result": "npx allure generate --clean allure-results && npx allure open",
"clean:results": "if exist allure-results rmdir /s/q allure-results && mkdir allure-results",
"clean:report": "if exist allure-report rmdir /s/q allure-report && mkdir allure-report",
"pretest": "npm run clean:results && npm run clean:report",
"clean:result": "if exist allure-results rmdir /s/q allure-results && mkdir allure-results",
"pretest": "npm run clean:result",
"posttest": "npm run allure:result",
"test": "npm run e2e:script || npm run posttest"
},
Expand Down

0 comments on commit f704c6b

Please sign in to comment.