Rayrun
← Back to Discord Forum

[QUESTION] How to get corresponding path to trace.zip file in custom reporter

How do you get that folder name where trace.zip files stored? I'm trying to add slack alerts on fail to my custom reporter and attach relevant trace.zip I just compared dir name to test path/name and in dir name at the and I see smoothing like hash not sure what is this. Basically I just need to store the path to the relevant trace file in onTestEnd section of the reporter.

5ddae15d-3391-48c9-9c75-b9a403676226.png

This thread is trying to answer question "How to get the folder name where trace.zip files are stored for use in a custom reporter?"

0 replies

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].