diff --git a/src/renderers/dom/shared/__tests__/ReactDOMServerIntegration-test.js b/src/renderers/dom/shared/__tests__/ReactDOMServerIntegration-test.js
index 403254c66f..af29b8d5ac 100644
--- a/src/renderers/dom/shared/__tests__/ReactDOMServerIntegration-test.js
+++ b/src/renderers/dom/shared/__tests__/ReactDOMServerIntegration-test.js
@@ -1043,12 +1043,14 @@ describe('ReactDOMServerIntegration', () => {
// onChange or readOnly is a mistake.
const e = await render(, 1);
expect(e.value).toBe('foo');
+ expect(e.getAttribute('value')).toBe('foo');
},
);
itRenders('an input with a defaultValue', async render => {
const e = await render();
expect(e.value).toBe('foo');
+ expect(e.getAttribute('value')).toBe('foo');
expect(e.getAttribute('defaultValue')).toBe(null);
});
@@ -1058,6 +1060,7 @@ describe('ReactDOMServerIntegration', () => {
1,
);
expect(e.value).toBe('foo');
+ expect(e.getAttribute('value')).toBe('foo');
expect(e.getAttribute('defaultValue')).toBe(null);
});
@@ -1069,6 +1072,7 @@ describe('ReactDOMServerIntegration', () => {
1,
);
expect(e.value).toBe('foo');
+ expect(e.getAttribute('value')).toBe('foo');
expect(e.getAttribute('defaultValue')).toBe(null);
},
);