Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic 2385/caleb #175

Open
wants to merge 36 commits into
base: 5.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
dfa4bf8
Removed Scenario Outline for homepage-lomita.feature in products/jsa
caleb-jones Aug 4, 2017
e8ed7c4
Removed Scenario Outline for homepage-mayfield-dynamic.feature in pro…
caleb-jones Aug 4, 2017
fbb75bc
Removed Scenario Outline for homepage-mayfield-static.feature in prod…
caleb-jones Aug 4, 2017
2a4e546
Removed Scenario Outline for homepage-palm-dynamic.feature in product…
caleb-jones Aug 4, 2017
b7b7610
Removed Scenario Outline for homepage.feature in products/jsa
caleb-jones Aug 7, 2017
d022bbd
Removed Scenario Outline for homepage-palm-static.feature in products…
caleb-jones Aug 7, 2017
32a0bd1
Removed Scenario Outline for homepage-panama-dynamic.feature in produ…
caleb-jones Aug 7, 2017
35f2e23
Removed Scenario Outline for homepage-panama-static.feature in produc…
caleb-jones Aug 7, 2017
1e4f4ea
Removed Scenario Outline for homepage-serra-dynamic.feature in produc…
caleb-jones Aug 7, 2017
72baa9b
Removed Scenario Outline for homepage-serra-static.feature in product…
caleb-jones Aug 7, 2017
4d309b7
Removed Scenario Outline for stanford_person_layout_views.feature in …
caleb-jones Aug 7, 2017
6388a54
Removed Scenario Outline for customize_design.feature in products/jsa
caleb-jones Aug 7, 2017
7b0dee2
Removed Scenario Outline for homepage_hoover.feature in products/jsa
caleb-jones Aug 7, 2017
526f157
Removed Scenario Outline for homepage_morris.feature in products/jsa
caleb-jones Aug 7, 2017
11a714e
Removed Scenario Outline for stanford_sites_helper.feature in product…
caleb-jones Aug 7, 2017
11e320a
Removed Scenario Outline for stanford_sites_helper.feature in product…
caleb-jones Aug 7, 2017
b7c8692
Removed Scenario Outline for homepage.feature in products/jsa
caleb-jones Aug 7, 2017
b315355
Removed Scenario Outline for homepage.feature in products/jslbre
caleb-jones Aug 7, 2017
2e16b2c
Removed Scenario Outline for homepage.feature in products/jsplus
caleb-jones Aug 7, 2017
9ad5728
Removed Scenario Outline for homepage.feature in products/jsv
caleb-jones Aug 7, 2017
6364ae5
Removed Scenario Outline for homepage.feature in products/jsvpsa
caleb-jones Aug 7, 2017
bf14411
Added indents for readability for stanford_sites_helper.feature in p…
caleb-jones Aug 7, 2017
74746b7
Fixed typos in homepage-mayfield-static.feature in products/jsa
caleb-jones Aug 7, 2017
42d9c1b
Fixed typos in homepage-palm-dynamic.feature in products/jsa
caleb-jones Aug 7, 2017
970a7cc
Changed Scenarios within jsa/stanford_jumpstart_home features to not …
caleb-jones Aug 9, 2017
389a0ed
Changed Scenarios within jsa/stanford_person features to not read as …
caleb-jones Aug 9, 2017
f5ffd71
Changed Scenarios within jse/stanford_jumpstart_home features to not …
caleb-jones Aug 9, 2017
61d9062
Changed Scenarios within jse/stanford_sites_helper features to not re…
caleb-jones Aug 9, 2017
ab6e481
Changed Scenarios within jsl features to not read as Scenario Outlines
caleb-jones Aug 9, 2017
0817d7c
Changed Scenarios within jslbre features to not read as Scenario Outl…
caleb-jones Aug 9, 2017
c609434
Changed Scenarios within jsplus features to not read as Scenario Outl…
caleb-jones Aug 9, 2017
e867aa6
Changed Scenarios within jsv features to not read as Scenario Outlines
caleb-jones Aug 9, 2017
37ce09f
Changed Scenarios within jsvpsa features to not read as Scenario Outl…
caleb-jones Aug 9, 2017
3f0cd35
SOE-2385: Get jse/stanford_jumpstart_homepage working
cjwest Mar 23, 2018
4a40321
BASIC-2385: add deploy tags to person
cjwest Mar 26, 2018
af65315
SOE-2385: fixes for homepage.feature
cjwest Mar 29, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,29 @@ Feature: Stanford Jumpstart Home Feature
I want to check for the existence of content that should appear

