Tuesday, 15 March 2011

ruby on rails - Specs are passing locally but not on CircleCI, running poltergeist + phantomjs -


My glasses are passing when I run my local setup as well as on my colleague's setup, But refuse to pass on.

I get the following error:

  Failure / Error: Page .create_template_shift (user, day) Capybara :: Poltergeist :: Mouse Aveneffeld: One on Co-Ordinates Click Firing [960, 267.5] Failure Another element with the Poltergeist CSS selector was detected 'html.js.no-flexbox.flexboxlegacy.canvas.canvastext.no-webgl.touch.Nno- Geographic location. Postmessage.websqldatabase.no-indexeddb.hashchange.history.draganddrop.websockets.rgba hsla.multiplebgs.backgroundsize.borderimage.borderradius.boxshadow.textshadow.opacity.cssanimations.csscolumns.cssgradients.cssreflections.csstransforms.no-csstransforms3d.csstransitions.fontface .generatedcontent.no-video.no-audio.localstorage.sessionstorage.webworkers Applicationcache.svg.inlinesvg.smil.svgclippaths body.templates.show.modal-open div.modal-backdrop.fade.in 'In this situation. It is overlapping the element that you are trying to engage with. If you do not care about overlapping elements, then try using node.triggers ('click').  

and here is a screenshot from capybara-screenshot :

As you can see I'm trying to click on the" save "button but this can not be done because it looks like a division Is black / fade which is covering the entire screen.

How can this be done only in their environment? And why is this happening?

Edit: Updated image and example.

This became a package in my bower.json file which The breaking package was being downloaded to the circle CII when the latest package was downloaded due to the ~ character before version number inside bower.json .

My old packages were on my local environment.


No comments:

Post a Comment