Skip to content

Instantly share code, notes, and snippets.

View c4milo's full-sized avatar
:octocat:

Camilo Aguilar c4milo

:octocat:
View GitHub Profile
20:36:02.868 ERROR - Failed to start new browser session, shutdown browser an clear all session data
org.openqa.selenium.server.RemoteCommandException: timed out waiting for window 'null' to appear
at org.openqa.selenium.server.FrameGroupCommandQueueSet.waitForLoad(FrameGroupCommandQueueSet.java:565)
at org.openqa.selenium.server.FrameGroupCommandQueueSet.waitForLoad(FrameGroupCommandQueueSet.java:522)
at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(BrowserSessionFactory.java:324)
at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:118)
at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:81)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(SeleniumDriverResourceHandler.java:658)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:392)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.han
camilo@levitas:~/Development/ruby/cucumber/examples/selenium_webrat$ rake features
(in /home/camilo/Development/ruby/cucumber/examples/selenium_webrat)
/usr/bin/ruby1.8 -I "/home/camilo/Development/ruby/cucumber/lib:lib" "/home/camilo/Development/ruby/cucumber/bin/cucumber" --format pretty --require features/step_definitons/search_steps.rb --require features/support/env.rb features/search.feature
Feature: Search
In order to learn more
As an information seeker
I want to find more information
Scenario: Find what I'm looking for # features/search.feature:6
==> Waiting for Selenium RC server on port 4444... .
camilo@levitas:~/Development/ruby/cucumber/examples/selenium_webrat$ rake features
(in /home/camilo/Development/ruby/cucumber/examples/selenium_webrat)
/usr/bin/ruby1.8 -I "/home/camilo/Development/ruby/cucumber/lib:lib" "/home/camilo/Development/ruby/cucumber/bin/cucumber" --format pretty --require features/step_definitons/search_steps.rb --require features/support/env.rb features/search.feature
Feature: Search
In order to learn more
As an information seeker
I want to find more information
Scenario: Find what I'm looking for # features/search.feature:6
==> Waiting for Selenium RC server on port 4444... .
camilo@levitas:~/Development/ruby/cucumber/examples/selenium_webrat$ rake features
(in /home/camilo/Development/ruby/cucumber/examples/selenium_webrat)
Feature: Search
In order to learn more
As an information seeker
I want to find more information
Scenario: Find what I'm looking for # features/search.feature:6
==> Waiting for Selenium RC server on port 4444... .
.
require 'singleton'
class Configuration
include Singleton
def initialize
config_file = File.join(RAILS_ROOT, "config", "application.yml")
if File.exists?(config_file)
config = YAML.load(File.read(config_file))[RAILS_ENV]
/*
* jQuery UI 1.7.2
*
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* http://docs.jquery.com/UI
*/
;jQuery.ui || (function($) {
Liferay.PEC = Liferay.PEC || {}
Liferay.PEC.Search.Viewer = new Liferay.Class( {
initialize : function(portletns) {
var instance = this;
instance.portletns = portletns;
alert(instance.portletns);
//Necesario para recibir los resultados obtenidos por el portlet
//de búsqueda
Liferay.PEC = Liferay.PEC || {}
Liferay.PEC.Search = new Liferay.Class( {
initialize : function(portletns) {
var instance = this;
jQuery('#' + portletns + 'pecsearch_content').tabs({selected: 0}).removeAttr('style');
jQuery('#' + portletns + 'sortable').sortable({axis: 'x'});
jQuery('#' + portletns + 'search').click(this._search);
jQuery('#' + portletns + 'advanced_search').click(function(){window.location = "/web/guest/advanced-search"});
jQuery('#' + portletns + 'assisted_search').click(function(){window.location = "/web/guest/assisted-search"});
#user nobody;
#worker_processes 8; #descomentar para 2 quadcore - 8*1024=8192 total concurrent connections
#worker_processes 4; #descomentar para 1 quadcore - 4*1024=4096 total concurrent connections
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
Passes: 1 Failures: 1 Duration: 1 ms
Shared Beahaviours the bug
should override me.(green)
should override me. (red)
expected true to be false