Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test/cypress #272

Open
wants to merge 84 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
9301d82
refactor: fe app panel
NikhilZelthy May 28, 2024
ceb75e4
build: v2.0.0
NikhilZelthy May 28, 2024
fb87904
test: init cypress
NikhilZelthy May 28, 2024
f9ef4ff
cypress locator addition
madhu-355 Jun 12, 2024
c893349
locators
madhu-355 Jun 12, 2024
eb508c2
locators
madhu-355 Jun 12, 2024
e5026a0
locators update
madhu-355 Jun 19, 2024
2143d9c
locators update 1
madhu-355 Jun 19, 2024
a17c89d
locator_updates
madhu-355 Jun 24, 2024
696b49a
build update
madhu-355 Jun 25, 2024
17f1b51
merge: main branch to test/cypress
madhu-355 Jun 25, 2024
d8e5f03
build: v2.0.1
madhu-355 Jun 25, 2024
e3b5587
locator updates
madhu-355 Jul 18, 2024
3355997
js update
madhu-355 Jul 18, 2024
c1eea8a
locator update
madhu-355 Jul 19, 2024
5a47663
locator updates
madhu-355 Jul 19, 2024
3a06d37
Merge branch 'main' of https://github.com/Healthlane-Technologies/Zan…
madhu-355 Jul 25, 2024
308cd3b
deleted unwanted-files
madhu-355 Jul 25, 2024
27d3e40
cypress tests added
madhu-355 Jul 26, 2024
86dfb04
moved cypress to root folder
madhu-355 Jul 26, 2024
6580aef
added github actions
madhu-355 Jul 29, 2024
8b0b9e2
test workflow
madhu-355 Jul 29, 2024
29c416b
test workflow update
madhu-355 Jul 29, 2024
cd050ca
test workflow update 1
madhu-355 Jul 29, 2024
065de30
test workflow update 2
madhu-355 Jul 29, 2024
1bb82d5
test workflow update 3
madhu-355 Jul 29, 2024
e14ffc7
test workflow update 4
madhu-355 Jul 29, 2024
c687dcf
test workflow update 5
madhu-355 Jul 29, 2024
194e90a
test workflow update 6
madhu-355 Jul 29, 2024
0a5bdc7
test workflow update 7
madhu-355 Jul 29, 2024
9e55d89
test workflow update 8
madhu-355 Jul 29, 2024
21a4675
Test Cypress Workflow
madhu-355 Jul 29, 2024
351252c
test workflow update 9
madhu-355 Jul 29, 2024
8c146d6
test workflow update 10
madhu-355 Jul 29, 2024
e52c5b0
test workflow update 11
madhu-355 Jul 29, 2024
bb1b8b9
Test Cypress Run
madhu-355 Jul 29, 2024
eec1d87
Added reports
madhu-355 Jul 29, 2024
be8fe36
Dev testing e2e
madhu-355 Jul 31, 2024
531f6e8
e2e test on dev
madhu-355 Jul 31, 2024
9f0dd94
e2e test on dev 1
madhu-355 Jul 31, 2024
cf5cfa3
e2e test on dev 2
madhu-355 Jul 31, 2024
3f0b796
e2e test on dev 3
madhu-355 Jul 31, 2024
96bb7b4
e2e test on dev 4
madhu-355 Jul 31, 2024
f84ddf6
e2e test on dev 6
madhu-355 Jul 31, 2024
ec7cd25
Report Addition
madhu-355 Jul 31, 2024
b22af22
Report Addition 1
madhu-355 Jul 31, 2024
7ce9441
Report Addition 2
madhu-355 Jul 31, 2024
5c219d7
Report Addition 3
madhu-355 Jul 31, 2024
7a90567
Report Addition 4
madhu-355 Jul 31, 2024
abf994c
Report Addition 5
madhu-355 Jul 31, 2024
143a037
Report Addition 6
madhu-355 Aug 1, 2024
8abb722
Report Addition 7
madhu-355 Aug 1, 2024
89c6938
Report Addition 8
madhu-355 Aug 1, 2024
6f9d3a2
Report Addition 9
madhu-355 Aug 1, 2024
4b20a9c
Report Addition 10
madhu-355 Aug 1, 2024
1f6087f
Report Addition 11
madhu-355 Aug 1, 2024
d41c6ce
e2e test
madhu-355 Aug 1, 2024
ff16e19
e2e test 1
madhu-355 Aug 1, 2024
d63b182
e2e test 2
madhu-355 Aug 1, 2024
cfbd568
e2e test 3
madhu-355 Aug 1, 2024
cf20af1
e2e test 4
madhu-355 Aug 1, 2024
9b284d2
e2e test 5
madhu-355 Aug 1, 2024
0f48bdd
e2e test 6
madhu-355 Aug 1, 2024
da958ab
e2e test 7
madhu-355 Aug 1, 2024
cea1d35
e2e test 8
madhu-355 Aug 1, 2024
a31be6a
e2e test 9
madhu-355 Aug 1, 2024
bb7ba11
e2e test 10
madhu-355 Aug 1, 2024
4572864
refactor: fe app panel
NikhilZelthy May 28, 2024
2fa346d
build: v2.0.0
NikhilZelthy May 28, 2024
68cf6b3
test: init cypress
NikhilZelthy May 28, 2024
9c93f4f
cypress locator addition
madhu-355 Jun 12, 2024
a390b8d
locators
madhu-355 Jun 12, 2024
5e40f00
locators
madhu-355 Jun 12, 2024
148af4c
merge with main
madhu-355 Aug 1, 2024
90e27c4
merged with main
madhu-355 Aug 1, 2024
cfdd76e
locators update 1
madhu-355 Jun 19, 2024
1d2c63f
locator_updates
madhu-355 Jun 24, 2024
fd5bcb4
build update
madhu-355 Jun 25, 2024
bac8d80
build: v2.0.1
madhu-355 Jun 25, 2024
53e218c
js update
madhu-355 Jul 18, 2024
c2fd8fc
merged with main
madhu-355 Aug 1, 2024
a35c153
merged with main 1
madhu-355 Aug 1, 2024
8021065
merged with main 2
madhu-355 Aug 1, 2024
5065d2d
New changes
madhu-355 Aug 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Report Addition 11
madhu-355 committed Aug 1, 2024
commit 1f6087f3587d1750864aea1031659b6b1e88d1b1
13 changes: 9 additions & 4 deletions .github/workflows/e2e-cypress-tests.yml
Original file line number Diff line number Diff line change
@@ -36,15 +36,20 @@ jobs:
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}

