diff --git a/src/components/BackgroundMedia/__tests__/BackgroundMedia.test.tsx b/src/components/BackgroundMedia/__tests__/BackgroundMedia.test.tsx
index a2d3db8c5..264550a5c 100644
--- a/src/components/BackgroundMedia/__tests__/BackgroundMedia.test.tsx
+++ b/src/components/BackgroundMedia/__tests__/BackgroundMedia.test.tsx
@@ -5,7 +5,7 @@ import userEvent from '@testing-library/user-event';
import {qaIdByDefault as qaIdOfBackgroundImage} from '../../../components/BackgroundImage/BackgroundImage';
import {qaIdOfAnimatedDiv} from '../../../components/Media/Image/Image';
-import {qaIdByDefault} from '../../../components/Media/Media';
+import {qaIdByDefault as qaIdOfMedia} from '../../../components/Media/Media';
import {qaIdOfSourceByDefault, qaIdOfVideoByDefault} from '../../../components/Media/Video/Video';
import BackgroundMedia from '../BackgroundMedia';
@@ -58,7 +58,7 @@ describe('BackgroundMedia', () => {
const className = 'my-class';
render();
- const component = screen.getByTestId(qaIdByDefault);
+ const component = screen.getByTestId(qaIdOfMedia);
expect(component).toHaveClass(className);
});
@@ -97,7 +97,7 @@ describe('BackgroundMedia', () => {
test('render with fullWidthMedia prop', () => {
render();
- const component = screen.getByTestId(qaIdByDefault);
+ const component = screen.getByTestId(qaIdOfMedia);
expect(component).toHaveClass('pc-BackgroundMedia__media_full-width-media');
});
diff --git a/src/components/Media/Image/Image.tsx b/src/components/Media/Image/Image.tsx
index 657babb60..2e637a304 100644
--- a/src/components/Media/Image/Image.tsx
+++ b/src/components/Media/Image/Image.tsx
@@ -13,7 +13,7 @@ import {getMediaImage} from './utils';
import './Image.scss';
-export const qaIdOfAnimatedDiv = 'image-animated-div';
+export const qaIdOfAnimatedDiv = 'qa-image-animated-div';
const b = block('media-component-image');
diff --git a/src/components/Media/Media.tsx b/src/components/Media/Media.tsx
index 9ef88de99..fa443041f 100644
--- a/src/components/Media/Media.tsx
+++ b/src/components/Media/Media.tsx
@@ -9,7 +9,7 @@ import Video, {VideoAdditionProps} from './Video/Video';
import './Media.scss';
-export const qaIdByDefault = 'media-component';
+export const qaIdByDefault = 'qa-media';
const b = block('Media');