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
#0 d8 site: node/1 comment form with full html input format by uid0. | |
<script>alert('XSS')</script> | |
_________________________________________________________________________________________________ | |
#1 d8 site: node/1 comment form with full html input format by uid0. | |
It will move the site into maintenance mode | |
<script>setTimeout(function(){ | |
jQuery.get('/drupal_test/admin/config/development/maintenance', | |
function (data, status) { | |
if (status == 'success') { |
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
@test2 | |
Feature: Login and Create content for BehatSite | |
As a Drupal user | |
I need to be able to edit Article and Basic Page | |
Background: Login process for Behat | |
Given I go to "user" | |
When I fill in "edit-name" with "behat_admin_user" | |
And I fill in "edit-pass" with "behat_admin_user" | |
And I press the "edit-submit" button |
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
@test1 | |
Feature: Login and Create content for BehatSite | |
As a Drupal user | |
I need to be able to create Article and Basic Page | |
Background: Login process for Behat | |
Given I go to "user" | |
When I fill in "edit-name" with "behat_admin_user" | |
And I fill in "edit-pass" with "behat_admin_user" | |
And I press the "edit-submit" button |
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
#!/usr/bin/env php | |
<?php | |
//Read CSV | |
//Open the file with correct path. | |
$fileHandle = fopen("/localpath/sites.csv", "r"); | |
//Loop through the CSV rows. | |
while (($row = fgetcsv($fileHandle, 0, ",")) !== FALSE) { | |
//Dump out the row for the sake of clarity. |
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: | |
suites: | |
default: | |
contexts: | |
- FeatureContext | |
- Drupal\DrupalExtension\Context\MinkContext | |
filters: | |
tags: "@test1,@test2,@test3,@test4,@test5" | |
formatters: | |
html: |
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
BehatSite1,dev-behatsite1.pantheonsite.io | |
BehatSite2,dev-behatsite2.pantheonsite.io | |
BehatSite3,dev-behatsite3.pantheonsite.io | |
BehatSite4,dev-behatsite4.pantheonsite.io |
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
#!/usr/bin/env php | |
<?php | |
//Read CSV | |
//Open the file with correct path. | |
$fileHandle = fopen("/localpath/sites.csv", "r"); | |
//Loop through the CSV rows. | |
while (($row = fgetcsv($fileHandle, 0, ",")) !== FALSE) { | |
//Dump out the row for the sake of clarity. |
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": "~3.0", | |
"drupal/drupal-extension": "~3.0", | |
"behat/mink-goutte-driver": "*", | |
"behat/mink-browserkit-driver": "*", | |
"behat/mink-extension": "2.2", | |
"behat/mink-selenium2-driver": "*", | |
"behat/mink": "*", | |
"drush-ops/behat-drush-endpoint": "^8" |