I am running Cypress within a Docker container based on Oracle Linux 7. I am kicking off tests using cypress run as a sysadmin user. All test artifacts generated are owned by this user except for my jUnit test output, which is owned by root. This means my CI framework cannot access test results.
Desired behavior:
jUnit test output should be owned by the user I am logged in as when I run Cypress.
Test code to reproduce
docker-compose.yml showing sysadmin test user
my-service:
user: sysadmin
image: cypress:4.9.0
command: npm test
ipc: host
Going to close this after two years of inactivity + 7 major versions of Cypress. Please feel free to open another issue if this is still a problem and we'll try and do better about looking into things!
Current behavior:
I am running Cypress within a Docker container based on Oracle Linux 7. I am kicking off tests using
cypress run
as asysadmin
user. All test artifacts generated are owned by this user except for my jUnit test output, which is owned byroot
. This means my CI framework cannot access test results.Desired behavior:
jUnit test output should be owned by the user I am logged in as when I run Cypress.
Test code to reproduce
docker-compose.yml showing
sysadmin
test userpackage.json showing scripts
cypress.json
Output
Versions
4.9.0