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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Functional Tests : BO - Catalog - Products : Pack Tab #33963
Conversation
Progi1984
commented
Sep 18, 2023
•
edited
edited
Questions | Answers |
---|---|
Branch? | develop |
Description? | Functional Tests : BO - Catalog - Products : Pack Tab |
Type? | improvement |
Category? | TE |
BC breaks? | no |
Deprecations? | no |
How to test? | CI is 馃煝 |
UI Tests | https://github.com/Progi1984/ga.tests.ui.pr/actions/runs/6223375149 |
Fixed issue or discussion? | N/A |
Related PRs | N/A |
Sponsor company | @PrestaShopCorp |
68db805
to
4c8a223
Compare
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.
2 comments but LGTM
reference: (await page.locator(this.productHeaderReference('reference')).count()) | ||
? await this.getTextContent(page, this.productHeaderReference('reference'), false) | ||
: '', |
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.
Maybe create specific functions for this one and others, so we could use individually ?
const createProductFrame: Frame | null = page.frame({url: /sell\/catalog\/products-v2\/create/gmi}); | ||
expect(createProductFrame).to.be.not.eq(null); |
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.
expect should be removed from pages (I think it's a WIP on delete productV1)
Thank you @Progi1984 |