ApiKeysAddedModal.test.tsx.snap 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Render should render component 1`] = `
  3. <div
  4. className="modal-body"
  5. >
  6. <div
  7. className="modal-header"
  8. >
  9. <h2
  10. className="modal-header-title"
  11. >
  12. <i
  13. className="fa fa-key"
  14. />
  15. <span
  16. className="p-l-1"
  17. >
  18. API Key Created
  19. </span>
  20. </h2>
  21. <a
  22. className="modal-header-close"
  23. ng-click="dismiss();"
  24. >
  25. <i
  26. className="fa fa-remove"
  27. />
  28. </a>
  29. </div>
  30. <div
  31. className="modal-content"
  32. >
  33. <div
  34. className="gf-form-group"
  35. >
  36. <div
  37. className="gf-form"
  38. >
  39. <span
  40. className="gf-form-label"
  41. >
  42. Key
  43. </span>
  44. <span
  45. className="gf-form-label"
  46. >
  47. api key test
  48. </span>
  49. </div>
  50. </div>
  51. <div
  52. className="grafana-info-box"
  53. style={
  54. Object {
  55. "border": 0,
  56. }
  57. }
  58. >
  59. You will only be able to view this key here once! It is not stored in this form. So be sure to copy it now.
  60. <br />
  61. <br />
  62. You can authenticate request using the Authorization HTTP header, example:
  63. <br />
  64. <br />
  65. <pre
  66. className="small"
  67. >
  68. curl -H "Authorization: Bearer
  69. api key test
  70. "
  71. test/path
  72. /api/dashboards/home
  73. </pre>
  74. </div>
  75. </div>
  76. </div>
  77. `;