Skip to content

Commit cdfb4bb

Browse files
authored
FInd and replaced "LYRASIS Reads" with "Lyrasis Reads" (#39)
1 parent 2aa65c8 commit cdfb4bb

17 files changed

+259
-257
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@
2626
.idea
2727
*.iws
2828
*.iml
29-
*.ipr
29+
*.ipr
30+
## MacOS
31+
*.DS_Store

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The next big part of the solution is a test runner. As the test runner JUnit is
1717

1818
# How to run tests
1919

20-
Tests are created for Palace Bookshelf, A1QA Test Library and LYRASIS Reads libraries and run on iOS and Android platforms on such devices:
20+
Tests are created for Palace Bookshelf, A1QA Test Library and Lyrasis Reads libraries and run on iOS and Android platforms on such devices:
2121

2222
* Android
2323
- Samsung Galaxy S23 Ultra (Android 13)
@@ -43,7 +43,7 @@ All tests run at night in BrowserStack. Runs are configured with GitHub Actions
4343

4444
Select the **Test Run** option in the left menu and click the **Run workflow**. Options to configure:
4545
1. _Use workflow from_ - git branch to launch (e.g. main)
46-
2. _Tags to run_ - tags (e.g. @tier1 @tier2, @smoke) if to run a specific tier. @tier1 - Tests for LYRASIS Reads library, @tier2 - tests for A1QA Test Library and Palace Bookshelf libraries, @smoke - smoke tests.
46+
2. _Tags to run_ - tags (e.g. @tier1 @tier2, @smoke) if to run a specific tier. @tier1 - Tests for Lyrasis Reads library, @tier2 - tests for A1QA Test Library and Palace Bookshelf libraries, @smoke - smoke tests.
4747
3. _app_url of uploaded to BS link_ - the app URL that can be gotten in the App Automate on the Browserstack
4848
4. _build name of given application_ - assembly name can be anything
4949
5. _Platform name_ - ios/android
@@ -67,7 +67,7 @@ All devices are described in [devices.json](https://github.com/ThePalaceProject/
6767

6868
![Screenshot_3](https://github.com/ThePalaceProject/mobile-integration-tests-new/assets/33911738/4167f0af-3b7c-49ae-8fc6-e938f8245095)
6969

70-
For LYRASIS Reads and A1QA Test library libraries credentials are needed. It can be configured in [config.json](https://github.com/ThePalaceProject/mobile-integration-tests-new/blob/main/src/test/resources/config.json) file.
70+
For Lyrasis Reads and A1QA Test library libraries credentials are needed. It can be configured in [config.json](https://github.com/ThePalaceProject/mobile-integration-tests-new/blob/main/src/test/resources/config.json) file.
7171

7272
![Screenshot_4](https://github.com/ThePalaceProject/mobile-integration-tests-new/assets/33911738/b653ca3d-d989-4a23-851b-60423aa3d557)
7373

src/test/java/features/AudiobookLyrasis.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
Feature: Audiobooks in LYRASIS Reads
1+
Feature: Audiobooks in Lyrasis Reads
22

33
Background:
44
Given Close tutorial screen
55
Then Welcome screen is opened
66
When Close welcome screen
77
Then Add library screen is opened
8-
When Add library "LYRASIS Reads" on Add library screen
9-
Then Library "LYRASIS Reads" is opened on Catalog screen
10-
When Enter credentials for 'LYRASIS Reads' library
8+
When Add library "Lyrasis Reads" on Add library screen
9+
Then Library "Lyrasis Reads" is opened on Catalog screen
10+
When Enter credentials for 'Lyrasis Reads' library
1111
Then Login is performed successfully
1212
When Activate sync bookmarks on Sign in screen
1313
And Open Catalog

src/test/java/features/BookDetailView.feature

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ Feature: Book detail view screen
77
Then Add library screen is opened
88

99
@tier2
10-
Scenario Outline: Check of a book title and author in LYRASIS Reads
11-
When Add library "LYRASIS Reads" on Add library screen
12-
Then Library "LYRASIS Reads" is opened on Catalog screen
10+
Scenario Outline: Check of a book title and author in Lyrasis Reads
11+
When Add library "Lyrasis Reads" on Add library screen
12+
Then Library "Lyrasis Reads" is opened on Catalog screen
1313
When Open search modal
1414
And Search 'available' book of distributor '<distributor>' and bookType '<bookType>' and save as 'bookNameInfo'
1515
And Switch to '<tabName>' catalog tab
@@ -30,9 +30,9 @@ Feature: Book detail view screen
3030
| Biblioboard | AUDIOBOOK | Audiobooks |
3131

3232
@tier2
33-
Scenario Outline: Check of a book format in LYRASIS Reads
34-
When Add library "LYRASIS Reads" on Add library screen
35-
Then Library "LYRASIS Reads" is opened on Catalog screen
33+
Scenario Outline: Check of a book format in Lyrasis Reads
34+
When Add library "Lyrasis Reads" on Add library screen
35+
Then Library "Lyrasis Reads" is opened on Catalog screen
3636
When Open search modal
3737
And Search 'available' book of distributor '<distributor>' and bookType '<bookType>' and save as 'bookNameInfo'
3838
And Switch to '<tabName>' catalog tab
@@ -52,9 +52,9 @@ Feature: Book detail view screen
5252
| Biblioboard | AUDIOBOOK | Audiobooks | Audiobook |
5353

5454
@tier2
55-
Scenario Outline: Check of a "More..." button in Description section in LYRASIS Reads
56-
When Add library "LYRASIS Reads" on Add library screen
57-
Then Library "LYRASIS Reads" is opened on Catalog screen
55+
Scenario Outline: Check of a "More..." button in Description section in Lyrasis Reads
56+
When Add library "Lyrasis Reads" on Add library screen
57+
Then Library "Lyrasis Reads" is opened on Catalog screen
5858
When Open search modal
5959
And Search 'available' book of distributor '<distributor>' and bookType '<bookType>' and save as 'bookNameInfo'
6060
And Switch to '<tabName>' catalog tab
@@ -75,9 +75,9 @@ Feature: Book detail view screen
7575
| Biblioboard | AUDIOBOOK | Audiobooks |
7676

7777
@tier2
78-
Scenario Outline: Check fields in Information section in LYRASIS Reads
79-
When Add library "LYRASIS Reads" on Add library screen
80-
Then Library "LYRASIS Reads" is opened on Catalog screen
78+
Scenario Outline: Check fields in Information section in Lyrasis Reads
79+
When Add library "Lyrasis Reads" on Add library screen
80+
Then Library "Lyrasis Reads" is opened on Catalog screen
8181
When Open search modal
8282
And Search 'available' book of distributor '<distributor>' and bookType '<bookType>' and save as 'bookNameInfo'
8383
And Switch to '<tabName>' catalog tab
@@ -99,8 +99,8 @@ Feature: Book detail view screen
9999

100100
@tier2
101101
Scenario Outline: Check related books section in LYRASIS
102-
When Add library "LYRASIS Reads" on Add library screen
103-
Then Library "LYRASIS Reads" is opened on Catalog screen
102+
When Add library "Lyrasis Reads" on Add library screen
103+
Then Library "Lyrasis Reads" is opened on Catalog screen
104104
When Open search modal
105105
And Search 'available' book of distributor '<distributor>' and bookType '<bookType>' and save as 'bookNameInfo'
106106
And Switch to '<tabName>' catalog tab
@@ -172,8 +172,8 @@ Feature: Book detail view screen
172172

173173
@tier2
174174
Scenario: Get button: Check of availability of required interface elements
175-
When Add library "LYRASIS Reads" on Add library screen
176-
Then Library "LYRASIS Reads" is opened on Catalog screen
175+
When Add library "Lyrasis Reads" on Add library screen
176+
Then Library "Lyrasis Reads" is opened on Catalog screen
177177
When Open search modal
178178
And Search for "Libertie" and save bookName as 'bookNameInfo'
179179
And Open book with GET action button and 'bookNameInfo' bookName on catalog books screen
@@ -183,8 +183,8 @@ Feature: Book detail view screen
183183

184184
@tier2 @exclude_android
185185
Scenario: Get button: check of Library Card field
186-
When Add library "LYRASIS Reads" on Add library screen
187-
Then Library "LYRASIS Reads" is opened on Catalog screen
186+
When Add library "Lyrasis Reads" on Add library screen
187+
Then Library "Lyrasis Reads" is opened on Catalog screen
188188
When Open search modal
189189
And Search for "The Hobbit" and save bookName as 'bookNameInfo'
190190
And Open AUDIOBOOK book with GET action button and 'bookNameInfo' bookName on Catalog books screen and save book as 'bookInfo'
@@ -194,8 +194,8 @@ Feature: Book detail view screen
194194

195195
@tier2 @exclude_android
196196
Scenario: Get button: check of Password field
197-
When Add library "LYRASIS Reads" on Add library screen
198-
Then Library "LYRASIS Reads" is opened on Catalog screen
197+
When Add library "Lyrasis Reads" on Add library screen
198+
Then Library "Lyrasis Reads" is opened on Catalog screen
199199
When Open search modal
200200
And Search for "The Hidden" and save bookName as 'bookNameInfo'
201201
And Open book with GET action button and 'bookNameInfo' bookName on catalog books screen
@@ -205,20 +205,20 @@ Feature: Book detail view screen
205205

206206
@tier2
207207
Scenario: Get: Sign in: Check of loging in with leaving the Library Card field empty
208-
When Add library "LYRASIS Reads" on Add library screen
209-
Then Library "LYRASIS Reads" is opened on Catalog screen
208+
When Add library "Lyrasis Reads" on Add library screen
209+
Then Library "Lyrasis Reads" is opened on Catalog screen
210210
When Open search modal
211211
And Search for "Brain" and save bookName as 'bookNameInfo'
212212
And Open book with GET action button and 'bookNameInfo' bookName on catalog books screen
213213
And Click GET action button on Book details screen
214214
Then Sing in screen is opened
215-
When Enter a valid Password for "LYRASIS Reads" library on Sign in screen
215+
When Enter a valid Password for "Lyrasis Reads" library on Sign in screen
216216
Then Sign in button is disabled on Sign in screen
217217

218218
@tier2
219219
Scenario: Get: Sign in: Check of loging in with leaving the Password field empty
220-
When Add library "LYRASIS Reads" on Add library screen
221-
Then Library "LYRASIS Reads" is opened on Catalog screen
220+
When Add library "Lyrasis Reads" on Add library screen
221+
Then Library "Lyrasis Reads" is opened on Catalog screen
222222
When Open search modal
223223
And Search for "Above World" and save bookName as 'bookNameInfo'
224224
And Open book with GET action button and 'bookNameInfo' bookName on catalog books screen
@@ -229,8 +229,8 @@ Feature: Book detail view screen
229229

230230
@tier2
231231
Scenario: Get: Sign in: Library card: Check that the field allows you to edit the data
232-
When Add library "LYRASIS Reads" on Add library screen
233-
Then Library "LYRASIS Reads" is opened on Catalog screen
232+
When Add library "Lyrasis Reads" on Add library screen
233+
Then Library "Lyrasis Reads" is opened on Catalog screen
234234
When Open search modal
235235
And Search for "Big Fish" and save bookName as 'bookNameInfo'
236236
And Open book with GET action button and 'bookNameInfo' bookName on catalog books screen
@@ -242,15 +242,15 @@ Feature: Book detail view screen
242242

243243
@tier2
244244
Scenario Outline: Get: Sign in: Library card: Check of less than minimum allowed or more than maximum characters
245-
When Add library "LYRASIS Reads" on Add library screen
246-
Then Library "LYRASIS Reads" is opened on Catalog screen
245+
When Add library "Lyrasis Reads" on Add library screen
246+
Then Library "Lyrasis Reads" is opened on Catalog screen
247247
When Open search modal
248248
And Search for "As the Crows Fly" and save bookName as 'bookNameInfo'
249249
And Open book with GET action button and 'bookNameInfo' bookName on catalog books screen
250250
And Click GET action button on Book details screen
251251
Then Sing in screen is opened
252252
When Enter a Library card with <numbers> numbers and save it as 'libraryCard' on Sign in screen
253-
And Enter a valid Password for "LYRASIS Reads" library on Sign in screen
253+
And Enter a valid Password for "Lyrasis Reads" library on Sign in screen
254254
And Tap the Sign in button on Sign in screen
255255
Then There is an alert "Invalid Credentials" on Sign in screen
256256

@@ -261,22 +261,22 @@ Feature: Book detail view screen
261261

262262
@tier2
263263
Scenario: Get: Log in: Library card: Check that the field doesn't allow characters except numbers
264-
When Add library "LYRASIS Reads" on Add library screen
265-
Then Library "LYRASIS Reads" is opened on Catalog screen
264+
When Add library "Lyrasis Reads" on Add library screen
265+
Then Library "Lyrasis Reads" is opened on Catalog screen
266266
When Open search modal
267267
And Search for "The Last Goodnight" and save bookName as 'bookNameInfo'
268268
And Open book with GET action button and 'bookNameInfo' bookName on catalog books screen
269269
And Click GET action button on Book details screen
270270
Then Sing in screen is opened
271271
When Enter a Library card with 14 latin letters and save it as 'libraryCard' on Sign in screen
272-
And Enter a valid Password for "LYRASIS Reads" library on Sign in screen
272+
And Enter a valid Password for "Lyrasis Reads" library on Sign in screen
273273
And Tap the Sign in button on Sign in screen
274274
Then There is an alert "Invalid Credentials" on Sign in screen
275275

276276
@tier2
277277
Scenario: Book detail view: Perform check of Get button before log in from the Settings tab
278-
When Add library "LYRASIS Reads" on Add library screen
279-
Then Library "LYRASIS Reads" is opened on Catalog screen
278+
When Add library "Lyrasis Reads" on Add library screen
279+
Then Library "Lyrasis Reads" is opened on Catalog screen
280280
When Open search modal
281281
And Search for "Eat That Frog!" and save bookName as 'bookNameInfo'
282282
And Open book with GET action button and 'bookNameInfo' bookName on catalog books screen
@@ -285,8 +285,8 @@ Feature: Book detail view screen
285285

286286
@smoke
287287
Scenario: Book detail view: Get: Log in: Perform check of availability of required interface elements
288-
When Add library "LYRASIS Reads" on Add library screen
289-
Then Library "LYRASIS Reads" is opened on Catalog screen
288+
When Add library "Lyrasis Reads" on Add library screen
289+
Then Library "Lyrasis Reads" is opened on Catalog screen
290290
When Open search modal
291291
And Search for "Libertie" and save bookName as 'bookNameInfo'
292292
And Open book with GET action button and 'bookNameInfo' bookName on catalog books screen
@@ -296,13 +296,13 @@ Feature: Book detail view screen
296296

297297
@smoke @logout @returnBooks
298298
Scenario: Book detail view: Get: Log in: Perform check of logging in
299-
When Add library "LYRASIS Reads" on Add library screen
300-
Then Library "LYRASIS Reads" is opened on Catalog screen
299+
When Add library "Lyrasis Reads" on Add library screen
300+
Then Library "Lyrasis Reads" is opened on Catalog screen
301301
When Open search modal
302302
And Search for "Friended" and save bookName as 'bookNameInfo'
303303
And Open book with GET action button and 'bookNameInfo' bookName on catalog books screen
304304
And Click GET action button on Book details screen
305305
Then Sing in screen is opened
306-
When Save library "LYRASIS Reads" for log out
307-
And Enter valid credentials fot "LYRASIS Reads" library on Sign in screen
306+
When Save library "Lyrasis Reads" for log out
307+
And Enter valid credentials fot "Lyrasis Reads" library on Sign in screen
308308
Then Check that book contains READ action button on Book details screen

src/test/java/features/CatalogNavigation.feature

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Feature: Catalog Navigation module
1010
Scenario: Return to last library catalog
1111
When Add library "Palace Bookshelf" on Add library screen
1212
Then Library "Palace Bookshelf" is opened on Catalog screen
13-
When Add 'LYRASIS Reads' library in Libraries screen
13+
When Add 'Lyrasis Reads' library in Libraries screen
1414
Then Catalog screen is opened
1515
When Restart app
1616
Then Catalog screen is opened
@@ -38,9 +38,9 @@ Feature: Catalog Navigation module
3838
| Author | Recently Added | Title |
3939

4040
@tier2
41-
Scenario Outline: Check of tabs at the top of the screen in LYRASIS Reads
42-
When Add library "LYRASIS Reads" on Add library screen
43-
Then Library "LYRASIS Reads" is opened on Catalog screen
41+
Scenario Outline: Check of tabs at the top of the screen in Lyrasis Reads
42+
When Add library "Lyrasis Reads" on Add library screen
43+
Then Library "Lyrasis Reads" is opened on Catalog screen
4444
And Catalog screen is opened
4545
And There are types '<type1>', '<type2>' and '<type3>' of books on catalog book screen:
4646
And Section with books of '<type1>' type is opened on catalog book screen
@@ -54,31 +54,31 @@ Feature: Catalog Navigation module
5454
| All | eBooks | Audiobooks |
5555

5656
@tier2
57-
Scenario: Check of the titles of books sections in LYRASIS Reads
58-
When Add library "LYRASIS Reads" on Add library screen
59-
Then Library "LYRASIS Reads" is opened on Catalog screen
57+
Scenario: Check of the titles of books sections in Lyrasis Reads
58+
When Add library "Lyrasis Reads" on Add library screen
59+
Then Library "Lyrasis Reads" is opened on Catalog screen
6060
And Catalog screen is opened
6161
And Category names are correct on Catalog screen
6262

6363
@tier2
64-
Scenario Outline: Check of books sorting in LYRASIS Reads
65-
When Add library "LYRASIS Reads" on Add library screen
66-
Then Library "LYRASIS Reads" is opened on Catalog screen
64+
Scenario Outline: Check of books sorting in Lyrasis Reads
65+
When Add library "Lyrasis Reads" on Add library screen
66+
Then Library "Lyrasis Reads" is opened on Catalog screen
6767
And Catalog screen is opened
6868
When Open categories by chain and chain starts from CategoryScreen:
6969
| Baker & Taylor Axis360 Test |
7070
And Swipe sort options
71-
Then Books are sorted by Author by default on subcategory screen in 'LYRASIS Reads'
72-
And There are sorting by '<type1>', '<type2>' and '<type3>' on Subcategory screen in "LYRASIS Reads"
71+
Then Books are sorted by Author by default on subcategory screen in 'Lyrasis Reads'
72+
And There are sorting by '<type1>', '<type2>' and '<type3>' on Subcategory screen in "Lyrasis Reads"
7373

7474
Scenarios:
7575
| type1 | type2 | type3 |
7676
| Author | Recently Added | Title |
7777

7878
@tier2
79-
Scenario Outline: Check of books availability in LYRASIS Reads
80-
When Add library "LYRASIS Reads" on Add library screen
81-
Then Library "LYRASIS Reads" is opened on Catalog screen
79+
Scenario Outline: Check of books availability in Lyrasis Reads
80+
When Add library "Lyrasis Reads" on Add library screen
81+
Then Library "Lyrasis Reads" is opened on Catalog screen
8282
And Catalog screen is opened
8383
When Open categories by chain and chain starts from CategoryScreen:
8484
| Baker & Taylor Axis360 Test |
@@ -91,8 +91,8 @@ Feature: Catalog Navigation module
9191

9292
@tier2
9393
Scenario: Check all types of availability
94-
When Add library "LYRASIS Reads" on Add library screen
95-
Then Library "LYRASIS Reads" is opened on Catalog screen
94+
When Add library "Lyrasis Reads" on Add library screen
95+
Then Library "Lyrasis Reads" is opened on Catalog screen
9696
And Catalog screen is opened
9797
When Open categories by chain and chain starts from CategoryScreen:
9898
| Baker & Taylor Axis360 Test |
@@ -105,8 +105,8 @@ Feature: Catalog Navigation module
105105

106106
@tier2 @exclude_android
107107
Scenario Outline: Check of books collections
108-
When Add library "LYRASIS Reads" on Add library screen
109-
Then Library "LYRASIS Reads" is opened on Catalog screen
108+
When Add library "Lyrasis Reads" on Add library screen
109+
Then Library "Lyrasis Reads" is opened on Catalog screen
110110
And Catalog screen is opened
111111
When Open categories by chain and chain starts from CategoryScreen:
112112
| Baker & Taylor Axis360 Test |

0 commit comments

Comments
 (0)