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.

GlobalFooter-test.tsx.snap 4.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should display the sq version 1`] = `
  3. <div
  4. className="page-footer page-container"
  5. id="footer"
  6. >
  7. <GlobalFooterBranding />
  8. <ul
  9. className="page-footer-menu"
  10. >
  11. <li
  12. className="page-footer-menu-item"
  13. >
  14. Enterprise Edition
  15. </li>
  16. <li
  17. className="page-footer-menu-item"
  18. >
  19. <AppVersionStatus />
  20. </li>
  21. <li
  22. className="page-footer-menu-item"
  23. >
  24. <ForwardRef(Link)
  25. rel="noopener noreferrer"
  26. target="_blank"
  27. to="https://www.gnu.org/licenses/lgpl-3.0.txt"
  28. >
  29. footer.license
  30. </ForwardRef(Link)>
  31. </li>
  32. <li
  33. className="page-footer-menu-item"
  34. >
  35. <ForwardRef(Link)
  36. rel="noopener noreferrer"
  37. target="_blank"
  38. to="https://community.sonarsource.com/c/help/sq"
  39. >
  40. footer.community
  41. </ForwardRef(Link)>
  42. </li>
  43. <li
  44. className="page-footer-menu-item"
  45. >
  46. <withAppStateContext(DocLink)
  47. to="/"
  48. >
  49. footer.documentation
  50. </withAppStateContext(DocLink)>
  51. </li>
  52. <li
  53. className="page-footer-menu-item"
  54. >
  55. <withAppStateContext(DocLink)
  56. to="/instance-administration/plugin-version-matrix/"
  57. >
  58. footer.plugins
  59. </withAppStateContext(DocLink)>
  60. </li>
  61. <li
  62. className="page-footer-menu-item"
  63. >
  64. <ForwardRef(Link)
  65. to="/web_api"
  66. >
  67. footer.web_api
  68. </ForwardRef(Link)>
  69. </li>
  70. </ul>
  71. </div>
  72. `;
  73. exports[`should not render the only logged in information 1`] = `
  74. <div
  75. className="page-footer page-container"
  76. id="footer"
  77. >
  78. <GlobalFooterBranding />
  79. <ul
  80. className="page-footer-menu"
  81. >
  82. <li
  83. className="page-footer-menu-item"
  84. >
  85. <ForwardRef(Link)
  86. rel="noopener noreferrer"
  87. target="_blank"
  88. to="https://www.gnu.org/licenses/lgpl-3.0.txt"
  89. >
  90. footer.license
  91. </ForwardRef(Link)>
  92. </li>
  93. <li
  94. className="page-footer-menu-item"
  95. >
  96. <ForwardRef(Link)
  97. rel="noopener noreferrer"
  98. target="_blank"
  99. to="https://community.sonarsource.com/c/help/sq"
  100. >
  101. footer.community
  102. </ForwardRef(Link)>
  103. </li>
  104. <li
  105. className="page-footer-menu-item"
  106. >
  107. <withAppStateContext(DocLink)
  108. to="/"
  109. >
  110. footer.documentation
  111. </withAppStateContext(DocLink)>
  112. </li>
  113. <li
  114. className="page-footer-menu-item"
  115. >
  116. <withAppStateContext(DocLink)
  117. to="/instance-administration/plugin-version-matrix/"
  118. >
  119. footer.plugins
  120. </withAppStateContext(DocLink)>
  121. </li>
  122. </ul>
  123. </div>
  124. `;
  125. exports[`should render the only logged in information 1`] = `
  126. <div
  127. className="page-footer page-container"
  128. id="footer"
  129. >
  130. <GlobalFooterBranding />
  131. <ul
  132. className="page-footer-menu"
  133. >
  134. <li
  135. className="page-footer-menu-item"
  136. >
  137. Community Edition
  138. </li>
  139. <li
  140. className="page-footer-menu-item"
  141. >
  142. <AppVersionStatus />
  143. </li>
  144. <li
  145. className="page-footer-menu-item"
  146. >
  147. <ForwardRef(Link)
  148. rel="noopener noreferrer"
  149. target="_blank"
  150. to="https://www.gnu.org/licenses/lgpl-3.0.txt"
  151. >
  152. footer.license
  153. </ForwardRef(Link)>
  154. </li>
  155. <li
  156. className="page-footer-menu-item"
  157. >
  158. <ForwardRef(Link)
  159. rel="noopener noreferrer"
  160. target="_blank"
  161. to="https://community.sonarsource.com/c/help/sq"
  162. >
  163. footer.community
  164. </ForwardRef(Link)>
  165. </li>
  166. <li
  167. className="page-footer-menu-item"
  168. >
  169. <withAppStateContext(DocLink)
  170. to="/"
  171. >
  172. footer.documentation
  173. </withAppStateContext(DocLink)>
  174. </li>
  175. <li
  176. className="page-footer-menu-item"
  177. >
  178. <withAppStateContext(DocLink)
  179. to="/instance-administration/plugin-version-matrix/"
  180. >
  181. footer.plugins
  182. </withAppStateContext(DocLink)>
  183. </li>
  184. <li
  185. className="page-footer-menu-item"
  186. >
  187. <ForwardRef(Link)
  188. to="/web_api"
  189. >
  190. footer.web_api
  191. </ForwardRef(Link)>
  192. </li>
  193. </ul>
  194. </div>
  195. `;
  196. exports[`should show the db warning message 1`] = `
  197. <Alert
  198. display="inline"
  199. id="evaluation_warning"
  200. variant="warning"
  201. >
  202. <p
  203. className="big"
  204. >
  205. footer.production_database_warning
  206. </p>
  207. <p>
  208. <InstanceMessage
  209. message="footer.production_database_explanation"
  210. />
  211. </p>
  212. </Alert>
  213. `;