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

Refactoring #27

Merged
merged 8 commits into from
Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
20 changes: 4 additions & 16 deletions src/test/java/features/AudiobookLyrasis.feature
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ Feature: Audiobooks in LYRASIS Reads
| Bibliotheca |
| Palace Marketplace |
| Axis 360 |
| Biblioboard |

@logout @returnBooks @tier1
Scenario Outline: Navigate by Audiobook
Expand Down Expand Up @@ -87,7 +86,6 @@ Feature: Audiobooks in LYRASIS Reads
| Bibliotheca |
| Palace Marketplace |
| Axis 360 |
| Biblioboard |

@logout @returnBooks @tier1
Scenario Outline: Check end of chapter sleep timer
Expand Down Expand Up @@ -116,7 +114,6 @@ Feature: Audiobooks in LYRASIS Reads
| Bibliotheca |
| Palace Marketplace |
| Axis 360 |
| Biblioboard |

@logout @returnBooks @tier1 @exclude_android
Scenario Outline: Check of line for time remaining
Expand All @@ -134,7 +131,6 @@ Feature: Audiobooks in LYRASIS Reads
| Bibliotheca |
| Palace Marketplace |
| Axis 360 |
| Biblioboard |

@logout @returnBooks @tier1
Scenario Outline: Check of switching to the next time
Expand All @@ -156,7 +152,6 @@ Feature: Audiobooks in LYRASIS Reads
| Bibliotheca |
| Palace Marketplace |
| Axis 360 |
| Biblioboard |

@logout @returnBooks @tier1
Scenario Outline: Check playback speed and sleep timer
Expand Down Expand Up @@ -185,7 +180,6 @@ Feature: Audiobooks in LYRASIS Reads
| Bibliotheca |
| Palace Marketplace |
| Axis 360 |
| Biblioboard |

@logout @returnBooks @tier1 @exlude_ios
Scenario Outline: Check time tracking line
Expand Down Expand Up @@ -214,7 +208,6 @@ Feature: Audiobooks in LYRASIS Reads
| Bibliotheca |
| Palace Marketplace |
| Axis 360 |
| Biblioboard |

@logout @returnBooks @tier1 @exclude_ios
Scenario Outline: Check of not rewinding forward and back by tapping on time bar
Expand Down Expand Up @@ -244,7 +237,6 @@ Feature: Audiobooks in LYRASIS Reads
| Palace Marketplace |
| Axis 360 |
| Bibliotheca |
| Biblioboard |

@logout @returnBooks @tier1
Scenario Outline: Playback speed: Check of playback speed
Expand Down Expand Up @@ -283,13 +275,9 @@ Feature: Audiobooks in LYRASIS Reads
| Axis 360 | 1.25 | 8 | 10 |
| Axis 360 | 1.50 | 6 | 9 |
| Axis 360 | 2.0 | 5 | 10 |
| Biblioboard | 0.75 | 8 | 6 |
| Biblioboard | 1.25 | 8 | 10 |
| Biblioboard | 1.50 | 6 | 9 |
| Biblioboard | 2.0 | 5 | 10 |
| Bibliotheca | 0.75 | 8 | 6 |
| Bibliotheca | 1.25 | 8 | 10 |
| Bibliotheca | 1.50 | 6 | 9 |
| Bibliotheca | 2.0 | 5 | 10 |
| Bibliotheca | 2.0 | 5 | 10 |
| Bibliotheca | 2.0 | 5 | 10 |
| Bibliotheca | 2.0 | 5 | 10 |

@logout @returnBooks @tier1
Expand Down Expand Up @@ -342,7 +330,7 @@ Feature: Audiobooks in LYRASIS Reads

@smoke @logout @returnBooks
Scenario: Audiobooks: Perform check of Play button and Pause buttons
When Search for "Down the Hatch" and save bookName as 'bookNameInfo'
When Search for "The Wizard of Oz" and save bookName as 'bookNameInfo'
And Switch to 'Audiobooks' catalog tab
And Open AUDIOBOOK book with GET action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click GET action button on Book details screen
Expand Down
38 changes: 18 additions & 20 deletions src/test/java/features/AudiobookOverdrive.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ Feature: Audiobooks in A1QA library
When Enter credentials for "A1QA Test Library" library
Then Login is performed successfully
When Open Catalog
And Open search modal

