← 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.


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

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 luc@ray.run.