codeceptjs / allure-legacy

Allure plugin for CodeceptJS
0 stars 1 forks source link

How can we configure github actions to see the allure report in gh-pages #2

Open AugustineAutoGit opened 5 months ago

AugustineAutoGit commented 5 months ago

@kobenguyent How can we configure github actions yaml file to see the the allure report in gh-pages?? Like when we run 'npx allure serve output' in local it open the browser to show the report with Pass/Fail/Skip status How can we setup the same in github actions yaml file??

I tried the way mentioned here: https://allurereport.org/docs/integrations-github/

but the page is not loading components:

image
kobenguyent commented 5 months ago

you could take this as reference https://github.com/kobenguyent/codeceptjs-a11y-helper/blob/main/.github/workflows/acceptance-tests.yml

AugustineAutoGit commented 5 months ago

@kobenguyent Will this work for history and retries?? Like will we get history and retry data

image
kobenguyent commented 5 months ago

@AugustineAutoGit I'm not sure about History, but Retries should work.

Screenshot 2024-05-31 at 10 49 49

btw, I'm using https://github.com/allure-framework/allure-js/tree/main/packages/allure-codeceptjs not the legacy version.

AugustineAutoGit commented 5 months ago

@kobenguyent I previously tried with allure-codeceptjs, but I can see the screenshots are not attached with steps , but below all the steps like below:

Screenshot 2024-05-31 at 5 12 48 PM

do you have this issue??

AugustineAutoGit commented 5 months ago

@kobenguyent Thanks allure-patch resolves my github actions yaml file config issue. Please let me know about the above screenshot issue in allure-codeceptjs

kobenguyent commented 5 months ago

Sorry I don't know much about the allure-CodeceptJS, maybe you could raise an issue there.