Uncaught error when deleting locally added extension in pr check #245
Closed
Description
There is a new PR check job running e2e tests for locally built extension (as part of PR check). But there is a problem when removing the extension that is built locally with error:
Uncaught (in promise) Error: ENOTEMPTY: directory not empty, rmdir '/home/odockal/git/podman-desktop-sandbox-ext/tests/playwright/output/sandbox-tests-pd/plugins/extension/node_modules/electron/dist/resources'
I have not found the rmdir
reference being used in the extension, so it might come from podman-desktop api. I am not sure why is the content of the node_modules having a problem to remove it.
we can workaround it when we remove that folder ahead of running the tests on pr check. Not sure it that breaks anything.