Advertisement
Thenlie

Untitled

Jan 26th, 2024
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.59 KB | None | 0 0
  1. console.log
  2. [
  3. { title: '- -', itemType: 'sectionHeader' },
  4. {
  5. __typename: 'Speaker',
  6. id: '0f0a9e44-f61a-493e-a898-ab6263270786',
  7. eventId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
  8. firstName: 'Tha',
  9. lastName: 'Ispeaker',
  10. company: '',
  11. title: '',
  12. isFeaturedSpeaker: true,
  13. profileImage: null,
  14. designation: '',
  15. prefix: '',
  16. documents: [],
  17. facebookProfile: '',
  18. twitterProfile: '',
  19. linkedInProfile: '',
  20. relatedWebsites: [],
  21. biography: '',
  22. order: 1,
  23. attachmentCount: 0,
  24. tags: null,
  25. featured: true,
  26. listItemText: 'Tha Ispeaker',
  27. listItemTextOptional1: '',
  28. listItemTextOptional2: '',
  29. itemType: 'sectionRow',
  30. itemIndex: 0,
  31. itemTitle: '- -'
  32. },
  33. {
  34. __typename: 'Speaker',
  35. id: '756b3742-14a1-4a26-a5cf-8d4ba8aeb097',
  36. eventId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
  37. firstName: 'Bob',
  38. lastName: 'Johnes',
  39. company: 'Acme Inc',
  40. title: 'President Bob',
  41. isFeaturedSpeaker: true,
  42. profileImage: null,
  43. designation: 'Dr',
  44. prefix: '',
  45. documents: [],
  46. facebookProfile: 'https://www.facebook.com/cvent/',
  47. twitterProfile: 'https://www.twitter.com/cvent/',
  48. linkedInProfile: 'https://www.linkedin.com/company/cvent',
  49. relatedWebsites: [ [Object] ],
  50. biography: '',
  51. order: 2,
  52. attachmentCount: 0,
  53. tags: null,
  54. featured: true,
  55. listItemText: 'Bob Johnes, Dr',
  56. listItemTextOptional1: 'President Bob',
  57. listItemTextOptional2: 'Acme Inc',
  58. itemType: 'sectionRow',
  59. itemIndex: 1,
  60. itemTitle: '- -'
  61. },
  62. {
  63. __typename: 'Speaker',
  64. id: '7a91f1e0-ccdb-4533-a138-18420ca42301',
  65. eventId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
  66. firstName: 'Sir',
  67. lastName: 'Talksalot',
  68. company: '',
  69. title: '',
  70. isFeaturedSpeaker: true,
  71. profileImage: null,
  72. designation: '',
  73. prefix: '',
  74. documents: [],
  75. facebookProfile: '',
  76. twitterProfile: '',
  77. linkedInProfile: '',
  78. relatedWebsites: [],
  79. biography: '',
  80. order: 3,
  81. attachmentCount: 0,
  82. tags: null,
  83. featured: true,
  84. listItemText: 'Sir Talksalot',
  85. listItemTextOptional1: '',
  86. listItemTextOptional2: '',
  87. itemType: 'sectionRow',
  88. itemIndex: 2,
  89. itemTitle: '- -'
  90. },
  91. {
  92. __typename: 'Speaker',
  93. id: 'b379b770-ab81-4233-9b33-6958ba6119ae',
  94. eventId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
  95. firstName: 'Betty',
  96. lastName: 'Smith',
  97. company: 'Superior Court',
  98. title: 'Judge',
  99. isFeaturedSpeaker: true,
  100. profileImage: 'https://silo439-custom.core.cvent.org/E333776B616C4404B4B2D2EADB2CADAC/files/event/04744a2a478e44d6802fbb204b139639/8902c87704594e4db89c8658e6e989fa.jpg',
  101. designation: 'Judge',
  102. prefix: '',
  103. documents: [ [Object] ],
  104. facebookProfile: '',
  105. twitterProfile: '',
  106. linkedInProfile: '',
  107. relatedWebsites: [],
  108. biography: 'Talks a lot',
  109. order: 4,
  110. attachmentCount: 1,
  111. tags: null,
  112. featured: true,
  113. listItemText: 'Betty Smith, Judge',
  114. listItemTextOptional1: 'Judge',
  115. listItemTextOptional2: 'Superior Court',
  116. itemType: 'sectionRow',
  117. itemIndex: 3,
  118. itemTitle: '- -'
  119. },
  120. {
  121. __typename: 'Speaker',
  122. id: 'fac301cc-dadc-43a1-8d4c-dfb690a25687',
  123. eventId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
  124. firstName: 'Suzie',
  125. lastName: 'Alexander-Johnson',
  126. company: '',
  127. title: '',
  128. isFeaturedSpeaker: true,
  129. profileImage: 'https://silo439-custom.core.cvent.org/E333776B616C4404B4B2D2EADB2CADAC/files/event/04744a2a478e44d6802fbb204b139639/23585d6cb8464bfeb40a3d2142b2605e.jpg',
  130. designation: 'The One and Only',
  131. prefix: '',
  132. documents: [],
  133. facebookProfile: '',
  134. twitterProfile: '',
  135. linkedInProfile: '',
  136. relatedWebsites: [],
  137. biography: '',
  138. order: 5,
  139. attachmentCount: 0,
  140. tags: null,
  141. featured: true,
  142. listItemText: 'Suzie Alexander-Johnson, The One and Only',
  143. listItemTextOptional1: '',
  144. listItemTextOptional2: '',
  145. itemType: 'sectionRow',
  146. itemIndex: 4,
  147. itemTitle: '- -'
  148. }
  149. ]
  150.  
  151. at log (../falcon-app-components/src/components/lists/AnimatedSectionFlashList.js:47:11)
  152. at Array.forEach (<anonymous>)
  153. at Array.forEach (<anonymous>)
  154. FAIL src/screens/speakers/__tests__/SpeakerListScreen.test.js (6.395 s)
  155. SpeakerListScreen
  156. ✓ renders loading screen (146 ms)
  157. ✕ renders speaker list (1040 ms)
  158. ● SpeakerListScreen › renders speaker list
  159. Unable to find an element with testID: contact-list-item
  160. <View>
  161. <RNCSafeAreaProvider>
  162. <View>
  163. <RNSScreenContainer>
  164. <RNSScreen>
  165. <View />
  166. <View
  167. accessibilityElementsHidden={false}
  168. importantForAccessibility="auto"
  169. >
  170. <View>
  171. <View>
  172. <View>
  173. <View>
  174. <View>
  175. <View>
  176. <View
  177. testID="screen-container"
  178. >
  179. <View>
  180. <RCTScrollView
  181. testID="LEITHEN"
  182. >
  183. <RCTRefreshControl />
  184. <View>
  185. <View>
  186. <AutoLayoutView />
  187. </View>
  188. </View>
  189. </RCTScrollView>
  190. <View />
  191. </View>
  192. <View
  193. testID="header-background-color"
  194. />
  195. <View>
  196. <View>
  197. <View
  198. testID="navigation-header"
  199. >
  200. <View>
  201. <Text
  202. accessibilityRole="header"
  203. testID="Header-titleText"
  204. >
  205. Speakers
  206. </Text>
  207. </View>
  208. </View>
  209. <View
  210. testID="header-right"
  211. >
  212. <View>
  213. <View
  214. testID="header-right-button"
  215. >
  216. <View
  217. accessibilityLabel="Search speakers"
  218. accessibilityRole="button"
  219. accessibilityState={
  220. {
  221. "disabled": false,
  222. }
  223. }
  224. accessible={true}
  225. testID="contact-list-screen-search-button"
  226. >
  227. <View>
  228. <Image
  229. testID="contact-list-screen-search-button-icon"
  230. />
  231. </View>
  232. </View>
  233. </View>
  234. <View
  235. testID="header-right-button"
  236. >
  237. <View
  238. accessibilityLabel="Sort"
  239. accessibilityRole="button"
  240. accessibilityState={
  241. {
  242. "disabled": false,
  243. }
  244. }
  245. accessible={true}
  246. testID="contact-list-screen-sort-button"
  247. >
  248. <View>
  249. <Image
  250. testID="contact-list-screen-sort-button-icon"
  251. />
  252. </View>
  253. </View>
  254. </View>
  255. </View>
  256. </View>
  257. </View>
  258. <View
  259. testID="header-footer"
  260. >
  261. <View>
  262. <RCTScrollView
  263. testID="quick-link-container"
  264. >
  265. <View>
  266. <View
  267. accessibilityLabel="Filter by featured speakers"
  268. accessibilityRole="button"
  269. accessibilityState={
  270. {
  271. "selected": false,
  272. }
  273. }
  274. accessible={true}
  275. >
  276. <Text
  277. testID="chip-featuredSpeaker"
  278. >
  279. Featured
  280. </Text>
  281. </View>
  282. </View>
  283. </RCTScrollView>
  284. </View>
  285. </View>
  286. </View>
  287. </View>
  288. <View />
  289. </View>
  290. </View>
  291. </View>
  292. </View>
  293. </View>
  294. </View>
  295. </View>
  296. </RNSScreen>
  297. </RNSScreenContainer>
  298. <View />
  299. </View>
  300. </RNCSafeAreaProvider>
  301. </View>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement