Rayrun
← Back to Discord Forum

Not able to generate blob reports on github actions

Hi folks

I am running my tests on github actions, and I have job something like this

jobs: run-e2e: strategy: matrix: project: ['api', 'ui']

and tests are running like npx playwright test --project ${{ matrix.project }}

It does run the different projects but no **blob report **was generated for the run. In playwright.conf.ts , I have configured the report

reporter: process.env.CI ? 'blob' : 'html'

I can see in playwright doc blob report will be generated into blob-report directory. But i don't see any blob report folder after execution . My step to upload artifcats looks like this

  • name: Upload report uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 with: name: e2e-report-${{ matrix.project }} path: blob-report retention-days: 1

And i get the error like Warning: No files were found with the provided path: blob-report. No artifacts will be uploaded. I am attaching the screenshot for the failures.

Any help would be appreciated.

image.png

This thread is trying to answer question "Why is the blob report not being generated and how can this issue be resolved?"

4 replies
daniel_boone1990
daniel_boone1990

Try to add

if: always()
        uses: actions/upload-artifact@v3
        with:
          name: e2e-report-${{ matrix.project }}
          path: ./blob-report
daniel_boone1990
daniel_boone1990

./blob-report

daniel_boone1990
daniel_boone1990

Otherwise for debugging, just run ls command to check if the folder exist

Thanks for the reply

I did run the ls to list the files but I don't see the blob-report folder getting generated.

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