You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PluginActions-test.tsx.snap 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should render available plugin correctly 1`] = `
  3. <div
  4. className="js-actions"
  5. >
  6. <p
  7. className="little-spacer-bottom"
  8. >
  9. <Checkbox
  10. checked={false}
  11. className="js-terms"
  12. id="plugin-terms-foo"
  13. onCheck={[Function]}
  14. thirdState={false}
  15. >
  16. <label
  17. className="little-spacer-left"
  18. htmlFor="plugin-terms-foo"
  19. >
  20. marketplace.i_accept_the
  21. </label>
  22. </Checkbox>
  23. <a
  24. className="js-plugin-terms nowrap little-spacer-left"
  25. href="https://url"
  26. target="_blank"
  27. >
  28. marketplace.terms_and_conditions
  29. </a>
  30. </p>
  31. <Button
  32. className="js-install"
  33. disabled={true}
  34. onClick={[Function]}
  35. >
  36. marketplace.install
  37. </Button>
  38. </div>
  39. `;
  40. exports[`should render available plugin correctly 2`] = `
  41. <div
  42. className="js-actions"
  43. >
  44. <div>
  45. <p
  46. className="little-spacer-bottom"
  47. >
  48. marketplace.available_under_commercial_license
  49. </p>
  50. <a
  51. target="_blank"
  52. >
  53. marketplace.learn_more
  54. </a>
  55. </div>
  56. </div>
  57. `;
  58. exports[`should render installed plugin correctly 1`] = `
  59. <div
  60. className="js-actions"
  61. >
  62. <div
  63. className="display-inlin-block"
  64. >
  65. <PluginUpdateButton
  66. disabled={false}
  67. key="0"
  68. onClick={[Function]}
  69. update={
  70. Object {
  71. "requires": Array [],
  72. "status": "COMPATIBLE",
  73. }
  74. }
  75. />
  76. <Button
  77. className="js-uninstall button-red little-spacer-left"
  78. disabled={false}
  79. onClick={[Function]}
  80. >
  81. marketplace.uninstall
  82. </Button>
  83. </div>
  84. </div>
  85. `;
  86. exports[`should render installed plugin correctly 2`] = `
  87. <div
  88. className="js-actions"
  89. >
  90. <p>
  91. <CheckIcon
  92. className="little-spacer-right"
  93. />
  94. marketplace.installed
  95. </p>
  96. <div
  97. className="spacer-top"
  98. >
  99. <PluginUpdateButton
  100. disabled={false}
  101. key="0"
  102. onClick={[Function]}
  103. update={
  104. Object {
  105. "requires": Array [],
  106. "status": "COMPATIBLE",
  107. }
  108. }
  109. />
  110. </div>
  111. </div>
  112. `;