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

Text report generated for JS based test #81

Open
nair-sumesh opened this issue Jan 27, 2022 · 4 comments
Open

Text report generated for JS based test #81

nair-sumesh opened this issue Jan 27, 2022 · 4 comments

Comments

@nair-sumesh
Copy link

Hi,
I would like to use this reporter in JS based test.
The Html file is generated , however, the file is displayed as plain text and the screenshot path is not properly linked.
The screenshot path

<tr class="test-row screenshot">
  <td colspan="2">
    <div class="screenshotWrapper">
      <img class="toggle screenshot screenshot-small" src="screenshots\0-0\20220127-081421.927\report.html.png"/>
    </div>
   </td>
</tr>

Is this reported not supposed to work at all with JS Code?
Is there a roadmap to make it JS compatible.

@nair-sumesh nair-sumesh changed the title Text report geenrated for JS basec test Text report geenrated for JS based test Jan 27, 2022
@nair-sumesh nair-sumesh changed the title Text report geenrated for JS based test Text report generated for JS based test Jan 27, 2022
@rpii
Copy link
Collaborator

rpii commented Jan 27, 2022 via email

@rpii
Copy link
Collaborator

rpii commented Jan 27, 2022 via email

@nair-sumesh
Copy link
Author

Another point. to load the report correctly in a browser relies on the files in the /reports/html-reports folder structure. screenshots is a subfolder of that, so the above url works just fine.

On Thu, Jan 27, 2022 at 5:35 AM nair-sumesh @.> wrote: Hi, I would like to use this reporter in JS based test. The Html file is generated , however, the file is displayed as plain text and the screenshot path is not properly linked. The screenshot path

Is this reported not supposed to work at all with JS Code? Is there a roadmap to make it JS compatible. — Reply to this email directly, view it on GitHub <#81>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEABIEO7PPRTKKRTZESXU4LUYFCVDANCNFSM5M55FDQQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.>

Thanks @rpii , This worked for the snapshot. However, the HTML still misses the css styles. I dont see any colors or any table border as compared to what this repo displays as a sample.
image

@rpii
Copy link
Collaborator

rpii commented Jan 27, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants