Closed martin-pikalek closed 2 years ago
@martin-pikalek Hi! Try using this assembly. Follow the instructions. https://github.com/1ivliev/playwright-qase Let us know if the problem persists. Have a great day!
@1ivliev Hello, with this assembly it was possible to run Playwright tests and report results into Qase. However in this assembly is "chalk" dependency in package.json so it was installed regardless of needs of qase-playwright-reporter.
As user my expected solution would be: Install qase-playwright-reporter and to use it I should not need to install manually other dependencies directly (as qase-playwright-reporter should download needed dependencies for usage during installation)
Hi @1ivliev - I am having the same problem as the OP, but it seems like a fix for this was merged a couple of weeks ago. Has that since been released, should it still be occurring in the version I have?
@1ivliev @sarah-gelt Hi everyone, I can confirm this issue. When trying to run tests with latest reporter, there is missing dependency error for "chalk".
"name": "playwright-qase-reporter", "version": "v1.2.0-alpha.3",
As I am looking on package.json of playwright-qase-reporter, there is "chalk" dependency but under "devDependencies". To be sure I also cleared my npm cache and reinstalled all dependencies. Folder with "chalk" was still missing in node_modules folder, so it was not installed with reporter itself. (only qaseio and form-data dependencies)
But when I look into package.json of reporter on GitHub (on master branch), there is "chalk" dependency under "dependencies".
https://github.com/qase-tms/qase-javascript/blob/master/qase-playwright/package.json
Are we need to wait for new alpha version or is this just some mismatch?
Package.json dependencies: "@playwright/test": "^1.22.2" "playwright-qase-reporter": "^1.2.0-alpha.3"
Expected: Should be able to run tests with Playwright and Playwright Qase Reporter