Skip to content

Allure awesome report with singleFile option is displaying empty page with 'Data "widgets/default/tree.json" not found!' #348

@Valiantsin2021

Description

@Valiantsin2021

Describe the bug

I am using allure 3 v3.0.0-beta.22 with playwright/js v1.56.1, Node v24.10.0 on Windows 11.

Config file:

import { defineConfig } from 'allure'

export default defineConfig({
  name: 'Allure Prestashop E2E Report',
  output: './report/allure-report',
  plugins: {
    awesome: {
      options: {
        singleFile: true,
        reportLanguage: 'en'
      }
    }
  }
})

To Reproduce
Steps to reproduce the behavior:

  1. Set the singleFile option to true in the allurerc.js
  2. Run tests with command - npx allure run -- npx playwright test .spec.js
  3. When test finishes the allure-report folder is generated containing index.html and summary.json files
  4. Opening the standalone index.html file in any browser results in empty report page with error message displayed - Data "widgets/default/tree.json" not found! (see attached screenshot)

Expected behavior
Report is opened and displaying the test results

Screenshots

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser Chrome Version 141.0.7390.125
  • Node v24.10.0
  • playwright/js v1.56.1
  • allure 3 v3.0.0-beta.22
Image

Metadata

Metadata

Assignees

Labels

type:bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions