Skip to content

Instantly share code, notes, and snippets.

View bourg-ismael's full-sized avatar

Ismael BOURG bourg-ismael

  • MiiMOSA
  • Levallois-Perret, France
View GitHub Profile
$locale = new \Application\Common\Persistance\Form\Element\ObjectSelect();
$locale
->setName('locale')
->setOptions([
'object_manager' => $this->getObjectManager(),
'property' => 'isoCode',
'target_class' => 'Application\Common\Entity\Locale',
'is_method' => true,
'attributes' => ['data-flag' => ''],
'find_method' => [
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<title>Test Suite</title>
</head>
<body>
<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody>
<tr><td><b>Test Suite</b></td></tr>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />
<title>Test Suite</title>
</head>
<body>
<table id="suiteTable" cellpadding="1" cellspacing="1" border="1" class="selenium"><tbody>
<tr><td><b>Test Suite</b></td></tr>
Started by user BOURG Ismael
Building in workspace /var/lib/jenkins/jobs/Functional Test Suite Staging (test)/workspace
java -jar /var/lib/selenium/selenium-server.jar -htmlSuite *firefox http://staging.assessfirst.com /home/jenkins/selenium/test/suite.html /home/jenkins/selenium/output/firefox-results.html
[workspace] $ java -jar /var/lib/selenium/selenium-server.jar -htmlSuite *firefox http://staging.assessfirst.com /home/jenkins/selenium/test/suite.html /home/jenkins/selenium/output/firefox-results.html
10:22:46.875 INFO - Launching a standalone server
10:22:47.066 INFO - Java: Sun Microsystems Inc. 23.25-b01
10:22:47.066 INFO - OS: Linux 3.2.0-59-virtual amd64
10:22:47.121 INFO - v2.43.1, with Core v2.43.1. Built from revision 5163bce
10:22:47.396 INFO - Default driver org.openqa.selenium.ie.InternetExplorerDriver registration is skipped: registration capabilities Capabilities [{platform=WINDOWS, ensureCleanSession=true, browserName=internet explorer, version=}] does not match with current platform: LINU
Fetching source index from https://rubygems.org/
error: cannot open .git/FETCH_HEAD: Permission denied
Retrying git fetch --force --quiet --tags "/Users/bourgismael/.bundler/cache/git/forem-8662403862ddafa624baa2b55484281b10db048e" due to error (2/3): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags "/Users/bourgismael/.bundler/cache/git/forem-8662403862ddafa624baa2b55484281b10db048e"` in directory /Library/Ruby/Gems/2.0.0/bundler/gems/forem-074629e37a27 has failed.
If this error persists you could try removing the cache directory '/Users/bourgismael/.bundler/cache/git/forem-8662403862ddafa624baa2b55484281b10db048e'
error: cannot open .git/FETCH_HEAD: Permission denied
Retrying git fetch --force --quiet --tags "/Users/bourgismael/.bundler/cache/git/forem-8662403862ddafa624baa2b55484281b10db048e" due to error (3/3): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags "/Users/bourgismael/.bundler/cache/git/forem-8662403862ddafa62
$('#crud-table').fadeTo(50, 0.35);
$.post(this.action, $(this).serialize(), function(data){
$('#crud-table').html(data);
if(form.find('input[name="search"]').val() != '' && $.fn.replaceText) {
$('table.table td, table.table i').replaceText(new RegExp(form.find('input[name="search"]').val(), 'gi' ), '<strong><abbr title="attribute">$&</abbr></strong>')
}
$('#crud-table').fadeTo(50, 1);
$(this).closest('.jarviswidget-loader').fadeOut(100);
});
Run options: --seed 4701
# Running:
2014-12-09 11:54:25 +0100 selenium-client received failure from selenium server:
requested:
cmd=getNewBrowserSession
1=*chrome /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
2=http://192.168.33.120
3=
#!/usr/bin/env ruby
#
# Sample Test:Unit based test case using the selenium-client API
#
require "minitest/autorun"
require "rubygems"
gem "selenium-client", ">=1.2.18"
require "selenium/client"
class ExampleTest < Minitest::Test
Catchable fatal error: Argument 2 passed to Application\Common\Service\ProductBundleManager::getByQuestionnaireAndCompany() must be an instance of Application\Common\Entity\Company, instance of Application\Common\Entity\User given, called in /vagrant/module/Application/src/Application/Common/Service/AssessmentManager.php on line 758 and defined in /vagrant/module/Application/src/Application/Common/Service/ProductBundleManager.php on line 37
An error occurred during execution; please try again later.
Information complémentaire:
Aws\S3\Exception\RequestTimeTooSkewedException
Fichier:
/vagrant/vendor/aws/aws-sdk-php/src/Aws/Common/Exception/NamespaceExceptionFactory.php:91
Message:
The difference between the request time and the current time is too large.