+
{children}
);
diff --git a/src/components/layout/Container/Container.tsx b/src/components/layout/Container/Container.tsx
index 5975e42538..c0eb580bc5 100644
--- a/src/components/layout/Container/Container.tsx
+++ b/src/components/layout/Container/Container.tsx
@@ -1,6 +1,7 @@
/* eslint-disable valid-jsdoc */
import React from 'react';
+import type {QAProps} from '../../types';
import {block} from '../../utils/cn';
import {sp} from '../spacing/spacing';
import type {MediaPartial, MediaType, Space} from '../types';
@@ -12,7 +13,7 @@ import './Container.scss';
const b = block('container');
-export interface ContainerProps {
+export interface ContainerProps extends QAProps {
style?: React.CSSProperties;
/**
* Use function to define different classes in different media queries
@@ -68,6 +69,7 @@ export const Container = ({
maxWidth,
gutters,
spaceRow,
+ qa,
}: ContainerProps) => {
const {getClosestMediaProps, containerThemeProps} = useContainerThemeProps();
@@ -100,6 +102,7 @@ export const Container = ({
className,
),
)}
+ data-qa={qa}
>
{children}
diff --git a/src/components/layout/Row/Row.tsx b/src/components/layout/Row/Row.tsx
index 2596977344..4ebac152f6 100644
--- a/src/components/layout/Row/Row.tsx
+++ b/src/components/layout/Row/Row.tsx
@@ -1,6 +1,7 @@
/* eslint-disable valid-jsdoc */
import React from 'react';
+import type {QAProps} from '../../types';
import {block} from '../../utils/cn';
import {useLayoutContext} from '../hooks/useLayoutContext';
import type {MediaPartial, Space} from '../types';
@@ -10,7 +11,7 @@ import './Row.scss';
const b = block('row');
-export interface RowProps {
+export interface RowProps extends QAProps {
style?: React.CSSProperties;
/**
* Vertical and horizontal `space` between children `
` components.
@@ -40,7 +41,7 @@ export interface RowProps {
* ---
* Storybook - https://preview.gravity-ui.com/uikit/?path=/docs/layout--playground#row
*/
-export const Row = ({children, style, className, space, spaceRow}: RowProps) => {
+export const Row = ({children, style, className, space, spaceRow, qa}: RowProps) => {
const {getClosestMediaProps} = useLayoutContext();
let s: string | undefined;
@@ -76,6 +77,7 @@ export const Row = ({children, style, className, space, spaceRow}: RowProps) =>
},
className,
)}
+ data-qa={qa}
>
{children}