@logout @returnBooks @tier2
Scenario: Audiobooks: Open the audiobook at the last open chapter and check time code
When Search for "Catching Fire" and save bookName as 'bookNameInfo'
And Switch to 'Audiobooks' catalog tab
When Switch to "Audiobooks" catalog tab
And Get AUDIOBOOK book from "OverDrive" category and save it as 'bookNameInfo'
And Open AUDIOBOOK book with GET action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click GET action button on Book details screen
Then Check that book contains LISTEN action button on Book details screen
Expand Down Expand Up @@ -58,8 +57,8 @@ Feature: Audiobooks in A1QA library

@logout @returnBooks @tier2
Scenario: Audiobooks: Navigate by Audiobook
When Search for "The Hunger Games" and save bookName as 'bookNameInfo'
And Switch to 'Audiobooks' catalog tab
When Switch to "Audiobooks" catalog tab
And Get AUDIOBOOK book from "OverDrive" category and save it as 'bookNameInfo'
And Open AUDIOBOOK book with GET action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click GET action button on Book details screen
Then Check that book contains LISTEN action button on Book details screen
Expand All @@ -84,8 +83,8 @@ Feature: Audiobooks in A1QA library

@logout @returnBooks @tier2
Scenario: Audiobooks: Check end of chapter sleep timer
When Search for "Waking the Tiger" and save bookName as 'bookNameInfo'
And Switch to 'Audiobooks' catalog tab
When Switch to "Audiobooks" catalog tab
And Get AUDIOBOOK book from "OverDrive" category and save it as 'bookNameInfo'
And Open AUDIOBOOK book with GET action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click GET action button on Book details screen
Then Check that book contains LISTEN action button on Book details screen
Expand All @@ -95,7 +94,6 @@ Feature: Audiobooks in A1QA library
And Open the 1 chapter on toc audiobook screen and save the chapter name as 'chapterName' and chapter number as 'chapterNumber'
And Set END_OF_CHAPTER sleep timer on sleep timer audiobook screen
And Select "2"X playback speed on playback speed audiobook screen
And Stretch slider on the time tracking line forward on audio player screen
And Listen a chapter on audio player screen
Then Play button is present on audio player screen
When Save the name of chapter as 'nextChapter' on audio player screen
Expand All @@ -104,8 +102,8 @@ Feature: Audiobooks in A1QA library

@logout @returnBooks @tier2 @exclude_android
Scenario: Audiobooks: Check of line for time remaining
When Search for "Mockingjay" and save bookName as 'bookNameInfo'
And Switch to 'Audiobooks' catalog tab
When Switch to "Audiobooks" catalog tab
And Get AUDIOBOOK book from "OverDrive" category and save it as 'bookNameInfo'
And Open AUDIOBOOK book with GET action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click GET action button on Book details screen
Then Check that book contains LISTEN action button on Book details screen
Expand All @@ -115,8 +113,8 @@ Feature: Audiobooks in A1QA library

@logout @returnBooks @tier2
Scenario: Audiobooks: Check of switching to the next chapter
When Search for "The King's Taster" and save bookName as 'bookNameInfo'
And Switch to 'Audiobooks' catalog tab
When Switch to "Audiobooks" catalog tab
And Get AUDIOBOOK book from "OverDrive" category and save it as 'bookNameInfo'
And Open AUDIOBOOK book with GET action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click GET action button on Book details screen
Then Check that book contains LISTEN action button on Book details screen
Expand All @@ -130,8 +128,8 @@ Feature: Audiobooks in A1QA library

@logout @returnBooks @tier2
Scenario: Audiobooks: Check closing playback speed and sleep timer
When Search for "The Lost Symbol" and save bookName as 'bookNameInfo'
And Switch to 'Audiobooks' catalog tab
When Switch to "Audiobooks" catalog tab
And Get AUDIOBOOK book from "OverDrive" category and save it as 'bookNameInfo'
And Open AUDIOBOOK book with GET action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click GET action button on Book details screen
Then Check that book contains LISTEN action button on Book details screen
Expand All @@ -149,8 +147,8 @@ Feature: Audiobooks in A1QA library

@logout @returnBooks @tier2
Scenario: Audiobooks: Check time tracking line
When Search for "The Art of Racing in the Rain" and save bookName as 'bookNameInfo'
And Switch to 'Audiobooks' catalog tab
When Switch to "Audiobooks" catalog tab
And Get AUDIOBOOK book from "OverDrive" category and save it as 'bookNameInfo'
And Open AUDIOBOOK book with GET action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click GET action button on Book details screen
Then Check that book contains LISTEN action button on Book details screen
Expand All @@ -171,8 +169,8 @@ Feature: Audiobooks in A1QA library

