allure-js icon indicating copy to clipboard operation
allure-js copied to clipboard

Not possible to generate allure report using docker container for playwright

Open nizzel55 opened this issue 1 year ago • 3 comments

Describe the bug Not possible to generate allure report using docker container for playwright.

ERROR:


ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.````


Dependencies:

  "dependencies": {
    "@playwright/test": "^1.41.1",
    "@types/node": "^20.11.13",
    "@typescript-eslint/eslint-plugin": "^6.20.0",
    "@typescript-eslint/parser": "^6.20.0",
    "allure-commandline": "2.27.0",
    "allure-playwright": "^2.12.0",
    "dotenv": "^16.4.1",
    "eslint": "^8.56.0",
    "playwright": "^1.41.1",
    "typescript": "^5.3.3"
  },


Docker:
container: mcr.microsoft.com/playwright:v1.41.1-jammy


(Allure is working when NOT using the docker container.) 





**To Reproduce**

**Expected behavior**

**Screenshots**

**Desktop (please complete the following information):**

**Smartphone (please complete the following information):**

**Additional context**

nizzel55 avatar Feb 07 '24 08:02 nizzel55