diff options
Diffstat (limited to 'spec/frontend/access_tokens/components/tokens_app_spec.js')
-rw-r--r-- | spec/frontend/access_tokens/components/tokens_app_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/frontend/access_tokens/components/tokens_app_spec.js b/spec/frontend/access_tokens/components/tokens_app_spec.js index 6e7dee6a2cc..59cc8e25414 100644 --- a/spec/frontend/access_tokens/components/tokens_app_spec.js +++ b/spec/frontend/access_tokens/components/tokens_app_spec.js @@ -43,8 +43,8 @@ describe('TokensApp', () => { }) => { const container = extendedWrapper(wrapper.findByTestId(testId)); - expect(container.findByText(expectedLabel, { selector: 'h4' }).exists()).toBe(true); - expect(container.findByText(expectedDescription).exists()).toBe(true); + expect(container.findByText(expectedLabel).exists()).toBe(true); + expect(container.findByText(expectedDescription, { exact: false }).exists()).toBe(true); expect(container.findByText(expectedInputDescription, { exact: false }).exists()).toBe(true); expect(container.findByText('reset this token').attributes()).toMatchObject({ 'data-confirm': expectedResetConfirmMessage, |