Skip to content

@W-18669904 - Added a test to PDP(product-view) page for checking translations#2528

Merged
snilakandan13 merged 15 commits intodevelopfrom
t/commerce/W-18669904/addingTestToPDP
Jun 10, 2025
Merged

@W-18669904 - Added a test to PDP(product-view) page for checking translations#2528
snilakandan13 merged 15 commits intodevelopfrom
t/commerce/W-18669904/addingTestToPDP

Conversation

@snilakandan13
Copy link
Contributor

@snilakandan13 snilakandan13 commented Jun 6, 2025

@W-18669904

Description

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Documentation update
  • Breaking change (could cause existing functionality to not work as expected)
  • Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

  • Removing a public function or component or prop
  • Adding a required argument to a function
  • Changing the data type of a function parameter or return value
  • Adding a new peer dependency to package.json

Changes

  • (change1)

How to Test-Drive This PR

  • (step1)

Checklists

General

  • Changes are covered by test cases
  • CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance

You must check off all items in one of the follow two lists:

  • There are no changes to UI

or...

Localization

  • Changes include a UI text update in the Retail React App (which requires translation)

@snilakandan13 snilakandan13 requested a review from a team as a code owner June 6, 2025 19:38
@cc-prodsec
Copy link
Collaborator

cc-prodsec commented Jun 6, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@snilakandan13 snilakandan13 added the skip changelog Skip the "Changelog Check" GitHub Actions step even if the Changelog.md files are not updated label Jun 6, 2025
aditek-sf
aditek-sf previously approved these changes Jun 6, 2025
@snilakandan13 snilakandan13 dismissed stale reviews from shauryemahajanSF and aditek-sf via 6303c85 June 9, 2025 03:13
@snilakandan13 snilakandan13 changed the title @W-18669904 - Added a test to PDP page for checking translations @W-18669904 - Added a test to PDP(product-view) page for checking translations Jun 9, 2025
aditek-sf
aditek-sf previously approved these changes Jun 9, 2025
@snilakandan13 snilakandan13 requested a review from a team June 9, 2025 16:27
// Wait for at least one product title to be rendered
const titles = await screen.findAllByText(/Black Single Pleat Athletic Fit Wool Suit/i)
expect(titles.length).toBeGreaterThan(0)
// Check Add to Cart button in French
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need comment to explain the code, it is self-explanatory most of the cases. We'd want to use comment for the "why"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok modified

alexvuong
alexvuong previously approved these changes Jun 10, 2025
@snilakandan13 snilakandan13 merged commit 83d7d8b into develop Jun 10, 2025
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog Skip the "Changelog Check" GitHub Actions step even if the Changelog.md files are not updated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants