When trying to set up Selenium on bitbucket, chrome driver starts a session and removes it immediatly.
Here is my bitbucket pipeline :
- step: &ui-tests
name: UI Tests
- export TestUrl=$TestUrl
- export TestAccountUsername=$TestAccountUsername
- export TestAccountPassword=$TestAccountPassword
- dotnet restore uitests/UITests.sln
- dotnet build uitests/UITests.sln --no-restore
- dotnet test uitests/UITests.sln --no-build --no-restore
Is there anything I am setting wrong, In Local all the tests are fine.
I believe the issue here may be related to the paths in the volumes:
Volumes need to be mounted inside $BITBUCKET_CLONE_DIR, we don't support mounting volumes outside that directory and also with a source outside $BITBUCKET_CLONE_DIR. This is for security reasons, as Pipelines use a shared infrastructure.
May I ask why you need to mount /dev/shm in your build?
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events