Skip to content

Commit f4e1b8c

Browse files
committed
Fix e2e regression tests
1 parent aba9379 commit f4e1b8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/react-devtools-inline/__tests__/__e2e__/components.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@ test.describe('Components', () => {
9393

9494
const name = isEditable.name
9595
? existingNameElements[0].value
96-
: existingNameElements[0].innerText;
96+
: existingNameElements[0].innerText
97+
// remove trailing colon
98+
.slice(0, -1);
9799
const value = isEditable.value
98100
? existingValueElements[0].value
99101
: existingValueElements[0].innerText;

0 commit comments

Comments
 (0)