-
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.
item details and work details links were the same so only one will be…
… used
- Loading branch information
1 parent
7138525
commit b71285a
Showing
3 changed files
with
5 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
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
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"; |
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