PluginListPage.test.tsx.snap 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Render should render component 1`] = `
  3. <Page
  4. navModel={
  5. Object {
  6. "main": Object {
  7. "text": "Configuration",
  8. },
  9. "node": Object {
  10. "text": "Plugins",
  11. },
  12. }
  13. }
  14. >
  15. <PageContents
  16. isLoading={true}
  17. >
  18. <OrgActionBar
  19. layoutMode="grid"
  20. linkButton={
  21. Object {
  22. "href": "https://grafana.com/plugins?utm_source=grafana_plugin_list",
  23. "title": "Find more plugins on Grafana.com",
  24. }
  25. }
  26. onSetLayoutMode={[Function]}
  27. searchQuery=""
  28. setSearchQuery={[Function]}
  29. />
  30. </PageContents>
  31. </Page>
  32. `;
  33. exports[`Render should render list 1`] = `
  34. <Page
  35. navModel={
  36. Object {
  37. "main": Object {
  38. "text": "Configuration",
  39. },
  40. "node": Object {
  41. "text": "Plugins",
  42. },
  43. }
  44. }
  45. >
  46. <PageContents
  47. isLoading={false}
  48. >
  49. <OrgActionBar
  50. layoutMode="grid"
  51. linkButton={
  52. Object {
  53. "href": "https://grafana.com/plugins?utm_source=grafana_plugin_list",
  54. "title": "Find more plugins on Grafana.com",
  55. }
  56. }
  57. onSetLayoutMode={[Function]}
  58. searchQuery=""
  59. setSearchQuery={[Function]}
  60. />
  61. <PluginList
  62. layoutMode="grid"
  63. plugins={Array []}
  64. />
  65. </PageContents>
  66. </Page>
  67. `;