@api @safe
Scenario Outline: Verify items on the Customized Design Page
Scenario: Verify items on the Customized Design Page
Given I am logged in as a user with the "administrator" role
And I am on "admin/stanford-jumpstart/customize-design"
Then I should see "<Text>" in the "<Region>" region

Examples:
| Text | Region |
| Hoover | Content Body |
| Morris | Content Body |
| Terman | Content Body |
| Pettit | Content Body |
| Light | Content Body |
| Plain | Content Body |
| Rich | Content Body |
| High Contrast | Content Body |
| Cardinal | Content Body |
| Sans Serif | Content Body |
| Serif | Content Body |
| Slab Serif | Content Body |

Then I should see "Hoover" in the "Content Body" region
Then I should see "Morris" in the "Content Body" region
Then I should see "Terman" in the "Content Body" region
Then I should see "Pettit" in the "Content Body" region
Then I should see "Light" in the "Content Body" region
Then I should see "Plain" in the "Content Body" region
Then I should see "Rich" in the "Content Body" region
Then I should see "High Contrast" in the "Content Body" region
Then I should see "Cardinal" in the "Content Body" region
Then I should see "Sans Serif" in the "Content Body" region
Then I should see "Serif" in the "Content Body" region
Then I should see "Slab Serif" in the "Content Body" region

@api @safe
Scenario Outline: Verify items on the Customized Design Page
Scenario: Verify items on the Customized Design Page
Given I am logged in as a user with the "administrator" role
And I am on "admin/stanford-jumpstart/customize-design"
Then I should not see "<Text>" in the "<Region>" region

Examples:
| Text | Region |
| Serra | Content Body |
| Lomita | Content Body |
| Panama | Content Body |
| Mayfield | Content Body |
| Dark | Content Body |
| Bright | Content Body |



Then I should not see "Serra" in the "Content Body" region
Then I should not see "Lomita" in the "Content Body" region
Then I should not see "Panama" in the "Content Body" region
Then I should not see "Mayfield" in the "Content Body" region
Then I should not see "Dark" in the "Content Body" region
Then I should not see "Bright" in the "Content Body" region
Original file line number Diff line number Diff line change
Expand Up @@ -3,55 +3,33 @@ Feature: Hoover Homepage Layout
As an end user
I want to check for the existence of content that should appear

@api @dev @destructive @javascript
Scenario: Enable the Hoover homepage layout as administrator


@api @dev @destructive
Scenario: Enable the Hoover homepage as administrator and verify layout
Given I am logged in as a user with the "administrator" role
And I am on "admin/stanford-jumpstart/customize-design"
Then I press the "edit-layouts-stanford-jumpstart-home-hoover-selector" button

@deploy
Scenario Outline: Header content for hoover homepage
# Header content for hoover homepage
Given I am on the homepage
Then I should see the "<Header>" heading in the "<Region>" region
Then I should see the "About" heading in the "Main Top" region
Then I should see the "Small Custom Block" heading in the "Content Lower" region
Then I should see the "Large Custom Block" heading in the "Content Lower" region
Then I should see the "Contact Us" heading in the "Footer" region

Examples:
| Header | Region |
| About | Main Top |
| Small Custom Block | Content Lower |
| Large Custom Block | Content Lower |
| Affiliates | Main Bottom |
| Contact Us | Footer |

@deploy
Scenario Outline: Homepage content hoover
# Homepage content hoover
Given I am on the homepage
Then I should see "<Text>" in the "<Region>" region

