Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Commit dba7dc3

Browse files
Feat: Added smoke test (#206)
### Description Added smoke test that runs per deployment. ### Other changes None ### Tested Push commits and wait until the Vercel deployment is done, then it triggers the smoke test run. ### Related issues - Fixes #issue number here ### Checklist before requesting a review - [x] I have performed a self-review of my own code - [ ] I have added tests that prove my fix is effective or that my feature works - [x] The PR title follows the [conventions](https://www.notion.so/Git-Branching-and-Commit-Message-Conventions-18f66f7d06444cfcbac5725ffbc7c04a?pvs=4#9355048863c549ef92fe210a8a1298aa) - [ ] I have run the [regression tests](https://www.notion.so/Mento-Web-App-Regression-Tests-37bd43a7da8d4e38b65993320a33d557)
1 parent 30e5a24 commit dba7dc3

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

.github/pull_request_template.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ _An explanation of how the changes were tested or an explanation as to why they
1818
### Checklist before requesting a review
1919

2020
- [ ] I have performed a self-review of my own code
21-
- [ ] I have added tests that prove my fix is effective or that my feature works
21+
- [ ] I have added unit-tests that prove my fix is effective or that my feature works
2222
- [ ] The PR title follows the [conventions](https://www.notion.so/Git-Branching-and-Commit-Message-Conventions-18f66f7d06444cfcbac5725ffbc7c04a?pvs=4#9355048863c549ef92fe210a8a1298aa)
2323
- [ ] I have run the [regression tests](https://www.notion.so/Mento-Web-App-Regression-Tests-37bd43a7da8d4e38b65993320a33d557)
24+
- [ ] The Smoke Test Run is passed ([how to check the Smoke Test Run job result](https://www.notion.so/mentolabs/How-to-analyze-the-Smoke-Test-Run-1b6a2148cc5c80ec8834f2dd97491680))
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
name: ci
1+
name: PR Check
22

33
on:
4-
# Triggers the workflow on push or pull request events but only for the main branch
54
push:
65
branches: [main, dev]
76
pull_request:
@@ -95,7 +94,7 @@ jobs:
9594
- name: lint
9695
run: yarn run lint
9796

98-
test:
97+
unit-tests:
9998
runs-on: ubuntu-latest
10099
needs: [build]
101100
steps:

.github/workflows/smoke-test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Smoke Test Run
2+
on:
3+
deployment_status:
4+
5+
jobs:
6+
smoke-test:
7+
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
8+
uses: mento-protocol/mento-automation-tests/.github/workflows/smoke-mento-web-test.yml@main
9+
with:
10+
CUSTOM_URL: ${{ github.event.deployment_status.environment_url }}
11+
IS_MAINNET: "false"
12+
secrets:
13+
SEED_PHRASE: ${{ secrets.SEED_PHRASE }}
14+
WALLET_PASSWORD: ${{ secrets.WALLET_PASSWORD }}
15+
TESTOMAT_API_KEY: ${{ secrets.TESTOMAT_API_KEY }}

0 commit comments

Comments
 (0)