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
name: some-site | |
recipe: pantheon | |
config: | |
framework: drupal8 | |
env: dev | |
site: some-site | |
id: some-uuid-string-here | |
drush: 8.3 | |
php: '7.3' | |
webroot: web |
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
#!/bin/bash | |
# Runs an acquia task, and waits for the task to complete before continuing. | |
# This is a helper script, to be used in others as needed. | |
# | |
# @see https://gist.github.com/heathdutton/cc29284de3934706acd1 | |
if [[ $1 = "" ]] || [[ $2 = "" ]] | |
then | |
echo "Runs an acquia drush command, waiting for the results before continuing." | |
echo "Can be used as a replacement for drush." |
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
process: | |
field_temp_tax_1: | |
plugin: iterator | |
source: field_album_jcarousel | |
process: | |
target_id: tid | |
field_temp_tax_2: | |
plugin: iterator | |
source: field_album_slideshow | |
process: |
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 | |
return array( | |
'zfcrbac' => array( | |
'firewalls' => array( | |
'ZfcRbac\Firewall\Controller' => array( | |
array('controller' => 'index', 'actions' => 'index', 'roles' => 'guest') | |
), | |
'ZfcRbac\Firewall\Route' => array( | |
array('route' => 'profiles/add', 'roles' => 'member'), | |
array('route' => 'admin/*', 'roles' => 'administrator') |
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
Feature: google | |
I want to search something on google | |
Scenario: Search something on google | |
Given I am on "/" | |
And I fill in "q" with "selenium" | |
When I press "Google Search" | |
And I click the first link | |
Then I should see "selenium" | |
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
function waitForMail($subject) { | |
$lastExceptionMessage = ''; | |
for ($second = 0; ; $second+=2) { | |
if ($second > 45) { | |
$this->fail( | |
"WaitFor timeout. \n" | |
. "Last exception message: \n" . $lastExceptionMessage | |
); | |
} | |
$this->clickAndWait('link=Search'); |