-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QACOE-242: add Dockerfile and instructions how to use cypress with docker #11
base: master
Are you sure you want to change the base?
Conversation
@chan-chandra take a peek at this PR. I added Dockerfile and a few instructions for cypress. Please comment on what needs to be changed for this to be merged in the main repo. |
@GoranP could you add your ticket number in the title and description of this PR, please. e.g. QACOE-111: add Dockerfile... |
@chan-chandra @pedrohyvo I could not successfully run them all - only partially. After .click(...) action, it seems there are no results or better there is no element called <.main-results> on the Ecosia website after. I tried various existing elements like #main but nothing helps. I even injected logging and hitting ENTER like this but everything seems ok and I cannot find result element from website: Following are errors I get:
However - since I am trying that in Docker and using headless chrome that might be an issue. Could you please execute that on your machine with all dependencies installed and with a headless option? Just to eliminate that this is a chrome headless problem and that issue is just my lack of knowledge of how Nightwatch access DOM objects on HTML result. :) This is the config I am using for nigtwatch.js:
|
@GoranP Its failing for headless mode, will update the code |
@chan-chandra OK thnx. To it is headless mode then. I tried a few variants but non worked - please notify me when you update the code for headless (if it is possible at all). |
I pushed NightwatchJS Dockerfile and slightly adjusted |
No description provided.