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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> | |
<meta name="description" content=""> |
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
$("a").live("touchstart", function(e) { | |
$(this).trigger("hover"); | |
}); | |
$("a").live("touchend", function(e) { | |
$(this).trigger("blur"); | |
}); |
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
<h1>This is the primary heading and there should only be one of these per page</h1> | |
<p>A small paragraph to <em>emphasis</em> and show <strong>important</strong> bits.</p> | |
<ul> | |
<li>This is a list item</li> | |
<li>So is this - there could be more</li> | |
<li>Make sure to style list items to: | |
<ul> | |
<li>Not forgetting child list items</li> | |
<li>Not forgetting child list items</li> | |
<li>Not forgetting child list items</li> |
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
{ | |
"require": { | |
"behat/behat": "2.4.*@stable", | |
"behat/mink": "1.5.*@stable", | |
"behat/mink-goutte-driver": "*", | |
"behat/mink-extension": "*", | |
"behat/mink-selenium2-driver": "*", | |
"drupal/drupal-extension": "*", | |
"vipsoft/jira-extension": "*" | |
}, |
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
default: | |
paths: | |
features: features | |
bootstrap: %behat.paths.features%/bootstrap | |
extensions: | |
Behat\MinkExtension\Extension: | |
goutte: ~ | |
selenium2: ~ | |
base_url: http://staging.gatewayconference.com/ | |
files_path: '~/Dropbox/Development/Projects/gateway1/docroot/sites/gwayconf/tests/' |
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 | |
use Behat\Behat\Context\ClosuredContextInterface, | |
Behat\Behat\Context\TranslatedContextInterface, | |
Behat\Behat\Context\BehatContext, | |
Behat\Behat\Exception\PendingException; | |
use Behat\Gherkin\Node\PyStringNode, | |
Behat\Gherkin\Node\TableNode; | |
use Behat\MinkExtension\Context\MinkContext; | |
// |
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: Home Page Tests | |
As an anonymous user | |
I should see a set of tabs that display the conference sponsors | |
I should see a large rotating banner | |
I should see the home page video | |
I should be able to click the Register Now Button | |
@javascript @api | |
Scenario: Checking that important elements have rendered | |
Given I am not logged 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
# https://gist.github.com/jhedstrom/5708233 | |
Feature: Editor Tests | |
As a Conference Manager | |
I should be able to create a Node of type Session | |
@javascript @api | |
Scenario: Make sure Conference Manager can create Session | |
Given I am logged in as a user with the "Conference Manager" role | |
When I visit "node/add/session" |
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: Content Type Tests | |
As an Administrator | |
I should be able to create nodes of all Content Types | |
@api @Env::Backend @Creator::EvanAgee | |
Scenario: Make sure we can create Basic Pages | |
Given I am logged in as a user with the "administrator" role | |
And I visit "node/add/page" | |
Then I enter "BDD TEST BASIC PAGE" for "Title" | |
And I attach the file "photo.jpg" to "edit-field-images-und-0-upload" |
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: Views Tests | |
As an unauthenticated user | |
I should see various views throughout the site | |
@api @Env::Frontend @Creator::EvanAgee | |
Scenario: Check Home Page Views | |
Given I am not logged in | |
Then the element "#views_slideshow_cycle_main_sliding_banners-sliding_banner" should exist | |
Then the element ".view-id-ministry_partner" should exist | |
Then the element ".view-id-speaker" should exist |
OlderNewer