Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Screenshots and Videos are not visible under Findings section after Test Execution

Mona Thakur
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Oct 12, 2023

Hi all,

I am pushing xray-report.xml file using API to JIRA. I need to view screenshots(.png), videos(.webm) and trace(.zip) under findings section of test execution but I am not able to.
I am attaching the screenshot of the place where I am expecting the screenshots, videos and trace.
Screenshot 2023-10-12 at 5.00.51 PM.png

XML file snippet for the given Test Case:

<testcase name="Run test for logged in user | Players Page › @REP-2884 Verify that sorting is working if applied on Incident Type column on the incident list under player profile page" classname="tests/logged-in-user/player-list.spec.js" time="135.023">
<properties>
<property name="test_key" value="REP-2884"> </property>
<property name="test_summary" value="@REP-2884 Verify that sorting is working if applied on Incident Type column on the incident list under player profile page"> </property>
</properties>
<failure message="player-list.spec.js:273:5 @REP-2884 Verify that sorting is working if applied on Incident Type column on the incident list under player profile page" type="FAILURE">
<![CDATA[ [Logged In User] › tests/logged-in-user/player-list.spec.js:273:5 › Run test for logged in user | Players Page › @REP-2884 Verify that sorting is working if applied on Incident Type column on the incident list under player profile page Error: locator.count: DOMException: Failed to execute 'querySelectorAll' on 'Document': 'td:nth-child(undefined)' is not a valid selector. at query (<anonymous>:3252:41) at <anonymous>:3262:7 at SelectorEvaluatorImpl._cached (<anonymous>:3039:20) at SelectorEvaluatorImpl._queryCSS (<anonymous>:3249:17) at SelectorEvaluatorImpl._querySimple (<anonymous>:3129:19) at <anonymous>:3077:29 at SelectorEvaluatorImpl._cached (<anonymous>:3039:20) at SelectorEvaluatorImpl.query (<anonymous>:3070:19) at Object.query (<anonymous>:3284:44) at <anonymous>:3242:21 at query (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3252:41) at /home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3262:7 at SelectorEvaluatorImpl._cached (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3039:20) at SelectorEvaluatorImpl._queryCSS (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3249:17) at SelectorEvaluatorImpl._querySimple (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3129:19) at /home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3077:29 at SelectorEvaluatorImpl._cached (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3039:20) at SelectorEvaluatorImpl.query (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3070:19) at Object.query (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3284:44) at /home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3242:21 at PlayerPage.getRowElementsForInx (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/src/pages/player.page.js:120:37) at /home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/src/tests/logged-in-user/player-list.spec.js:288:39 attachment #1: screenshot.png (image/png) ────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User/tmp_screenshot.png ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #2: video (video/webm) ────────────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User/video.webm ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #3: video (video/webm) ────────────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User/video-1.webm ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #4: screenshot (image/png) ────────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User/test-failed-1.png ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #5: screenshot (image/png) ────────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User/test-failed-2.png ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #6: trace (application/zip) ───────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User/trace.zip Usage: npx playwright show-trace test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User/trace.zip ──────────────────────────────────────────────────────────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.count: DOMException: Failed to execute 'querySelectorAll' on 'Document': 'td:nth-child(undefined)' is not a valid selector. at query (<anonymous>:3252:41) at <anonymous>:3262:7 at SelectorEvaluatorImpl._cached (<anonymous>:3039:20) at SelectorEvaluatorImpl._queryCSS (<anonymous>:3249:17) at SelectorEvaluatorImpl._querySimple (<anonymous>:3129:19) at <anonymous>:3077:29 at SelectorEvaluatorImpl._cached (<anonymous>:3039:20) at SelectorEvaluatorImpl.query (<anonymous>:3070:19) at Object.query (<anonymous>:3284:44) at <anonymous>:3242:21 at query (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3252:41) at /home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3262:7 at SelectorEvaluatorImpl._cached (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3039:20) at SelectorEvaluatorImpl._queryCSS (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3249:17) at SelectorEvaluatorImpl._querySimple (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3129:19) at /home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3077:29 at SelectorEvaluatorImpl._cached (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3039:20) at SelectorEvaluatorImpl.query (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3070:19) at Object.query (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3284:44) at /home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/<anonymous>:3242:21 at PlayerPage.getRowElementsForInx (/home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/src/pages/player.page.js:120:37) at /home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/src/tests/logged-in-user/player-list.spec.js:288:39 attachment #1: screenshot.png (image/png) ────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry1/tmp_screenshot.png ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #2: video (video/webm) ────────────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry1/video.webm ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #3: video (video/webm) ────────────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry1/video-1.webm ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #4: screenshot (image/png) ────────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry1/test-failed-1.png ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #5: screenshot (image/png) ────────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry1/test-failed-2.png ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #6: trace (application/zip) ───────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry1/trace.zip Usage: npx playwright show-trace test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry1/trace.zip ──────────────────────────────────────────────────────────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 7 + Received + 6 @@ -1,8 +1,8 @@ Array [ - "Offensive Lan ...", - "Offensive Lan ...", + "Identity Hate", + "Identity Hate", "Offensive Lan ...", "Offensive Lan ...", "Offensive Lan ...", "Offensive Lan ...", "Offensive Lan ...", @@ -12,13 +12,12 @@ "Offensive Lan ...", "Offensive Lan ...", "Offensive Lan ...", "Offensive Lan ...", "Offensive Lan ...", - "Offensive Lan ... - +1", "Offensive Lan ... +1", - "Criticizing G ...", - "Criticizing G ...", - "Criticizing G ...", + "Unconstructiv ...", + "Unconstructiv ...", + "Unconstructiv ...", + "Unconstructiv ...", ] 290 | await expect(newPlayerPage.playerIncidentTypeColumn).toBeVisible(); 291 | const incidentTypeNewValues = await newPlayerPage.getRowElementsForInx(incidentTypeColumnInx); > 292 | await expect(incidentTypeRowValues.sort()).toEqual(incidentTypeNewValues); | ^ 293 | 294 | }) 295 | at /home/jenkins/agent/workspace/test/playwright_test/playwright/dashboard/src/tests/logged-in-user/player-list.spec.js:292:52 attachment #1: screenshot.png (image/png) ────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry2/tmp_screenshot.png ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #2: video (video/webm) ────────────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry2/video-1.webm ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #3: video (video/webm) ────────────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry2/video.webm ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #4: screenshot (image/png) ────────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry2/test-failed-1.png ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #5: screenshot (image/png) ────────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry2/test-failed-2.png ──────────────────────────────────────────────────────────────────────────────────────────────── attachment #6: trace (application/zip) ───────────────────────────────────────────────────────── test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry2/trace.zip Usage: npx playwright show-trace test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry2/trace.zip ──────────────────────────────────────────────────────────────────────────────────────────────── ]]>
</failure>
<system-out>
<![CDATA[ [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User/tmp_screenshot.png]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User/video.webm]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User/video-1.webm]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User/test-failed-1.png]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User/test-failed-2.png]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User/trace.zip]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry1/tmp_screenshot.png]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry1/video.webm]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry1/video-1.webm]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry1/test-failed-1.png]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry1/test-failed-2.png]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry1/trace.zip]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry2/tmp_screenshot.png]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry2/video-1.webm]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry2/video.webm]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry2/test-failed-1.png]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry2/test-failed-2.png]] [[ATTACHMENT|../test-results/player-list-Run-test-for-logged-in-user-Player-9391e--on-the-incident-list-under-player-profile-page-Logged-In-User-retry2/trace.zip]] ]]>
</system-out>
</testcase>



0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events