This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Kaliop\AProject\PageObjects\Pages; | |
use SensioLabs\Behat\PageObjectExtension\PageObject\Page; | |
use Behat\Mink\Session; | |
use SensioLabs\Behat\PageObjectExtension\PageObject\Factory; | |
abstract class BasePage extends Page | |
{ | |
protected $aService; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Kaliop\Behat\KToolsExtension\Listener; | |
use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
use Behat\Behat\EventDispatcher\Event\ScenarioTested; | |
use Behat\Behat\EventDispatcher\Event\OutlineTested; | |
use Behat\Behat\EventDispatcher\Event\ScenarioLikeTested; | |
use Kaliop\Behat\KToolsExtension\Context\SharedContext; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace app\controllers; | |
use yii\web\Response; | |
use xmlrpc_server; | |
use xmlrpcval; | |
use xmlrpcresp; | |
class XmlrpcController extends \yii\web\Controller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* A Mink driver for Selenium2. | |
* | |
* Compared to the default Selenium2Driver, it allows us to get a different Webdriver | |
*/ | |
namespace XXX\Behat\KToolsExtension\Driver; | |
use Behat\Mink\Element\NodeElement; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Nb: we assume that scripts are run from root dir, same as eZP4 | |
/** | |
* @var \eZ\Publish\API\Container $SC | |
*/ | |
$SC = require('bootstrap.php'); | |
// Log in as Admin | |
$repo = $SC->getRepository(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Nb: we assume that scripts are run from root dir, same as eZP4 | |
/** | |
* @var \eZ\Publish\API\Container $SC | |
*/ | |
$SC = require('bootstrap.php'); | |
// Log in as Admin | |
$repo = $SC->getRepository(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vi /var/www/ezpublish4/config.php | |
# content of the file: | |
<?php | |
include( 'extension/ezperformancelogger/classes/ezxhproflogger.php' ); | |
eZXHProfLogger::start(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in file settings/override/ezperformancelogger.ini.append.php: | |
[GeneralSettings] | |
LogMethods[] | |
LogMethods[]=csv | |
[csvSettings] | |
FileName=var/log/ezperflog.csv | |
[GeneralSettings] | |
TrackVariables[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install webhttrack | |
sudo /usr/lib/httrack/htsserver /usr/share/httrack/ | |
# from host operating system, connect to http://192.168.56.101:8080/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd extension/ezperformancelogger/bin/scripts | |
chmod 755 ezmuninperflogger_ | |
sudo ln –s /var/www/ezpublish4/extension/ezperformancelogger/bin/scripts/ezmuninperflogger_ /usr/share/munin/plugins/ezmuninperflogger_ | |
# patch /var/www/ezpublish4/extension/ezperformancelogger/bin/scripts/ezmuninperflogger_ : hashbang line is wrong, use instead | |
#!/bin/bash | |
# create (as root) /etc/munin/plugin-conf.d/ezmuninperflogger | |
[ezmuninperflogger_*] | |
env.php /usr/bin/php |
OlderNewer