-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Uptime] Ping List Disable expand row if no body present (#54898)
* update ping list * update snap * updated body * update snaps * fix i18n * updated translation * updated tests
- Loading branch information
Showing
7 changed files
with
388 additions
and
110 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...ublic/components/functional/ping_list/__tests__/__snapshots__/doc_link_body.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
273 changes: 212 additions & 61 deletions
273
...public/components/functional/ping_list/__tests__/__snapshots__/expanded_row.test.tsx.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
...cy/plugins/uptime/public/components/functional/ping_list/__tests__/doc_link_body.test.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License; | ||
* you may not use this file except in compliance with the Elastic License. | ||
*/ | ||
|
||
import { shallowWithIntl } from 'test_utils/enzyme_helpers'; | ||
import React from 'react'; | ||
import { DocLinkForBody } from '../doc_link_body'; | ||
|
||
describe('PingListExpandedRow', () => { | ||
it('renders expected elements for valid props', () => { | ||
expect(shallowWithIntl(<DocLinkForBody />)).toMatchSnapshot(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.