Coder Social home page Coder Social logo

geb's Introduction

geb's People

Contributors

anshbansal avatar erdi avatar graemerocher avatar jameskleeh avatar matrei avatar renovate[bot] avatar sdelamo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geb's Issues

path to drivers not set up by plugin

If you do as the default grails3 build.gradle suggests and replace the htmlunit driver with one for a real browser, the functional tests fail because the path to the driver is not configured.

java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see http://code.google.com/p/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html

I gather his error is from Geb itself, so it isn't clear that the plugin should or should not be handling this setup. Does this mean I have to do something outside my gradle build file (like separately install this driver on my machine)?

Would it be possible for the Geb plugin to notice the driver in the buildfile and just set things up?

Also It would be helpful if the section for functional testing in the Grails user guide mentioned how to do this configuration.

Geb with PhamtomJS does not detect redirect triggered by link element

Geb configured with PhamtonJS does not detect the redirect triggered by clicking on the href element on the GUI which is triggering the redirect by calling the corresponding controller action.

I have created a demo project showing this issue: https://github.com/hitty5/geb-phantomjs-redirect-problem

Is the problem related to PhantomJS or Geb? By the way, changing the redirect in the controller to forward would fix the issue, by actually forwarding the request is no option.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • Update plugin com.gradle.common-custom-user-data-gradle-plugin to v1.13
  • Update gradle/wrapper-validation-action action to v3
  • Update plugin com.gradle.common-custom-user-data-gradle-plugin to v2
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/gradle.yml
  • actions/checkout v4
  • actions/setup-java v4
  • gradle/gradle-build-action v2
  • actions/checkout v4
  • actions/setup-java v4
  • gradle/gradle-build-action v2
  • gradle/gradle-build-action v2
.github/workflows/release-notes.yml
  • actions/checkout v4
  • release-drafter/release-drafter v5
  • ncipollo/release-action v1
.github/workflows/release.yml
  • actions/checkout v4
  • gradle/wrapper-validation-action v1
  • actions/setup-java v4
  • gradle/gradle-build-action v2
  • gradle/gradle-build-action v2
gradle
gradle.properties
  • org.grails:grails-gradle-plugin 5.3.1
  • org.grails:grails-core 5.3.5
  • org.gebish:geb-spock 5.1
  • org.codehaus.groovy:groovy 3.0.11
  • org.codehaus.groovy:groovy-ant 3.0.11
  • org.codehaus.groovy:groovy-templates 3.0.11
settings.gradle
  • com.gradle.enterprise 3.16
  • com.gradle.common-custom-user-data-gradle-plugin 1.12.1
build.gradle
  • com.github.javaparser:javaparser-core 3.15.14
gradle-wrapper
gradle/wrapper/gradle-wrapper.properties
  • gradle 7.6.3

  • Check this box to trigger a request for Renovate to run again on this repository

Dealing with browser mismatched versions

I had a problem today getting Firefox driver to work. The problem was that the Firefox version on my machine was too new. What I mean is, the geb plugin calls for selenium 2.47.1. So logically, one would add the firefox driver for that same selenium version. 2.47.1. This fails, but updating to the most recent firefox driver version (2.49.1) is all it takes to get it working. But now I've got a geb system that doesn't match my driver version. The alternative would have been to 'downgrade' my local firefox installation to the one that's assumed by 2.47.1.

Web browser versions are likely to move faster than versions of the geb plugin, so I'm wondering if there's a way (and if it is advisable) to structure the plugin so that you can pick the selenium version that will be used without having to change the plugin itself. If this could be worked out then the grails build.gradle file would be the single source of truth for selenium configuration of grails functional tests.

import package change in FuntionalSpec template

Hi,
noticed that one of the imports in FunctionalSpec.groovy seems to have changed,
where it currently says
import grails.testing.mixin.integration.Integration
should say
import grails.test.mixin.integration.Integration
Created pull request #7 to fix it, please let me know if there is any problem

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.