Skip to content

Commit

Permalink
Add data-testid to make it easier to test the component
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Klynger committed Oct 24, 2019
1 parent dbc0903 commit 253161c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Expand Up @@ -6,10 +6,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Changed
- Add `data-testid` to `ProductSummaryBuyButton` to make it easier to test the component.

## [2.42.0] - 2019-10-24
### Added
- Allow `product-teaser.summary` on `product-summary-column`
- Allow `product-teaser.summary` on `product-summary-column`.

## [2.41.0] - 2019-10-23
### Changed
Expand Down
Expand Up @@ -80,7 +80,10 @@ const ProductSummaryBuyButton = ({

return (
showBuyButton && (
<div className={containerClass}>
<div
className={containerClass}
data-testid="product-summary__buy-button-container"
>
<div className={buyButtonClasses}>
<BuyButton
skuItems={skuItems}
Expand Down

0 comments on commit 253161c

Please sign in to comment.