-
Notifications
You must be signed in to change notification settings - Fork 36
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
CC firefly product page UI, search integration with firefly web tests #361
Conversation
CC Merchtable block automation (JIra: MWPW-140978)
CC sticky promo bar, promo with close action automated test cases Jira : MWPW-140982, MWPW-142252
…eatures CC Regression automated cases for media rounded corners, breadcrumb features (MWPW-140976, MWPW-142543)
CC home page tabs, fragment reference , merch pod AU tests Jiras: https://jira.corp.adobe.com/browse/MWPW-143230 https://jira.corp.adobe.com/browse/MWPW-142599 https://jira.corp.adobe.com/browse/MWPW-143231
Key CC , CCT product pages sanity checks automation for EN https://jira.corp.adobe.com/browse/MWPW-146289
CC Tier1 locales production sanity tests https://jira.corp.adobe.com/browse/MWPW-146289
removed the lengthy URL
removed the space
removed tailing spaces from given lines
CC page Accordion features regression automated cases https://jira.corp.adobe.com/browse/MWPW-147151 https://jira.corp.adobe.com/browse/MWPW-147152 https://jira.corp.adobe.com/browse/MWPW-147153 https://jira.corp.adobe.com/browse/MWPW-147154
corrected the typo
fixed indentations issue at line 14,15,16 Also removed wait from line number 81
CC firefly product page UI & integration with FF web
tests/cc/firefly.test.js
Outdated
await expect(page).toHaveURL(`${baseURL}${features[0].path}`); | ||
}); | ||
await test.step('search term take use to IMS and post login to FF product page', async () => { | ||
await page.waitForLoadState(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're waiting for loadstate on line 14, you probably don't need another one.
tests/cc/firefly.test.js
Outdated
expect(await firefly.searchPromptBox).toBeTruthy(); | ||
expect(await firefly.generateCTA).toBeTruthy(); | ||
await firefly.searchPromptBox.fill(features[0].term); | ||
// await page.waitForTimeout(2000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can probably remove this comment if not needed.
tests/cc/firefly.test.js
Outdated
await expect(page).toHaveURL(`${baseURL}${features[1].path}`); | ||
}); | ||
await test.step('user hits serach CTA with out search prompt', async () => { | ||
await page.waitForLoadState(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're waiting for loadstate on line 35, you probably don't need another one.
tests/cc/firefly.test.js
Outdated
await page.waitForLoadState('domcontentloaded'); | ||
await expect(page).toHaveURL(`${baseURL}${features[2].path}`); | ||
}); | ||
await test.step('user hits serach CTA with out search prompt', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
await test.step('user hits search CTA with out search prompt', async () => {
Typo fix.
tests/cc/firefly.test.js
Outdated
await expect(page).toHaveURL(`${baseURL}${features[2].path}`); | ||
}); | ||
await test.step('user hits serach CTA with out search prompt', async () => { | ||
await page.waitForLoadState(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're waiting for loadstate on line 51, you probably don't need another one.
removed unwanted wait
removed commented line
removed wait for load state line
typo fixed
CC firefly product page UI, search integration with firefly web tests