QACOE-242: add Dockerfile and instructions how to use cypress with docker#11
QACOE-242: add Dockerfile and instructions how to use cypress with docker#11GoranP wants to merge 5 commits intoModusCreateOrg:masterfrom
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.