Skip to content

Commit

Permalink
EPMRPP-90354 || Added Matched Tests Count content column
Browse files Browse the repository at this point in the history
  • Loading branch information
maria-hambardzumian committed Jul 18, 2024
1 parent 8b4655e commit 819c375
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ ClusterColumn.defaultProps = {
};

export const ClusterItemsGridRow = ({ data, onEditItem, onUnlinkSingleTicket, onEditDefect }) => {
const { id } = data;
const { id, matchedTests } = data;
const { formatMessage } = useIntl();
const dispatch = useDispatch();
const clusterItems = useSelector((state) => clusterItemsSelector(state, id));
Expand Down Expand Up @@ -138,14 +138,17 @@ export const ClusterItemsGridRow = ({ data, onEditItem, onUnlinkSingleTicket, on
<ExtensionLoader extension={extension} data={data} />
</div>
))}
<div className={cx('table-cell')}>
<span className={cx('matched-tests-col-text')}>{matchedTests}</span>
</div>
</div>
</div>

{!collapsed && (
<div className={cx('table-row-group')}>
<div className={cx('table-row')}>
<div className={cx('table-cell', 'nested-expand-col')} />
<td colSpan="2">
<td colSpan="3">
<div className={cx('nested-grid')}>
<div className={cx('table-cell', 'table-cell-full-width')}>
<StepGrid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,25 @@
.table-cell {
display: table-cell;
border-bottom: 6px solid $COLOR--primary-gray;
position: relative;

&-full-width {
width: 100%;
}
}

.matched-tests-col-text {
color: $COLOR--gray-47;
font-family: $FONT-REGULAR;
font-size: 12px;
text-align: right;
right: 24px;
display: block;
width: 130px;
top: 12px;
position: absolute;
}

.expand-col {
vertical-align: middle;
cursor: pointer;
Expand Down

0 comments on commit 819c375

Please sign in to comment.