Category : automated-tests

I’m updating my cypress skill set to include docker containers. I’ve been doing some reading found the following great quote: Docker provides a lightweight way to create disposable runtime environments for running the software that you want to test. I still have a lingering doubt that I would love someone to clarify for me. If ..

Read more

I’m doing a cypress 6+ training course and I’m trying to run a Jenkins pipeline using docker. My terminal displayed the following message. I’m trying to figure out how to fix this. { "resource": "/Users/xxx/Documents/CypressDocker_JenkinsPipeline/package.json", "owner": "_generated_diagnostic_collection_name_#2", "severity": 4, "message": "String does not match the pattern of "^(?:@[a-z0-9-*~][a-z0-9-*._~]*/)?[a-z0-9-~][a-z0-9-._~]*$".", "startLineNumber": 2, "startColumn": 11, "endLineNumber": 2, "endColumn": ..

Read more

I would like to test interactions between two logged in users on a website that only allows a single user to be logged in for a given browser session. The reason I’d like to avoid creating a second driver is because I’d prefer to use Selenium’s provided Docker containers to run my tests (https://github.com/SeleniumHQ/docker-selenium), which ..

Read more

following is the dockerfile and docker-compose file: Dockerfile: FROM python:alpine3.6 RUN pip install selenium docker-compose.yml version: "2.0" services: test: image: selenium_python:v1 volumes: – ./test.py:/test_script/test.py command: python /test_script/test.py > /home/result/result.txt depends_on: – chrome chrome: image: selenium/standalone-chrome:latest ports: – "4444:4444" trying to run the script but the result seems doesn’t save to local host machine Source: Docker ..

Read more