@logout @returnBooks @tier2
Scenario: Audiobooks: Check of not rewinding forward and back by tapping on time bar
When Search for "Master and Commander" and save bookName as 'bookNameInfo'
And Switch to 'Audiobooks' catalog tab
When Switch to "Audiobooks" catalog tab
And Get AUDIOBOOK book from "OverDrive" category and save it as 'bookNameInfo'
And Open AUDIOBOOK book with GET action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click GET action button on Book details screen
Then Check that book contains LISTEN action button on Book details screen
Expand All @@ -194,8 +192,8 @@ Feature: Audiobooks in A1QA library

@logout @returnBooks @tier2
Scenario Outline: Audiobooks: Playback speed: Check of playback speed
When Search for "The Lightning Thief" and save bookName as 'bookNameInfo'
And Switch to 'Audiobooks' catalog tab
When Switch to "Audiobooks" catalog tab
And Get AUDIOBOOK book from "OverDrive" category and save it as 'bookNameInfo'
And Open AUDIOBOOK book with GET action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click GET action button on Book details screen
Then Check that book contains LISTEN action button on Book details screen
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/features/BookDetailView.feature
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ Feature: Book detail view screen
Then Library "LYRASIS Reads" is opened on Libraries screen
When Open Catalog
And Open search modal
And Search for "Renaissance Futurities" and save bookName as 'bookNameInfo'
And Search for "Friended" and save bookName as 'bookNameInfo'
And Open book with GET action button and 'bookNameInfo' bookName on catalog books screen
And Click GET action button on Book details screen
Then Sing in screen is opened
Expand Down
11 changes: 7 additions & 4 deletions src/test/java/features/EpubLyrasis.feature
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ Feature: Read EPUB in Lyrasis Reads
| Bibliotheca |
| Palace Marketplace |
| Axis 360 |
| BiblioBoard |

@logout @returnBooks @tier1
Scenario Outline: Navigate by bookmarks
Expand Down Expand Up @@ -203,6 +204,7 @@ Feature: Read EPUB in Lyrasis Reads
| Bibliotheca |
| Palace Marketplace |
| Axis 360 |
| BiblioBoard |

@logout @returnBooks @tier1
Scenario Outline: Delete bookmarks
Expand Down Expand Up @@ -232,6 +234,7 @@ Feature: Read EPUB in Lyrasis Reads
| Bibliotheca |
| Palace Marketplace |
| Axis 360 |
| BiblioBoard |

@logout @returnBooks @tier1
Scenario: Read ebooks: Search: Perform check of the placeholder
Expand Down Expand Up @@ -365,7 +368,7 @@ Feature: Read EPUB in Lyrasis Reads

@smoke @logout @returnBooks
Scenario: Read ebooks: Search: Perform check of Search icon
When Search for "The Voyages of Doctor Dolittle" and save bookName as 'bookNameInfo'
When Search for "Quicksand" and save bookName as 'bookNameInfo'
And Click GET action button on EBOOK book with 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Open EBOOK book with READ action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click READ action button on Book details screen
Expand All @@ -375,7 +378,7 @@ Feature: Read EPUB in Lyrasis Reads

@smoke @logout @returnBooks
Scenario: Read ebooks: Search: Perform check of entering characters
When Search for "The Story of Doctor Dolittle" and save bookName as 'bookNameInfo'
When Search for "The Perishing" and save bookName as 'bookNameInfo'
And Click GET action button on EBOOK book with 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Open EBOOK book with READ action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click READ action button on Book details screen
Expand All @@ -386,7 +389,7 @@ Feature: Read EPUB in Lyrasis Reads

@logout @returnBooks @smoke
Scenario: Read ebooks: Search: Perform check of finding an existing word
When Search for "Make for the Hills" and save bookName as 'bookNameInfo'
When Search for "Tell A Thousand Lies" and save bookName as 'bookNameInfo'
And Click GET action button on EBOOK book with 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Open EBOOK book with READ action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click READ action button on Book details screen
Expand All @@ -397,7 +400,7 @@ Feature: Read EPUB in Lyrasis Reads

