Skip to content

Commit 995241b

Browse files
author
Rahul Raj
committed
updated evidences
1 parent d28e986 commit 995241b

4 files changed

Lines changed: 140 additions & 6 deletions

File tree

support/assurance/qualityfolio/qualityfolio.md

Lines changed: 67 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,16 +1874,76 @@ WHERE EXISTS (SELECT 1 FROM qf_github_commits LIMIT 1) AND :serve_image IS NULL;
18741874
-- Details Tab Content
18751875
SELECT 'text' AS component, $page_description AS contents_md WHERE :tab = 'Details';
18761876

1877+
-- Test Case Attributes styled like Home Page Metrics
1878+
SELECT 'html' AS component, '
1879+
<style>
1880+
#metrics-cards .card .card-body {
1881+
display: flex !important;
1882+
flex-direction: column !important;
1883+
align-items: center !important;
1884+
justify-content: center !important;
1885+
text-align: center !important;
1886+
padding: 20px 16px !important;
1887+
position: relative !important;
1888+
}
1889+
#metrics-cards .card .card-body .icon {
1890+
order: -1 !important;
1891+
margin: 0 0 10px 0 !important;
1892+
position: static !important;
1893+
width: 42px !important;
1894+
height: 42px !important;
1895+
border-radius: 10px !important;
1896+
display: flex !important;
1897+
align-items: center !important;
1898+
justify-content: center !important;
1899+
}
1900+
#metrics-cards .card .card-body .icon svg {
1901+
width: 22px !important;
1902+
height: 22px !important;
1903+
}
1904+
#metrics-cards .card {
1905+
border-left: none !important;
1906+
border: 1px solid #e9ecef !important;
1907+
border-radius: 10px !important;
1908+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
1909+
transition: box-shadow 0.2s ease, transform 0.2s ease !important;
1910+
}
1911+
#metrics-cards .card:hover {
1912+
box-shadow: 0 4px 16px rgba(22, 22, 22, 0.15) !important;
1913+
transform: translateY(-2px) !important;
1914+
background: linear-gradient(90deg, #d8cfeeff 0%, #aeaec0ff 100%) !important;
1915+
border-color: transparent !important;
1916+
}
1917+
#metrics-cards .card:hover .card-body h1,
1918+
#metrics-cards .card:hover .card-body h2 {
1919+
color: #ffffff !important;
1920+
}
1921+
#metrics-cards .card .card-body h2 {
1922+
font-size: 16px !important;
1923+
font-weight: 600 !important;
1924+
color: #374151 !important;
1925+
margin: 4px 0 !important;
1926+
}
1927+
#metrics-cards .card .card-body h1 {
1928+
font-size: 22px !important;
1929+
font-weight: 700 !important;
1930+
color: #1f2937 !important;
1931+
margin: 4px 0 !important;
1932+
}
1933+
</style>
1934+
<div id="metrics-cards" style="margin-bottom: 24px;">' AS html WHERE :tab = 'Details';
1935+
18771936
SELECT 'card' AS component,
1878-
'Test Case Attributes' AS title,
18791937
5 AS columns
18801938
WHERE :tab = 'Details';
18811939

1882-
SELECT 'Priority' AS title, priority AS description, 'flag' AS icon FROM qf_role_with_case WHERE testcaseid = $testcaseid AND project_name = $project_name AND :tab = 'Details';
1883-
SELECT 'Test Type' AS title, test_type AS description, 'category' AS icon FROM qf_role_with_case WHERE testcaseid = $testcaseid AND project_name = $project_name AND :tab = 'Details';
1884-
SELECT 'Scenario Type' AS title, scenario_type AS description, 'hierarchy' AS icon FROM qf_role_with_case WHERE testcaseid = $testcaseid AND project_name = $project_name AND :tab = 'Details';
1885-
SELECT 'Execution Type' AS title, execution_type AS description, 'settings' AS icon FROM qf_role_with_case WHERE testcaseid = $testcaseid AND project_name = $project_name AND :tab = 'Details';
1886-
SELECT 'Tags' AS title, tags AS description, 'tags' AS icon FROM qf_role_with_case WHERE testcaseid = $testcaseid AND project_name = $project_name AND :tab = 'Details';
1940+
SELECT '## Priority' AS description_md, '# ' || priority AS description_md, 'flag' AS icon, 'blue' as color FROM qf_role_with_case WHERE testcaseid = $testcaseid AND project_name = $project_name AND :tab = 'Details';
1941+
SELECT '## Test Type' AS description_md, '# ' || test_type AS description_md, 'category' AS icon, 'indigo' as color FROM qf_role_with_case WHERE testcaseid = $testcaseid AND project_name = $project_name AND :tab = 'Details';
1942+
SELECT '## Scenario' AS description_md, '# ' || scenario_type AS description_md, 'hierarchy' AS icon, 'teal' as color FROM qf_role_with_case WHERE testcaseid = $testcaseid AND project_name = $project_name AND :tab = 'Details';
1943+
SELECT '## Execution' AS description_md, '# ' || execution_type AS description_md, 'settings' AS icon, 'azure' as color FROM qf_role_with_case WHERE testcaseid = $testcaseid AND project_name = $project_name AND :tab = 'Details';
1944+
SELECT '## Tags' AS description_md, '# ' || tags AS description_md, 'tags' AS icon, 'purple' as color FROM qf_role_with_case WHERE testcaseid = $testcaseid AND project_name = $project_name AND :tab = 'Details';
1945+
1946+
SELECT 'html' AS component, '</div>' AS html WHERE :tab = 'Details';
18871947

