cypress-testrail-simple icon indicating copy to clipboard operation
cypress-testrail-simple copied to clipboard

adding logs and screenshots for failures

Open dsolisp opened this issue 4 years ago • 2 comments

is it possible to add this feature in future versions?

Would help a lot when checking testrails > failed test cases. When checking the debugging log

`

cypress-testrail-simple displayError: 'AssertionError: Timed out retrying after 100000ms: Expected to find element: .h1-dignifi > :nth-child(1)`, but never found it.\n' +

cypress-testrail-simple attempts: [Array] cypress-testrail-simple } cypress-testrail-simple ], cypress-testrail-simple error: null, cypress-testrail-simple video: null, cypress-testrail-simple screenshots: [ cypress-testrail-simple { cypress-testrail-simple screenshotId: 'pcycd', cypress-testrail-simple name: null, cypress-testrail-simple testId: 'r3', cypress-testrail-simple testAttemptIndex: 0, cypress-testrail-simple takenAt: '2021-10-21T22:45:57.603Z', cypress-testrail-simple path: '/Users/path/things(failed).png', cypress-testrail-simple height: 720, cypress-testrail-simple width: 1280 cypress-testrail-simple }`

data is already recognize but not sent

cypress-testrail-simple TestRail response: [ { id: 10, test_id: 423, status_id: 5, created_on: 1634856588, assignedto_id: null, comment: null, version: null, elapsed: null, defects: null, created_by: 1, custom_step_results: null, attachment_ids: [] } ] +1s

I fell this change may not be too difficult to implement

dsolisp avatar Oct 21 '21 22:10 dsolisp

Good idea of course, but I use Cypress Dashboard for screenshots and videos, so no need for sending the screenshots to TestRail in my case

bahmutov avatar Oct 22 '21 15:10 bahmutov

Hey, I created a pr for screenshots: https://github.com/bahmutov/cypress-testrail-simple/pull/37

halinaVabishchevich avatar Mar 29 '22 09:03 halinaVabishchevich