Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- console.log
- [
- { title: '- -', itemType: 'sectionHeader' },
- {
- __typename: 'Speaker',
- id: '0f0a9e44-f61a-493e-a898-ab6263270786',
- eventId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
- firstName: 'Tha',
- lastName: 'Ispeaker',
- company: '',
- title: '',
- isFeaturedSpeaker: true,
- profileImage: null,
- designation: '',
- prefix: '',
- documents: [],
- facebookProfile: '',
- twitterProfile: '',
- linkedInProfile: '',
- relatedWebsites: [],
- biography: '',
- order: 1,
- attachmentCount: 0,
- tags: null,
- featured: true,
- listItemText: 'Tha Ispeaker',
- listItemTextOptional1: '',
- listItemTextOptional2: '',
- itemType: 'sectionRow',
- itemIndex: 0,
- itemTitle: '- -'
- },
- {
- __typename: 'Speaker',
- id: '756b3742-14a1-4a26-a5cf-8d4ba8aeb097',
- eventId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
- firstName: 'Bob',
- lastName: 'Johnes',
- company: 'Acme Inc',
- title: 'President Bob',
- isFeaturedSpeaker: true,
- profileImage: null,
- designation: 'Dr',
- prefix: '',
- documents: [],
- facebookProfile: 'https://www.facebook.com/cvent/',
- twitterProfile: 'https://www.twitter.com/cvent/',
- linkedInProfile: 'https://www.linkedin.com/company/cvent',
- relatedWebsites: [ [Object] ],
- biography: '',
- order: 2,
- attachmentCount: 0,
- tags: null,
- featured: true,
- listItemText: 'Bob Johnes, Dr',
- listItemTextOptional1: 'President Bob',
- listItemTextOptional2: 'Acme Inc',
- itemType: 'sectionRow',
- itemIndex: 1,
- itemTitle: '- -'
- },
- {
- __typename: 'Speaker',
- id: '7a91f1e0-ccdb-4533-a138-18420ca42301',
- eventId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
- firstName: 'Sir',
- lastName: 'Talksalot',
- company: '',
- title: '',
- isFeaturedSpeaker: true,
- profileImage: null,
- designation: '',
- prefix: '',
- documents: [],
- facebookProfile: '',
- twitterProfile: '',
- linkedInProfile: '',
- relatedWebsites: [],
- biography: '',
- order: 3,
- attachmentCount: 0,
- tags: null,
- featured: true,
- listItemText: 'Sir Talksalot',
- listItemTextOptional1: '',
- listItemTextOptional2: '',
- itemType: 'sectionRow',
- itemIndex: 2,
- itemTitle: '- -'
- },
- {
- __typename: 'Speaker',
- id: 'b379b770-ab81-4233-9b33-6958ba6119ae',
- eventId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
- firstName: 'Betty',
- lastName: 'Smith',
- company: 'Superior Court',
- title: 'Judge',
- isFeaturedSpeaker: true,
- profileImage: 'https://silo439-custom.core.cvent.org/E333776B616C4404B4B2D2EADB2CADAC/files/event/04744a2a478e44d6802fbb204b139639/8902c87704594e4db89c8658e6e989fa.jpg',
- designation: 'Judge',
- prefix: '',
- documents: [ [Object] ],
- facebookProfile: '',
- twitterProfile: '',
- linkedInProfile: '',
- relatedWebsites: [],
- biography: 'Talks a lot',
- order: 4,
- attachmentCount: 1,
- tags: null,
- featured: true,
- listItemText: 'Betty Smith, Judge',
- listItemTextOptional1: 'Judge',
- listItemTextOptional2: 'Superior Court',
- itemType: 'sectionRow',
- itemIndex: 3,
- itemTitle: '- -'
- },
- {
- __typename: 'Speaker',
- id: 'fac301cc-dadc-43a1-8d4c-dfb690a25687',
- eventId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
- firstName: 'Suzie',
- lastName: 'Alexander-Johnson',
- company: '',
- title: '',
- isFeaturedSpeaker: true,
- profileImage: 'https://silo439-custom.core.cvent.org/E333776B616C4404B4B2D2EADB2CADAC/files/event/04744a2a478e44d6802fbb204b139639/23585d6cb8464bfeb40a3d2142b2605e.jpg',
- designation: 'The One and Only',
- prefix: '',
- documents: [],
- facebookProfile: '',
- twitterProfile: '',
- linkedInProfile: '',
- relatedWebsites: [],
- biography: '',
- order: 5,
- attachmentCount: 0,
- tags: null,
- featured: true,
- listItemText: 'Suzie Alexander-Johnson, The One and Only',
- listItemTextOptional1: '',
- listItemTextOptional2: '',
- itemType: 'sectionRow',
- itemIndex: 4,
- itemTitle: '- -'
- }
- ]
- at log (../falcon-app-components/src/components/lists/AnimatedSectionFlashList.js:47:11)
- at Array.forEach (<anonymous>)
- at Array.forEach (<anonymous>)
- FAIL src/screens/speakers/__tests__/SpeakerListScreen.test.js (6.395 s)
- SpeakerListScreen
- ✓ renders loading screen (146 ms)
- ✕ renders speaker list (1040 ms)
- ● SpeakerListScreen › renders speaker list
- Unable to find an element with testID: contact-list-item
- <View>
- <RNCSafeAreaProvider>
- <View>
- <RNSScreenContainer>
- <RNSScreen>
- <View />
- <View
- accessibilityElementsHidden={false}
- importantForAccessibility="auto"
- >
- <View>
- <View>
- <View>
- <View>
- <View>
- <View>
- <View
- testID="screen-container"
- >
- <View>
- <RCTScrollView
- testID="LEITHEN"
- >
- <RCTRefreshControl />
- <View>
- <View>
- <AutoLayoutView />
- </View>
- </View>
- </RCTScrollView>
- <View />
- </View>
- <View
- testID="header-background-color"
- />
- <View>
- <View>
- <View
- testID="navigation-header"
- >
- <View>
- <Text
- accessibilityRole="header"
- testID="Header-titleText"
- >
- Speakers
- </Text>
- </View>
- </View>
- <View
- testID="header-right"
- >
- <View>
- <View
- testID="header-right-button"
- >
- <View
- accessibilityLabel="Search speakers"
- accessibilityRole="button"
- accessibilityState={
- {
- "disabled": false,
- }
- }
- accessible={true}
- testID="contact-list-screen-search-button"
- >
- <View>
- <Image
- testID="contact-list-screen-search-button-icon"
- />
- </View>
- </View>
- </View>
- <View
- testID="header-right-button"
- >
- <View
- accessibilityLabel="Sort"
- accessibilityRole="button"
- accessibilityState={
- {
- "disabled": false,
- }
- }
- accessible={true}
- testID="contact-list-screen-sort-button"
- >
- <View>
- <Image
- testID="contact-list-screen-sort-button-icon"
- />
- </View>
- </View>
- </View>
- </View>
- </View>
- </View>
- <View
- testID="header-footer"
- >
- <View>
- <RCTScrollView
- testID="quick-link-container"
- >
- <View>
- <View
- accessibilityLabel="Filter by featured speakers"
- accessibilityRole="button"
- accessibilityState={
- {
- "selected": false,
- }
- }
- accessible={true}
- >
- <Text
- testID="chip-featuredSpeaker"
- >
- Featured
- </Text>
- </View>
- </View>
- </RCTScrollView>
- </View>
- </View>
- </View>
- </View>
- <View />
- </View>
- </View>
- </View>
- </View>
- </View>
- </View>
- </View>
- </RNSScreen>
- </RNSScreenContainer>
- <View />
- </View>
- </RNCSafeAreaProvider>
- </View>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement