projectDebugFiles.spec.jsx.snap 12 KB

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