diff --git a/components/x-gift-article/__tests__/x-gift-article.test.jsx b/components/x-gift-article/__tests__/x-gift-article.test.jsx index 0ee395a3b..2b6e988ee 100644 --- a/components/x-gift-article/__tests__/x-gift-article.test.jsx +++ b/components/x-gift-article/__tests__/x-gift-article.test.jsx @@ -260,4 +260,20 @@ describe('x-gift-article', () => { expect(subject.find('#free-article-alert')).toExist() expect(subject.find('#share-with-non-subscribers-checkbox')).not.toExist() }) + + it('should hide the Sharing options toggler when isMPRArticle is true', async () => { + const args = { + ...baseArgs, + isMPRArticle: true + } + const subject = mount( Object.assign(actions, a)} />) + + await actions.activate() + + subject.update() + + expect(subject.find({ children: 'FT subscribers only' })).not.toExist() + expect(subject.find({ children: 'Anyone' })).not.toExist() + expect(subject.find({ children: 'Non-subscriber' })).not.toExist() + }) })