-
Notifications
You must be signed in to change notification settings - Fork 394
feat: (CXSPA-9820) - Add access continuum test for Applied Promotions #20281
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
base: develop
Are you sure you want to change the base?
Conversation
spartacus
|
Project |
spartacus
|
Branch Review |
feature/CXSPA-9820
|
Run status |
|
Run duration | 06m 12s |
Commit |
|
Committer | petarmarkov9449 |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
4
|
|
2
|
|
0
|
|
238
|
View all changes introduced in this branch ↗︎ |
cy.get('cx-mini-cart').click(); | ||
|
||
cy.get('.cx-promotions').a11yRunContinuumTest(); |
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.
I see the intention is to run this on the cart page however, with this setup the test runs on PDP instead.
it('should show promotions on Cart page', () => { | ||
cy.get('cx-mini-cart').click(); | ||
|
||
cy.get('.cart-details-wrapper').should('exist'); |
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.
cy.get('.cart-details-wrapper').should('exist'); | |
cy.get('.cart-details-wrapper') |
|
||
cy.get('.cart-details-wrapper').should('exist'); | ||
|
||
cy.get('.cx-promotions').a11yRunContinuumTest(); |
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.
Selectors before the tests return more than one element. With our current setup Continuum will only scan the first one. Do we want to scan each or is this enough? 🤔
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.
There is only one cx-promotions
in cart
page, isn't there? 🤔
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.
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.
Updated the test for all promotions here.
Ticket: CXSPA-9820
Add access continuum test for Applied Promotions