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
import React from 'react' | |
import { StaticQuery, graphql } from 'gatsby' | |
import Layout from '../components/templates/layout' | |
import Home from '../components/templates/home' | |
const dateFormat = require('date-fns/format') | |
const IndexPage = () => ( | |
<StaticQuery | |
query={graphql` |
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
export const query = graphql` | |
query($slug: String!) { | |
site { | |
siteMetadata { | |
domain | |
} | |
} | |
allSiteSettingEntitySite { | |
edges { | |
node { |
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
/** | |
* @file | |
* Testing a demo of Drupal. The script will log in and check for various | |
* features in Drupal core. This demo was inspired by a similar script for | |
* a Wordpress site. The original script was written by Henrique Vicente. | |
* | |
* @see https://github.com/henvic/phantom-casper-simple-talk/blob/master/wordpress.js | |
*/ | |
// Set up variables to visit a URL and log in. |
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
When I go to "/node/add" | |
And follow "Campaign" | |
And should see "Create Campaign" | |
And fill in "Campaign Name" with "Test campaign [autotest]" | |
And fill in "field_layout[und][0][template_fields][inputs][content_fields][vertical_tabs][0][fieldset][top][textarea][value]" with "Campaign banner text here" | |
And attach the file "misc/arrow-asc.png" to "files[field_image_und_0]" | |
And select "autotest_donation_basic: Test donation product [autotest]" from "field_donation_product[und]" | |
And uncheck "path[pathauto]" | |
And fill in "path[alias]" with "autotest-campaign" | |
And press "Save" |
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 | |
/** | |
* Implements hook_libraries_info() | |
*/ | |
function taleo_libraries_info() { | |
return array( | |
'Taleo' => array( | |
'name' => 'Taleo PHP Library', | |
'xautoload' => '_taleo_xautoload', |