-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into SFR-1760_update_readme_epubtowebpub
- Loading branch information
Showing
11 changed files
with
193 additions
and
198 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
Feature: Read Online Link Targets | ||
|
||
Scenario: As a user I click the Read Online button on the search results page and in the item detail page and their link targets navigate to the same website | ||
Given I go to the "search result" page | ||
Given I go to the "search results" page | ||
When I click the "first read online button" | ||
Then the "Hathi Trust website" should be displayed | ||
Given I go to the "work details" page | ||
Given I go to the "item details" page | ||
When I click the "first read online button" | ||
Then the "Hathi Trust website" should be displayed | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,27 @@ | ||
Feature: As a user I want to verify all the footer links are displayed and working as expected | ||
Feature: Footer Links | ||
|
||
Scenario: As as user I verify the headers and footers of Advanced Search Page | ||
Given I go to the "home" page | ||
When I click the "advanced search link" | ||
And the "advanced search breadcrumb" should be displayed | ||
And the "accessibility footer link" should be displayed | ||
Scenario: As a user I navigate to each Digital Research Books page and verify the footer links are displayed | ||
Given I go to the <DRB> page | ||
Then the "accessibility footer link" should be displayed | ||
And the "press footer link" should be displayed | ||
And the "careers footer link" should be displayed | ||
And the "space rental footer link" should be displayed | ||
And the "privacy footer link" should be displayed | ||
And the "privacy policy footer link" should be displayed | ||
And the "other policies footer link" should be displayed | ||
And the "terms and conditions footer link" should be displayed | ||
And the "governance footer link" should be displayed | ||
And the "rules and regulations footer link" should be displayed | ||
And the "about footer link" should be displayed | ||
And the "about NYPL footer link" should be displayed | ||
And the "language footer link" should be displayed | ||
|
||
|
||
Scenario Outline: As a user when I click on footer links I should be navigated to respective landing page | ||
Given I go to the "home" page | ||
Then I click the <footer link> | ||
And the <page heading> should be displayed | ||
|
||
Examples: | ||
| footer link | page heading | | ||
| "accessibility footer link" | "accessibility page heading" | | ||
| "press footer link" | "press page heading" | | ||
| "careers footer link" | "careers page heading" | | ||
| "space rental footer link" | "space rental page heading" | | ||
| "privacy footer link" | "privacy page heading" | | ||
| "other policies footer link" | "other policies page heading" | | ||
| "terms and conditions footer link" | "terms and conditions page heading" | | ||
| "governance footer link" | "governance page heading" | | ||
| "rules and regulations footer link" | "rules and regulations page heading" | | ||
| "about footer link" | "about page heading" | | ||
| "language footer link" | "language page heading" | | ||
| DRB | | ||
| "home" | | ||
| "advanced search" | | ||
| "search results" | | ||
| "item details" | | ||
| "edition details" | | ||
| "collection" | | ||
| "read online" | | ||
| "license" | | ||
| "about" | |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,49 @@ | ||
Feature: Header Links | ||
|
||
Scenario: As a user I navigate to the Digital Research Books home page and header links navigate to the correct pages (one click) | ||
Given I go to the "home" page | ||
When I click the <header link> | ||
Then the <page heading> should be displayed | ||
Scenario: As a user I navigate to each Digital Research Books page and verify the header links are displayed | ||
Given I go to the <DRB> page | ||
Then the "header logo" should be displayed | ||
And the "my account header link" should be displayed | ||
And the "locations header link" should be displayed | ||
And the "library card header link" should be displayed | ||
And the "email updates header link" should be displayed | ||
And the "donate header link" should be displayed | ||
And the "shop header link" should be displayed | ||
And the "books music movies header link" should be displayed | ||
And the "research header link" should be displayed | ||
And the "education header link" should be displayed | ||
And the "events header link" should be displayed | ||
And the "connect header link" should be displayed | ||
And the "give header link" should be displayed | ||
And the "get help header link" should be displayed | ||
And the "search header link" should be displayed | ||
|
||
Examples: | ||
| header link | page heading | | ||
| "header logo" | "spotlight heading" | | ||
| "locations header link" | "find your library page heading" | | ||
| "library card header link" | "library card page heading" | | ||
| "email updates header link" | "email updates page heading" | | ||
| "donate header link" | "donate page heading" | | ||
| "shop header link" | "shop page heading" | | ||
| "books music movies header link" | "books music movies page heading" | | ||
| "research header link" | "research page heading" | | ||
| "education header link" | "education page heading" | | ||
| "events header link" | "events page heading" | | ||
| "connect header link" | "connect page heading" | | ||
| "give header link" | "give page heading" | | ||
| "get help header link" | "get help page heading" | | ||
| "search header link" | "search header label" | | ||
|
||
Examples: | ||
| DRB | | ||
| "home" | | ||
| "advanced search" | | ||
| "search results" | | ||
| "item details" | | ||
| "edition details" | | ||
| "collection" | | ||
| "read online" | | ||
| "license" | | ||
| "about" | | ||
|
||
Scenario: As a user I navigate to the Digital Research Books home page and header links navigate to the correct pages (two clicks) | ||
Scenario: As a user I navigate to the Digital Research Books home page and verify the account and search header sub-links and elements are displayed | ||
Given I go to the "home" page | ||
When I click the <first header link> | ||
And I click the <second header link> | ||
Then the <page heading> should be displayed | ||
Then the <second header link> should be displayed | ||
|
||
Examples: | ||
| first header link | second header link | page heading | | ||
| "my account header link" | "catalog header link" | "my account login form" | | ||
| "my account header link" | "research catalog header link" | "my account login form" | | ||
| "my account header link" | "close my account header link" | "my account header link" | | ||
| "search header link" | "close search header link" | "search header link" | | ||
| first header link | second header link | | ||
| "my account header link" | "catalog header link" | | ||
| "my account header link" | "research catalog header link" | | ||
| "my account header link" | "close my account header link" | | ||
| "search header link" | "search header label" | | ||
| "search header link" | "search header text field" | | ||
| "search header link" | "search books music movies radio button" | | ||
| "search header link" | "search research catalog radio button" | | ||
| "search header link" | "search library website radio button" | | ||
| "search header link" | "search header button" | | ||
| "search header link" | "close search header link" | |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
export const URL = "playwright"; | ||
// create const for the URL | ||
export const itemDetailURL = | ||
"work/01a28167-8c8d-4141-a32f-718539d5c8a4?featured=949699"; | ||
export const URL = "playwright"; |
Oops, something went wrong.