Skip to content

Commit cc21ab9

Browse files
update search
1 parent cd54755 commit cc21ab9

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

playwright/tests/rex-test/rex.behaviorspec.ts

-1
Original file line numberDiff line numberDiff line change
@@ -673,5 +673,4 @@ test('C543225 canonicals for old editions point to the latest edition', async ({
673673
await Toc.pageClick(241)
674674
// THEN: Canonical page points to latest edition of the original content
675675
expect(await bookPage.canonical()).toBe('https://openstax.org/books/principles-economics-3e/pages/d-the-expenditure-output-model')
676-
677676
})

pytest-selenium/pages/base.py

+3
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ def open(self):
6262
self.driver.add_cookie({"name": "nudge_study_guides_counter", "value": "1"})
6363
self.driver.add_cookie({"name": "nudge_study_guides_page_counter", "value": "1"})
6464
self.driver.add_cookie({"name": "nudge_study_guides_date", "value": current_date})
65+
self.driver.add_cookie({"name": "content-warning-545", "value": "true"})
66+
self.driver.add_cookie({"name": "content-warning-548", "value": "true"})
67+
self.driver.add_cookie({"name": "content-warning-549", "value": "true"})
6568
self.driver.add_cookie({"name": "ANALYTICS_OPT_OUT", "value": "1"})
6669
return self
6770

pytest-selenium/utils/books.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"biology-2e": {
5151
"default_page": "1-introduction",
5252
"search_term": "evolution theory",
53-
"chapter_search_results_total": 341,
53+
"chapter_search_results_total": 344,
5454
"rkt_search_results_total": 0
5555
},
5656
"biology-ap-courses": {
@@ -140,7 +140,7 @@
140140
"calculus-volume-3": {
141141
"default_page": "1-introduction",
142142
"search_term": "zero vector",
143-
"chapter_search_results_total": 9,
143+
"chapter_search_results_total": 10,
144144
"rkt_search_results_total": 1
145145
},
146146
"college-success": {
@@ -416,7 +416,7 @@
416416
"introductory-statistics-2e": {
417417
"default_page": "1-introduction",
418418
"search_term": "Student's t-Distribution",
419-
"chapter_search_results_total": 43,
419+
"chapter_search_results_total": 45,
420420
"rkt_search_results_total": 2
421421
},
422422
"introductory-business-statistics-2e": {
@@ -459,7 +459,7 @@
459459
"default_page": "1-introduction",
460460
"search_term": "population health",
461461
"chapter_search_results_total": 3689,
462-
"rkt_search_results_total": 11
462+
"rkt_search_results_total": 12
463463
},
464464
"nutrition": {
465465
"default_page": "1-introduction",
@@ -471,9 +471,9 @@
471471
"default_page": "1-introduction",
472472
"search_term": "mental health",
473473
"chapter_search_results_total": 2674,
474-
"rkt_search_results_total": 4
474+
"rkt_search_results_total": 5
475475
},
476-
"maternal-newborn": {
476+
"maternal-newborn-nursing": {
477477
"default_page": "1-introduction",
478478
"search_term": "newborn babies",
479479
"chapter_search_results_total": 446,

0 commit comments

Comments
 (0)