Examples:
| Text | Region |
| This is your About block | Main Top |
| You can use this block to highlight content | Content Lower |
| This is your large custom block | Content Lower |
| This is your custom | Footer |

@safe
Scenario Outline: Homepage links on hoover
Given I am on the homepage
Then I should see the link "<Link>" in the "<Region>" region

Examples:
| Link | Region |
| More about us | Main Top |
| Learn more | Content Lower |
| Learn more | Content Lower |
Then I should see "This is your About block" in the "Main Top" region
Then I should see "You can use this block to highlight content" in the "Content Lower" region
Then I should see "This is your large custom block" in the "Content Lower" region
Then I should see "This is your custom" in the "Footer" region

@deploy
Scenario: Affiliate Organizations page is visible and link in the main menu
# Homepage links on hoover
Given I am on the homepage
Then I should see "Affiliates" in the "Main Bottom" region
Then I should see 5 or more ".views-field-field-s-affiliate-image" elements
Then I should see the link "More about us" in the "Main Top" region
Then I should see the link "Learn more" in the "Content Lower" region

@deploy
Scenario: Homepage image Hoover
# Homepage image Hoover
Given I am on the homepage
Then I should see 1 ".field-name-field-s-image-image" element in the "Main Top" region
Original file line number Diff line number Diff line change
Expand Up @@ -3,55 +3,33 @@ Feature: Morris Homepage Layout
As an end user
I want to check for the existence of content that should appear

@api @dev @destructive @javascript
@api @dev @destructive
Scenario: Enable the Morris News & Events homepage layout as administrator
Given I am logged in as a user with the "administrator" role
And I am on "admin/stanford-jumpstart/customize-design"
Then I press the "edit-layouts-stanford-jumpstart-home-morris-selector" button

@deploy
Scenario Outline: Header content for Morris
# Header content for Morris
Given I am on the homepage
Then I should see the "<Header>" heading in the "<Region>" region
Then I should see the "About" heading in the "Main Top" region
Then I should see the "Small Custom Block" heading in the "Content 3 column flow" region
Then I should see the "Recent News" heading in the "Content 3 column flow" region
Then I should see the "Upcoming Events" heading in the "Content 3 column flow" region

Examples:
| Header | Region |
| About | Main Top |
| Small Custom Block | Content 3 column flow |
| Recent News | Content 3 column flow |
| Upcoming Events | Content 3 column flow |

@deploy
Scenario Outline: Homepage content Morris
# Homepage content Morris
Given I am on the homepage
Then I should see "<Text>" in the "<Region>" region

Examples:
| Text | Region |
| This is your About block | Main Top |
| Sample News | Content 3 column flow |
| You can use this block to highlight content | Content 3 column flow |
| See more events | Content 3 column flow |
Then I should see "This is your About block" in the "Main Top" region
Then I should see "Sample News" in the "Content 3 column flow" region
Then I should see "You can use this block to highlight content" in the "Content 3 column flow" region
Then I should see "See more events" in the "Content 3 column flow" region

@deploy
Scenario Outline: Homepage links Morris
# Homepage links Morris
Given I am on the homepage
Then I should see the link "<Link>" in the "<Region>" region

Examples:
| Link | Region |
| More about us | Main Top |
| Learn more | Content 3 column flow |
| See more news | Content 3 column flow |
| See more events | Content 3 column flow |
Then I should see the link "More about us" in the "Main Top" region
Then I should see the link "Learn more" in the "Content 3 column flow" region
Then I should see the link "See more news" in the "Content 3 column flow" region
Then I should see the link "See more events" in the "Content 3 column flow" region

@deploy
Scenario: Homepage image Morris
# Homepage image Morris
Given I am on the homepage
Then I should see 1 ".field-name-field-s-image-image" element in the "Main Top" region

@deploy
Scenario: Affiliate Organizations page is visible and link on the main menu
Given I am on the homepage
Then I should see "Affiliates" in the "Main Bottom" region
Then I should see 5 or more ".views-field-field-s-affiliate-image" elements
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,13 @@ Feature: Lomita Homepage Layout
Then I should see the heading "Access denied" in the "Branding" region

