diff --git a/packages/sitecore-jss-react/src/components/Placeholder.test.tsx b/packages/sitecore-jss-react/src/components/Placeholder.test.tsx index ff1702616b..61f7be2ed5 100644 --- a/packages/sitecore-jss-react/src/components/Placeholder.test.tsx +++ b/packages/sitecore-jss-react/src/components/Placeholder.test.tsx @@ -462,7 +462,7 @@ describe('', () => { ); - const eeChrome = renderedComponent.find({ chrometype: 'placeholder', kind: 'open', id: phKey }); + const eeChrome = renderedComponent.find(`code#${phKey}[chrometype="placeholder"][kind="open"]`); expect(eeChrome.length).to.eq(1); const keyAttribute = eeChrome.get(0).key; expect(keyAttribute).to.not.be.undefined;