18881948
SELECT 'card' AS component,
18891949
'Test Cases Details' AS title,
@@ -2076,6 +2136,7 @@ WHERE UPPER(test_case_id) = UPPER($testcaseid)
20762136
ORDER BY cycle DESC;
20772137

20782138

2139+
SELECT 'table' AS component WHERE :tab = 'Revision History';
20792140
select
20802141
/*${md.link("commit_sha", ["'testcaserevisiondetails.sql?commit_sha='", "cf.commit_sha", "'&project_name='", "$project_name"])} AS "Revisions" */
20812142
hc.message as "Commit Message",
143 KB
Loading
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"test_case_fii": "TC-QUALITYFOLIO-002",
3+
"title": "Verify login failure due to network timeout despite correct credentials",
4+
"status": "failed",
5+
"start_time": "2026-04-21T10:12:05.120Z",
6+
"end_time": "2026-04-21T10:13:42.850Z",
7+
"total_duration": "97.73 seconds",
8+
"steps": [
9+
{
10+
"step": 1,
11+
"stepname": "Navigate to the login page.",
12+
"status": "passed",
13+
"start_time": "2026-04-21T10:12:05.120Z",
14+
"end_time": "2026-04-21T10:12:18.340Z"
15+
},
16+
{
17+
"step": 2,
18+
"stepname": "Enter valid user credentials (registered email and correct password).",
19+
"status": "passed",
20+
"start_time": "2026-04-21T10:12:18.341Z",
21+
"end_time": "2026-04-21T10:12:25.560Z"
22+
},
23+
{
24+
"step": 3,
25+
"stepname": "Before clicking Login, simulate a network slowdown or disconnection.",
26+
"status": "passed",
27+
"start_time": "2026-04-21T10:12:25.561Z",
28+
"end_time": "2026-04-21T10:12:32.780Z"
29+
},
30+
{
31+
"step": 4,
32+
"stepname": "Click on the Login button.",
33+
"status": "passed",
34+
"start_time": "2026-04-21T10:12:32.781Z",
35+
"end_time": "2026-04-21T10:12:39.920Z"
36+
},
37+
{
38+
"step": 5,
39+
"stepname": "Observe the system response during the timeout or connection drop.",
40+
"status": "passed",
41+
"start_time": "2026-04-21T10:12:39.921Z",
42+
"end_time": "2026-04-21T10:12:48.150Z"
43+
},
44+
{
45+
"step": 6,
46+
"stepname": "Reconnect the network and check whether the session was created or access granted.",
47+
"status": "failed",
48+
"start_time": "2026-04-21T10:12:48.151Z",
49+
"end_time": "2026-04-21T10:13:42.850Z",
50+
"error_message": "After reconnecting the network, the system unexpectedly allowed access without re-authentication, bypassing the required security check for timed-out requests."
51+
}
52+
]
53+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
FII: "TR-QUALITYFOLIO-002"
3+
test_case_fii: "TC-QUALITYFOLIO-002"
4+
run_date: "2026-04-21"
5+
environment: "Production"
6+
---
7+
8+
### Actual Result
9+
10+
1. Navigated to the login page successfully.
11+
2. Entered valid user credentials into the email and password fields.
12+
3. Simulated a network disconnection before submitting the form.
13+
4. Clicked the Login button; the request timed out as expected.
14+
5. Observed that the UI showed a loading state followed by a connection error.
15+
6. After restoring the network and navigating to the dashboard URL, the system unexpectedly granted access to the protected area without requiring a new login attempt.
16+
17+
### Run Summary
18+
19+
- Status: Failed
20+
- Notes: Steps 1 through 5 behaved as expected during the simulated network failure. However, Step 6 failed because the application did not properly invalidate the interrupted authentication attempt, allowing unauthorized access once the connection was restored.

0 commit comments

Comments
 (0)