@api @deploy
Scenario Outline: Homepage content
Scenario: Homepage content
Given I am on the homepage
And the cache has been cleared
Then I should see "<Text>" in the "<Region>" region

Examples:
| Text | Region |
| Feature a tagline or website subtitle here | Main Top |
| To edit the block and remove this placeholder content, hover over the block, click on the gear widget and select | Main Top |
| Add a video, image, or other featured content to this block. | Main Top |
| Building Name Room 555 | Footer |
Then I should see "Feature a tagline or website subtitle here" in the "Main Top" region
Then I should see "To edit the block and remove this placeholder content, hover over the block, click on the gear widget and select" in the "Main Top" region
Then I should see "Add a video, image, or other featured content to this block." in the "Main Top" region
Then I should see "Building Name Room 555" in the "Footer" region

@api @safe
Scenario: Homepage video block
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,39 +11,27 @@ Feature: Mayfield Homepage Layout
Then I press the "edit-layouts-stanford-jumpstart-home-mayfield-news-events-selector" button

@dev
Scenario Outline: Header content for mayfield with news and events.
Scenario: Header content for mayfield with news and events.
Given I am on the homepage
Then I should see the "<Header>" heading in the "<Region>" region

Examples:
| Header | Region |
| About | Content 3 column flow |
| Recent News | Content 3 column flow |
| Upcoming Events | Content 3 column flow |
Then I should see the "About" heading in the "Content 3 column flow" region
Then I should see the "Recent News" heading in the "Content 3 column flow" region
Then I should see the "Upcoming Events" heading in the "Content 3 column flow" region

@safe
Scenario Outline: Homepage content for mayfield with news and events
Scenario: Homepage content for mayfield with news and events
Given I am on the homepage
Then I should see "<Text>" in the "<Region>" region

Examples:
| Text | Region |
| Feature a tagline or website subtitle here | Main Top |
| Do the right thing. It will gratify some people and astonish the rest. | Main Top |
| Mark Twain | Main Top |
| This is your About block | Content 3 column flow |
| Recent News | Content 3 column flow |
| Upcoming Events | Content 3 column flow |
Then I should see "Feature a tagline or website subtitle here" in the "Main Top" region
Then I should see "Do the right thing. It will gratify some people and astonish the rest." in the "Main Top" region
Then I should see "Mark Twain" in the "Main Top" region
Then I should see "This is your About block" in the "Content 3 column flow" region
Then I should see "Recent News" in the "Content 3 column flow" region
Then I should see "Upcoming Events" in the "Content 3 column flow" region

@safe
Scenario Outline: Homepage links for mayfield with news and events
Scenario: Homepage links for mayfield with news and events
Given I am on the homepage
Then I should see the link "<Link>" in the "<Region>" region

Examples:
| Link | Region |
| About us | Main Top |
| Learn more about Mark Twain | Main Top |
| More about us | Content 3 column flow |
| See more news | Content 3 column flow |
| See more events | Content 3 column flow |
Then I should see the link "About us" in the "Main Top" region
Then I should see the link "Learn more about Mark Twain" in the "Main Top" region
Then I should see the link "More about us" in the "Content 3 column flow" region
Then I should see the link "See more news" in the "Content 3 column flow" region
Then I should see the link "See more events" in the "Content 3 column flow" region
Original file line number Diff line number Diff line change
Expand Up @@ -20,42 +20,30 @@ Feature: Mayfield Homepage Layout
Then I should see the heading "Access denied" in the "Branding" region

@api @safe
Scenario Outline: Header content for mayfield without news and events.
Scenario: Header content for mayfield without news and events.
Given I am on the homepage
And the cache has been cleared
Then I should see the "<Header>" heading in the "<Region>" region

