Skip to content

Commit 674fd5b

Browse files
committed
add data-cy for webstore home page test
1 parent 837da74 commit 674fd5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/SearchBar/SearchBar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const SearchBar = ({ addClass, initialValue, onSubmit, placeholder }) => {
1414

1515
return (
1616
<div className={`search-bar-container ${addClass}`}>
17-
<form className='search-bar-form' method='get' onSubmit={handleSubmit}>
17+
<form className='search-bar-form' method='get' onSubmit={handleSubmit} data-cy='search-bar'>
1818
<label>
1919
<span className='visually-hidden'>Search all services</span>
2020
</label>

src/compounds/ItemGroup/ItemGroup.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import './item-group.scss'
99
const ItemGroup = ({ buttonProps, items, isLoading, orientation, withButtonLink, withTitleLink }) => (
1010
<>
1111
<Title addClass='mb-2' size='large' title='Featured Services' />
12-
<Row xs={1} sm={2} className={`g-5 mb-5 ${orientation === 'vertical' && 'row-cols-md-3'}`}>
12+
<Row xs={1} sm={2} className={`g-5 mb-5 ${orientation === 'vertical' && 'row-cols-md-3'}`} data-cy='item-group'>
1313
{isLoading
1414
? (
1515
<>

0 commit comments

Comments
 (0)