@logout @returnBooks @smoke
Scenario: Read ebooks: Search: Perform check of the "Delete" button
When Search for "Make for the Hills" and save bookName as 'bookNameInfo'
When Search for "Writing Wild" and save bookName as 'bookNameInfo'
And Click GET action button on EBOOK book with 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Open EBOOK book with READ action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
And Click READ action button on Book details screen
Expand Down
14 changes: 7 additions & 7 deletions src/test/java/features/PdfLyrasisIos.feature
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Feature: Read PDF in LYRARIS Reads on IOS
@smoke @logout @returnBooks @exclude_android
Scenario: IOS: Read pdfs: Pages: Perform check of reader navigating (swiping left and right)
When Open search modal
And Search for "Friended" and save bookName as 'bookNameInfo'
And Search for "A Queen From the North" and save bookName as 'bookNameInfo'
And Click GET action button on EBOOK book with 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Then EBOOK book with READ action button and 'bookInfo' bookInfo is present on Catalog books screen
When Open EBOOK book with READ action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Expand All @@ -171,7 +171,7 @@ Feature: Read PDF in LYRARIS Reads on IOS
@smoke @logout @returnBooks @exclude_android
Scenario: iOS: Read pdfs: Search: Perform check that the field allows you to enter characters and delete them
When Open search modal
And Search for "Friended" and save bookName as 'bookNameInfo'
And Search for "A Queen From the North" and save bookName as 'bookNameInfo'
And Click GET action button on EBOOK book with 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Then EBOOK book with READ action button and 'bookInfo' bookInfo is present on Catalog books screen
When Open EBOOK book with READ action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Expand All @@ -186,7 +186,7 @@ Feature: Read PDF in LYRARIS Reads on IOS
@smoke @logout @returnBooks @exclude_android
Scenario: iOS: Read pdfs: Search: Perform check of finding a word in the book
When Open search modal
And Search for "Friended" and save bookName as 'bookNameInfo'
And Search for "A Queen From the North" and save bookName as 'bookNameInfo'
And Click GET action button on EBOOK book with 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Then EBOOK book with READ action button and 'bookInfo' bookInfo is present on Catalog books screen
When Open EBOOK book with READ action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Expand All @@ -200,7 +200,7 @@ Feature: Read PDF in LYRARIS Reads on IOS
@smoke @logout @returnBooks @exclude_android
Scenario: iOS: Read pdfs: Table of contents: Perform check of navigation
When Open search modal
And Search for "Friended" and save bookName as 'bookNameInfo'
And Search for "Being Plumville" and save bookName as 'bookNameInfo'
And Click GET action button on EBOOK book with 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Then EBOOK book with READ action button and 'bookInfo' bookInfo is present on Catalog books screen
When Open EBOOK book with READ action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Expand All @@ -216,7 +216,7 @@ Feature: Read PDF in LYRARIS Reads on IOS
@smoke @logout @returnBooks @exclude_android
Scenario: iOS: Read pdfs: Perform check of back button
When Open search modal
And Search for "Friended" and save bookName as 'bookNameInfo'
And Search for "Being Plumville" and save bookName as 'bookNameInfo'
And Click GET action button on EBOOK book with 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Then EBOOK book with READ action button and 'bookInfo' bookInfo is present on Catalog books screen
When Open EBOOK book with READ action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Expand All @@ -228,7 +228,7 @@ Feature: Read PDF in LYRARIS Reads on IOS
@smoke @logout @returnBooks @exclude_android
Scenario: iOS: Read pdfs: Table of contents: Contents with thumbnails: Perform check of navigation
When Open search modal
And Search for "Friended" and save bookName as 'bookNameInfo'
And Search for "The Art of Three" and save bookName as 'bookNameInfo'
And Click GET action button on EBOOK book with 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Then EBOOK book with READ action button and 'bookInfo' bookInfo is present on Catalog books screen
When Open EBOOK book with READ action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Expand All @@ -244,7 +244,7 @@ Feature: Read PDF in LYRARIS Reads on IOS
@smoke @logout @returnBooks @exclude_android
Scenario: iOS: Read pdfs: Table of contents: Chapter content: Perform check of navigation
When Open search modal
And Search for "Tell A Thousand Lies" and save bookName as 'bookNameInfo'
And Search for "The Art of Three" and save bookName as 'bookNameInfo'
And Click GET action button on EBOOK book with 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Then EBOOK book with READ action button and 'bookInfo' bookInfo is present on Catalog books screen
When Open EBOOK book with READ action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
Expand Down
Loading
Loading