Examples:
| Header | Region |
| About | Content 3 column flow |
| In the Spotlight | Content 3 column flow |
| Announcements | Content 3 column flow |
Then I should see the "About" heading in the "Content 3 column flow" region
Then I should see the "In the Spotlight" heading in the "Content 3 column flow" region
Then I should see the "Announcements" heading in the "Content 3 column flow" region

@api @safe
Scenario Outline: Homepage content for mayfield without news and events
Scenario: Homepage content for mayfield without news and events
Given I am on the homepage
And the cache has been cleared
Then I should see "<Text>" in the "<Region>" region

Examples:
| Text | Region |
| Feature a tagline or website subtitle here | Main Top |
| Do the right thing | Main Top |
| Mark Twain | Main Top |
| This is your About block. Here you can post a short description of your group or organization | Content 3 column flow |
| This is your Highlights block | Content 3 column flow |
| This is your Announcements block | Content 3 column flow |
Then I should see "Feature a tagline or website subtitle here" in the "Main Top" region
Then I should see "Do the right thing" in the "Main Top" region
Then I should see "Mark Twain" in the "Main Top" region
Then I should see "This is your About block. Here you can post a short description of your group or organization" in the "Content 3 column flow" region
Then I should see "This is your Highlights block" in the "Content 3 column flow" region
Then I should see "This is your Announcements block" in the "Content 3 column flow" region

@api @safe
Scenario Outline: Homepage links for mayfield without news and events
Scenario: Homepage links for mayfield without news and events
Given I am on the homepage
And the cache has been cleared
Then I should see the link "<Link>" in the "<Region>" region

Examples:
| Link | Region |
| About us | Main Top |
| Learn more about Mark Twain | Main Top |
| More about us | Content 3 column flow |
| More information | Content 3 column flow |
| Learn more about our programs | Content 3 column flow |
Then I should see the link "About us" in the "Main Top" region
Then I should see the link "Learn more about Mark Twain" in the "Main Top" region
Then I should see the link "More about us" in the "Content 3 column flow" region
Then I should see the link "More information" in the "Content 3 column flow" region
Then I should see the link "Learn more about our programs" in the "Content 3 column flow" region
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,24 @@ Feature: Palm Homepage Layout
Then I press the "edit-layouts-stanford-jumpstart-home-palm-news-events-selector" button

@safe
Scenario Outline: Header content for palm news and events
Scenario: Header content for palm news and events
Given I am on the homepage
Then I should see the "<Header>" heading in the "<Region>" region

Examples:
| Header | Region |
| Welcome to your site! | Main Top |
| About | Content 3 column flow |
| Recent News | Content 3 column flow |
| Upcoming Events | Content 3 column flow |
Then I should see the "Welcome to your site!" heading in the "Main Top" region
Then I should see the "About" heading in the "Content 3 column flow" region
Then I should see the "Recent News" heading in the "Content 3 column flow" region
Then I should see the "Upcoming Events" heading in the "Content 3 column flow" region

@safe
Scenario Outline: Homepage content for plam news and events
Scenario: Homepage content for palm news and events
Given I am on the homepage
Then I should see "<Text>" in the "<Region>" region

Examples:
| Text | Region |
| Edit this block to change the image and caption. | Main Top |
| This is your About block. | Content 3 column flow |
| Sample News | Content 3 column flow |
Then I should see "Edit this block to change the image and caption." in the "Main Top" region
Then I should see "This is your About block." in the "Content 3 column flow" region
Then I should see "Sample News" in the "Content 3 column flow" region

@safe
Scenario Outline: Homepage links for palm news and events
Scenario: Homepage links for palm news and events
Given I am on the homepage
Then I should see the link "<Link>" in the "<Region>" region

Examples:
| Link | Region |
| Example link | Main Top |
| More about us | Content 3 column flow |
| See more news | Content 3 column flow |
| See more events | Content 3 column flow |
Then I should see the link "Example link" in the "Main Top" region
Then I should see the link "More about us" in the "Content 3 column flow" region
Then I should see the link "See more news" in the "Content 3 column flow" region
Then I should see the link "See more events" in the "Content 3 column flow" region
Loading