projectDebugFiles.spec.jsx.snap 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`ProjectDebugFiles renders 1`] = `
  3. <ProjectDebugSymbols
  4. location={
  5. Object {
  6. "query": Object {},
  7. }
  8. }
  9. params={
  10. Object {
  11. "orgId": "org",
  12. "projectId": "project",
  13. }
  14. }
  15. >
  16. <SentryDocumentTitle
  17. objSlug="project"
  18. title="Debug Files"
  19. >
  20. <SideEffect(DocumentTitle)
  21. title="Debug Files - project - Sentry"
  22. >
  23. <DocumentTitle
  24. title="Debug Files - project - Sentry"
  25. />
  26. </SideEffect(DocumentTitle)>
  27. </SentryDocumentTitle>
  28. <StyledSettingsPageHeading
  29. noTitleStyles={false}
  30. title="Debug Information Files"
  31. >
  32. <SettingsPageHeading
  33. className="css-1fvvoq2-StyledSettingsPageHeading e1uay4fd4"
  34. noTitleStyles={false}
  35. title="Debug Information Files"
  36. >
  37. <div
  38. className="css-1fvvoq2-StyledSettingsPageHeading e1uay4fd4"
  39. >
  40. <TitleAndActions>
  41. <div
  42. className="css-b5tiyd-TitleAndActions e1uay4fd0"
  43. >
  44. <Title
  45. styled={false}
  46. >
  47. <div
  48. className="css-2kvddg-Title e1uay4fd1"
  49. >
  50. <HeaderTitle>
  51. <h4
  52. className="css-u1l4am-HeaderTitle eqkydle2"
  53. >
  54. Debug Information Files
  55. </h4>
  56. </HeaderTitle>
  57. </div>
  58. </Title>
  59. </div>
  60. </TitleAndActions>
  61. </div>
  62. </SettingsPageHeading>
  63. </StyledSettingsPageHeading>
  64. <TextBlock>
  65. <div
  66. className="css-1geyb25-TextBlock e1x1lar10"
  67. >
  68. Debug information files are used to convert addresses and minified
  69. function names from native crash reports into function names and
  70. locations.
  71. </div>
  72. </TextBlock>
  73. <TextBlock>
  74. <div
  75. className="css-1geyb25-TextBlock e1x1lar10"
  76. >
  77. This list contains all uploaded debug information files:
  78. </div>
  79. </TextBlock>
  80. <Panel>
  81. <Component
  82. className="css-1bjezgp-Panel e119nu470"
  83. >
  84. <div
  85. className="css-1bjezgp-Panel e119nu470"
  86. >
  87. <PanelHeader
  88. hasButtons={true}
  89. >
  90. <div
  91. className="css-ivplt2-PanelHeader-getPadding en8g1d30"
  92. >
  93. <Box
  94. w={0.375}
  95. >
  96. <Base
  97. className="css-cxbzjr"
  98. w={0.375}
  99. >
  100. <div
  101. className="css-cxbzjr"
  102. is={null}
  103. >
  104. Debug ID
  105. </div>
  106. </Base>
  107. </Box>
  108. <Box
  109. flex="1"
  110. >
  111. <Base
  112. className="css-vti0ei"
  113. flex="1"
  114. >
  115. <div
  116. className="css-vti0ei"
  117. is={null}
  118. >
  119. Name
  120. </div>
  121. </Base>
  122. </Box>
  123. <Box>
  124. <Base
  125. className="css-roynbj"
  126. >
  127. <div
  128. className="css-roynbj"
  129. is={null}
  130. >
  131. <withRouter(AsyncComponentSearchInput)
  132. api={
  133. Client {
  134. "_chain": [Function],
  135. "_wrapRequest": [Function],
  136. "bulkUpdate": [Function],
  137. "handleRequestError": [Function],
  138. "hasProjectBeenRenamed": [Function],
  139. }
  140. }
  141. className="search"
  142. onError={[Function]}
  143. onSuccess={[Function]}
  144. placeholder="Search DIFs"
  145. updateRoute={true}
  146. url="/projects/org/project/"
  147. >
  148. <AsyncComponentSearchInput
  149. api={
  150. Client {
  151. "_chain": [Function],
  152. "_wrapRequest": [Function],
  153. "bulkUpdate": [Function],
  154. "handleRequestError": [Function],
  155. "hasProjectBeenRenamed": [Function],
  156. }
  157. }
  158. className="search"
  159. debounceWait={200}
  160. location={
  161. Object {
  162. "query": Object {},
  163. }
  164. }
  165. onError={[Function]}
  166. onSuccess={[Function]}
  167. placeholder="Search DIFs"
  168. router={
  169. Object {
  170. "createHref": [MockFunction],
  171. "go": [MockFunction],
  172. "goBack": [MockFunction],
  173. "goForward": [MockFunction],
  174. "isActive": [MockFunction],
  175. "listen": [MockFunction],
  176. "location": Object {
  177. "query": Object {},
  178. },
  179. "push": [MockFunction],
  180. "replace": [MockFunction],
  181. "setRouteLeaveHook": [MockFunction],
  182. }
  183. }
  184. updateRoute={true}
  185. url="/projects/org/project/"
  186. >
  187. <Form
  188. onSubmit={[Function]}
  189. >
  190. <form
  191. className="css-vfrmj7-Form e6xwo1"
  192. onSubmit={[Function]}
  193. >
  194. <Input
  195. className="search"
  196. onChange={[Function]}
  197. placeholder="Search DIFs"
  198. value=""
  199. >
  200. <input
  201. className="search css-1bw1438-Input-inputStyles e1xej46s0"
  202. onChange={[Function]}
  203. placeholder="Search DIFs"
  204. value=""
  205. />
  206. </Input>
  207. </form>
  208. </Form>
  209. </AsyncComponentSearchInput>
  210. </withRouter(AsyncComponentSearchInput)>
  211. </div>
  212. </Base>
  213. </Box>
  214. </div>
  215. </PanelHeader>
  216. <PanelBody
  217. direction="column"
  218. disablePadding={true}
  219. flex={false}
  220. >
  221. <div
  222. className="css-a4ya23-textStyles"
  223. >
  224. <EmptyStateWarning
  225. small={false}
  226. >
  227. <EmptyStreamWrapper
  228. data-test-id="empty-state"
  229. >
  230. <div
  231. className="css-eeziz4-EmptyStreamWrapper e1107k000"
  232. data-test-id="empty-state"
  233. >
  234. <HeroIcon
  235. size="54"
  236. src="icon-circle-exclamation"
  237. >
  238. <ForwardRef
  239. className="css-192qau-InlineSvg-HeroIcon e1csd7tf0"
  240. size="54"
  241. src="icon-circle-exclamation"
  242. >
  243. <svg
  244. className="css-192qau-InlineSvg-HeroIcon e1csd7tf0"
  245. height="54"
  246. viewBox={Object {}}
  247. width="54"
  248. >
  249. <use
  250. href="#test"
  251. xlinkHref="#test"
  252. />
  253. </svg>
  254. </ForwardRef>
  255. </HeroIcon>
  256. <p>
  257. There are no debug symbols for this project.
  258. </p>
  259. </div>
  260. </EmptyStreamWrapper>
  261. </EmptyStateWarning>
  262. </div>
  263. </PanelBody>
  264. </div>
  265. </Component>
  266. </Panel>
  267. <Pagination
  268. className="css-1yt0wm7-streamCss"
  269. onCursor={[Function]}
  270. />
  271. </ProjectDebugSymbols>
  272. `;
  273. exports[`ProjectDebugFiles renders empty 1`] = `
  274. <Fragment>
  275. <SentryDocumentTitle
  276. objSlug="project"
  277. title="Debug Files"
  278. />
  279. <StyledSettingsPageHeading
  280. noTitleStyles={false}
  281. title="Debug Information Files"
  282. />
  283. <TextBlock>
  284. Debug information files are used to convert addresses and minified
  285. function names from native crash reports into function names and
  286. locations.
  287. </TextBlock>
  288. <TextBlock>
  289. This list contains all uploaded debug information files:
  290. </TextBlock>
  291. <Panel>
  292. <PanelHeader
  293. hasButtons={true}
  294. >
  295. <Box
  296. w={0.375}
  297. >
  298. Debug ID
  299. </Box>
  300. <Box
  301. flex="1"
  302. >
  303. Name
  304. </Box>
  305. <Box>
  306. <withRouter(AsyncComponentSearchInput)
  307. api={
  308. Client {
  309. "_chain": [Function],
  310. "_wrapRequest": [Function],
  311. "bulkUpdate": [Function],
  312. "handleRequestError": [Function],
  313. "hasProjectBeenRenamed": [Function],
  314. }
  315. }
  316. className="search"
  317. onError={[Function]}
  318. onSuccess={[Function]}
  319. placeholder="Search DIFs"
  320. updateRoute={true}
  321. url="/projects/org/project/"
  322. />
  323. </Box>
  324. </PanelHeader>
  325. <PanelBody
  326. direction="column"
  327. disablePadding={true}
  328. flex={false}
  329. >
  330. <EmptyStateWarning
  331. small={false}
  332. >
  333. <p>
  334. There are no debug symbols for this project.
  335. </p>
  336. </EmptyStateWarning>
  337. </PanelBody>
  338. </Panel>
  339. <Pagination
  340. className="css-1yt0wm7-streamCss"
  341. onCursor={[Function]}
  342. />
  343. </Fragment>
  344. `;