From dd507512099c40680d85ac9dd09a059d1921b024 Mon Sep 17 00:00:00 2001 From: John Bickar Date: Tue, 26 Sep 2017 11:14:06 -0700 Subject: [PATCH 1/7] Add symlink to stanford_page.feature --- sites/uat/features/high-value/stanford_page.feature | 1 + 1 file changed, 1 insertion(+) create mode 120000 sites/uat/features/high-value/stanford_page.feature diff --git a/sites/uat/features/high-value/stanford_page.feature b/sites/uat/features/high-value/stanford_page.feature new file mode 120000 index 00000000..e953846e --- /dev/null +++ b/sites/uat/features/high-value/stanford_page.feature @@ -0,0 +1 @@ +../../../../includes/features/SU-SWS/stanford_page/stanford_page.feature \ No newline at end of file From 3cf43c2a04940f9836b62a88ee8e8d77ee60b446 Mon Sep 17 00:00:00 2001 From: John Bickar Date: Fri, 29 Sep 2017 13:01:15 -0700 Subject: [PATCH 2/7] Switch to standalone stanford_page.feature --- .../features/high-value/stanford_page.feature | 43 ++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) mode change 120000 => 100755 sites/uat/features/high-value/stanford_page.feature diff --git a/sites/uat/features/high-value/stanford_page.feature b/sites/uat/features/high-value/stanford_page.feature deleted file mode 120000 index e953846e..00000000 --- a/sites/uat/features/high-value/stanford_page.feature +++ /dev/null @@ -1 +0,0 @@ -../../../../includes/features/SU-SWS/stanford_page/stanford_page.feature \ No newline at end of file diff --git a/sites/uat/features/high-value/stanford_page.feature b/sites/uat/features/high-value/stanford_page.feature new file mode 100755 index 00000000..ec670e20 --- /dev/null +++ b/sites/uat/features/high-value/stanford_page.feature @@ -0,0 +1,42 @@ +Feature: Stanford Page + In order to ensure that the Stanford Page displays properly + As an end user + I want to verify the display of content. + + @api @safe + Scenario: Check for fields on manage fields page + Given I am logged in as a user with the "administrator" role + And I am on "admin/structure/types/manage/stanford_page/fields" + Then I should see "Title" + And I should see "field_s_image_info" + And I should see "body" + And I should see "field_s_page_image_insert" + And I should see "field_s_page_file" + Then I am on "admin/structure/types/manage/stanford_page/display" + And I should see "Postcard" + And I should see "Postcard Image" + And I should see "Postcard Content" + #And I should see "View mode: Large Scaled" + Then I want to validate select field option "edit-fields-field-s-page-file-type" default is "Generic file" + + @api @dev + Scenario: Add Stanford Page + Given I am logged in as a user with the "administrator" role + And I am on "node/add/stanford-page" + Then I should see the heading "Create Stanford Page" in the "Branding" region + And the "Text format" field should contain "content_editor_text_format" + Then I attach the file "img/ooooaaaahhh.jpg" to "edit-field-s-image-info-und-0-field-s-image-image-und-0-upload" + Then I should see "Source Info" + When I enter "Foo Stanford Page" for "Title" + Then I fill in "body[und][0][value]" with "Hello, this is a nice body" + And I press the "Save" button + Then I should see "Stanford Page Foo Stanford Page has been created" + And I should be on "foo-stanford-page" + And I should see 1 ".field-name-field-s-image-image" element + And I should see "Hello, this is a nice body" + + @api @safe + Scenario: Check for display on manage pages view + Given I am logged in as a user with the "administrator" role + And I am on "admin/structure/views" + Then I should see "Stanford Page: Manage" From 69290f1fa6ba7dedb93279d88cc8e8c6d4d93317 Mon Sep 17 00:00:00 2001 From: John Bickar Date: Fri, 29 Sep 2017 20:11:18 -0700 Subject: [PATCH 3/7] Maybe finally fix the failing stanford_news tests --- sites/uat/features/high-value/stanford_news_global | 1 - sites/uat/features/high-value/stanford_news_global.feature | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 120000 sites/uat/features/high-value/stanford_news_global create mode 120000 sites/uat/features/high-value/stanford_news_global.feature diff --git a/sites/uat/features/high-value/stanford_news_global b/sites/uat/features/high-value/stanford_news_global deleted file mode 120000 index 23e3882a..00000000 --- a/sites/uat/features/high-value/stanford_news_global +++ /dev/null @@ -1 +0,0 @@ -../../../../includes/features/SU-SWS/stanford_news \ No newline at end of file diff --git a/sites/uat/features/high-value/stanford_news_global.feature b/sites/uat/features/high-value/stanford_news_global.feature new file mode 120000 index 00000000..e2b6d449 --- /dev/null +++ b/sites/uat/features/high-value/stanford_news_global.feature @@ -0,0 +1 @@ +../../../../includes/features/SU-SWS/stanford_news/stanford_news.feature \ No newline at end of file From 28dd4fd4710777b84331be34f209021686c7f090 Mon Sep 17 00:00:00 2001 From: John Bickar Date: Sat, 30 Sep 2017 08:38:43 -0700 Subject: [PATCH 4/7] !fixup Checking Travis --- sites/uat/features/high-value/date_ical.feature | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sites/uat/features/high-value/date_ical.feature b/sites/uat/features/high-value/date_ical.feature index cb1d24a9..e8ca79af 100644 --- a/sites/uat/features/high-value/date_ical.feature +++ b/sites/uat/features/high-value/date_ical.feature @@ -26,6 +26,8 @@ Feature: Date iCal And I am logged in as a user with the "administrator" role And I am on "admin/structure/types/manage/page/display" And I click "Custom display settings" + # Testing to see if Travis will comply + And I wait one second And I wait for AJAX to finish And I check the box "iCal" And I press the "Save" button From 8be3769299417816f6f6571a11eeda39553cc658 Mon Sep 17 00:00:00 2001 From: John Bickar Date: Sat, 30 Sep 2017 08:52:15 -0700 Subject: [PATCH 5/7] !fixup syntax --- sites/uat/features/high-value/date_ical.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/uat/features/high-value/date_ical.feature b/sites/uat/features/high-value/date_ical.feature index e8ca79af..02a9ed30 100644 --- a/sites/uat/features/high-value/date_ical.feature +++ b/sites/uat/features/high-value/date_ical.feature @@ -27,7 +27,7 @@ Feature: Date iCal And I am on "admin/structure/types/manage/page/display" And I click "Custom display settings" # Testing to see if Travis will comply - And I wait one second + And I wait 1 second And I wait for AJAX to finish And I check the box "iCal" And I press the "Save" button From 179e6c85e99042df0f31dac4d60eea7b601d39e6 Mon Sep 17 00:00:00 2001 From: John Bickar Date: Sat, 30 Sep 2017 09:05:31 -0700 Subject: [PATCH 6/7] Revert "!fixup syntax" This reverts commit 8be3769299417816f6f6571a11eeda39553cc658. --- sites/uat/features/high-value/date_ical.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/uat/features/high-value/date_ical.feature b/sites/uat/features/high-value/date_ical.feature index 02a9ed30..e8ca79af 100644 --- a/sites/uat/features/high-value/date_ical.feature +++ b/sites/uat/features/high-value/date_ical.feature @@ -27,7 +27,7 @@ Feature: Date iCal And I am on "admin/structure/types/manage/page/display" And I click "Custom display settings" # Testing to see if Travis will comply - And I wait 1 second + And I wait one second And I wait for AJAX to finish And I check the box "iCal" And I press the "Save" button From dd7d409a827bcc7b6eae214b10b15246e6263deb Mon Sep 17 00:00:00 2001 From: John Bickar Date: Sat, 30 Sep 2017 09:05:37 -0700 Subject: [PATCH 7/7] Revert "!fixup Checking Travis" This reverts commit 28dd4fd4710777b84331be34f209021686c7f090. --- sites/uat/features/high-value/date_ical.feature | 2 -- 1 file changed, 2 deletions(-) diff --git a/sites/uat/features/high-value/date_ical.feature b/sites/uat/features/high-value/date_ical.feature index e8ca79af..cb1d24a9 100644 --- a/sites/uat/features/high-value/date_ical.feature +++ b/sites/uat/features/high-value/date_ical.feature @@ -26,8 +26,6 @@ Feature: Date iCal And I am logged in as a user with the "administrator" role And I am on "admin/structure/types/manage/page/display" And I click "Custom display settings" - # Testing to see if Travis will comply - And I wait one second And I wait for AJAX to finish And I check the box "iCal" And I press the "Save" button