geb Questions
3
So I'm trying to load previously saved cookies into my web driver with Selenium/Geb. First I goto the domain and then try to add the cookies. But the cookie domain and the url domain don't register...
7
I recently upgraded my chrome version to 60 and chromedriver to version 2.31. Post that I have started getting the following exception when I try to do a maximize of the browser window.
driver.dri...
Mauser asked 28/7, 2017 at 13:7
1
I'm trying to run tests in headless Chrome using Geb. Before enter the page, I have to select client certificate for authentication. How to do this in headless mode?
Robot class not working withou...
Haemocyte asked 9/5, 2019 at 8:23
3
Solved
I'm having great difficulty with one piece of my Geb test; how to select a value from a dropdown. I've tried it four different ways, and none of these work. It will either crash the test or skip ri...
Sonjasonnet asked 19/9, 2014 at 20:52
2
Solved
I'm trying to get log4j2 setup in my Geb framework. For the life of me I can't figure out how to put this together. I have a log4j2.xml (not log4j.xml) file setup with the logger "Selenium". In Def...
1
Solved
I want to use geb with multiple browsers, specifically with firefox. However I am getting the firefox launching multiple windows without inserting the url., and ultimately failing. However, I have ...
Anticholinergic asked 22/4, 2018 at 19:28
2
Solved
I get following error message when I tried to run tests in command line.
Tests are based on Geb, Selenium and Cucumber/Groovy.
Caused by: org.gradle.api.GradleException: Could not generate test r...
Hooked asked 7/8, 2014 at 4:26
5
I'd like to be able to log the spock feature names and clause labels when running some automated tests. This would help with debugging test issues when using a headless browser for automation, spec...
1
Solved
I'm trying to get my project that uses Geb to run the beta channel of Chrome in headless mode.
I can reproduce the issue using the Geb Gradle example project.
In GebConfig.groovy, I've got this b...
Particular asked 25/5, 2017 at 19:20
2
Solved
I am writing a test script using spock, geb, and WebDriver. The script submits a form on an insecure page. The page submits to a secure HTTPS URL. Firefox shows a warning for this, specifcally:
...
Whimper asked 22/8, 2012 at 22:2
3
Solved
I've recently stumbled across geb and it looks like a good way to perform integration tests on our web applications. Our platforms are all java based and from reading that
"Geb provides first c...
5
Solved
I have the following task
task testGeb(type:Test) {
jvmArgs '-Dgeb.driver=firefox'
include "geb/**/*.class"
testReportDir = new File(testReportDir, "gebtests")
}
The system property doesn't a...
1
Is anyone aware of any tools that would allow Geb functional tests to be used for performance testing?
In the "Continuous Delivery" book, it's suggested that functional tests can be used for perf...
Outmost asked 30/11, 2012 at 12:35
1
My Selenium tests frequently hang indefinitely on CI, always at an attempt to load a new page in driver.get. I am using PhantomJS 1.9.8.
After several rounds of debugging, I think I've traced the...
Despatch asked 17/3, 2015 at 19:42
3
I am writing functional tests and dealing with a modal window that fades in and out.
What is the difference between displayed and present?
For example I have:
settingsModule.container.displayed ...
Reims asked 23/8, 2012 at 18:55
2
I used @Stepwise for automation. 8 test methods are running sequentially to complete the process. One of the methods take parameter and I want to pass different parameters to the method.
But the ...
2
In a Spock Specification any line in expect: or then: block is evaluated and asserted as boolean, unless it has signature with return type void.
I've noticed that there is something odd going on f...
1
Solved
What does this syntax mean in Groovy?
class CreateMessagePage extends Page {
static at = { assert title == 'Messages : Create'; true }
static url = 'messages/form'
static content = {
submit { ...
1
Solved
I'm trying to run grails geb/spock tests on jenkins. I install Xvfb Plugin
https://wiki.jenkins-ci.org/display/JENKINS/Xvfb+Plugin.
Jenkins configurations:
Project configuration:
Exception:
...
2
I am trying to get familiar with Geb. I’m trying to run it from inside Grails, but that shouldn’t matter at all since my question here is specific to Geb.
I have the following test directory struc...
Wideawake asked 9/10, 2015 at 17:34
1
So I am trying build a simple gradle app and when I run it, I getting
geb.ConfigurationLoader$UnableToLoadException: Unable to load configuration @ 'file:/Users/john/Development/groovy/gradlegebau...
2
I want to register a Listener to all spock geb specs in my grails-app so I added a IGlobalExtension to myapp/src/groovy
package myapp.spock
class TakeScreenshotExtension implements IGlobalExtensi...
1
Solved
I have got some hidden buttons on the page. When I click on text input, one of these buttons shows on the page. Before:
<div field='login'>
<input type="text">
<button class="sub...
Frentz asked 14/10, 2014 at 11:0
1
I have a responsive site and would like to separate out the concerns of whether parts of my page template are collapsed from the main content per-page:
trait DesktopPage {
static content = {
hea...
Frankie asked 16/9, 2014 at 23:58
4
Suppose I have multiple Geb/Spock tests that beings with logging in. For example:
@Stepwise
Class AddNewPictureSpec extends GebSpec {
def "User at login page"() {
given: "User beings from login ...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.