8040 - Fix Privacy Policies generated per product (#8528)
* 8040 - Fix Privacy Policies generated per product update * Update tests
This commit is contained in:
Родитель
5a896e5e13
Коммит
ab4f034c19
|
@ -238,8 +238,6 @@ def generate(seed):
|
|||
for i in range(52):
|
||||
# General products
|
||||
general_page = GeneralProductPageFactory.create(parent=pni_homepage,)
|
||||
fake_privacy_policy = ProductPagePrivacyPolicyLinkFactory(page=general_page)
|
||||
general_page.privacy_policy_links.add(fake_privacy_policy)
|
||||
general_page.save_revision().publish()
|
||||
|
||||
print('Crosslinking related products')
|
||||
|
|
|
@ -45,7 +45,7 @@ test(`PNI search`, async ({ page }, testInfo) => {
|
|||
await page.locator(`body.react-loaded`);
|
||||
await waitForImagesToLoad(page);
|
||||
|
||||
const searchTerm = 'ab'
|
||||
const searchTerm = "ab";
|
||||
|
||||
const counts = {
|
||||
// provided RANDOM_SEED=530910203 was used!
|
||||
|
@ -53,7 +53,7 @@ test(`PNI search`, async ({ page }, testInfo) => {
|
|||
health: 13,
|
||||
smart: 5,
|
||||
percy: 1,
|
||||
searchTerm: 6,
|
||||
searchTerm: 4,
|
||||
searchTermWithDing: 2,
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче