fescobar / allure-docker-service

This docker container allows you to see up to date reports simply mounting your "allure-results" directory in the container (for a Single Project) or your "projects" directory (for Multiple Projects). Every time appears new results (generated for your tests), Allure Docker Service will detect those changes and it will generate a new report automatically (optional: send results / generate report through API), what you will see refreshing your browser.
Apache License 2.0
637 stars 183 forks source link

Ignore index.html in the URL #251

Open nalexeyev opened 5 months ago

nalexeyev commented 5 months ago

Hi Frank, Thank you for the great tool. But I’d appreciate your help.

I use Allure Plugin for Backstage. It generates the ReportUrl as the following. image

The same in the repo: https://github.com/backstage/community-plugins/blame/013521a1d31bfea0f001708d4afcc940af6dc9ea/workspaces/allure/plugins/allure/src/api/AllureApiClient.ts#L28 (i.e. with index.html in the end)

Then, it just shows the report in iframe as follofwing: image

But when I try this link directly in browser, then I get 404 image

Without index.html it's Ok. image

The allure-docker-service was deployed in k8s using your manifest files (with edits). But when I try the URL directly with port-forward to allure-docker-service-ui:5252 then it behaves the same. It returns 404 if I add index.html in the end, so, it's not an issue of ingress.