# Step 5: Generate Cucumber HTML Report
# Step 5: Debug - List JSON files
- name: List JSON files
run: ls -la e2e-tests/cypress/cucumber-json
working-directory: e2e-tests

# Step 6: Generate Cucumber HTML Report
- name: Generate Cucumber HTML Report
run: |
echo "Running cucumber-html-report.js"
ls -la
node cucumber-html-report.js
working-directory: e2e-tests

# Step 6: Upload Cypress screenshots on failure
# Step 7: Upload Cypress screenshots on failure
- name: Upload Cypress screenshots
uses: actions/upload-artifact@v3
if: failure()
@@ -53,15 +58,15 @@ jobs:
path: e2e-tests/cypress/screenshots
if-no-files-found: ignore

# Step 7: Upload Cypress videos
# Step 8: Upload Cypress videos
- name: Upload Cypress videos
uses: actions/upload-artifact@v3
with:
name: cypress-videos
path: e2e-tests/cypress/videos
if-no-files-found: ignore

# Step 8: Upload Cucumber HTML Report
# Step 9: Upload Cucumber HTML Report
- name: Upload Cucumber HTML Report
uses: actions/upload-artifact@v3
if: failure()
2 changes: 1 addition & 1 deletion e2e-tests/package.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@
"stepDefinitions": "cypress/e2e/stepDefinitions",
"cucumberJson": {
"generate": true,
"outputFolder": "e2e-tests/cypress/cucumber-json",
"outputFolder": "cypress/cucumber-json",
"filePrefix": "",
"fileSuffix": ".cucumber"
}
2 changes: 1 addition & 1 deletion frontend/src/components/Modal/ErrorMessageModal/index.jsx
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ export default function ErrorMessageModal({
Error
</Dialog.Title>
<div className="mb-[32px] w-full px-6">
<div data-cy="error_message" className="w-full text-center text-[#808187]">
<div data-cy="error_message" className="w-full text-center text-[#808187]">
{errorMessage}
</div>
</div>