@truedat/ie 7.5.7 → 7.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/package.json +42 -67
  2. package/src/ingests/components/EventRow.js +1 -2
  3. package/src/ingests/components/Events.js +3 -4
  4. package/src/ingests/components/FieldGroupTable.js +1 -2
  5. package/src/ingests/components/Ingest.js +1 -2
  6. package/src/ingests/components/IngestActions.js +1 -2
  7. package/src/ingests/components/IngestArchive.js +2 -3
  8. package/src/ingests/components/IngestArchiveLoader.js +16 -38
  9. package/src/ingests/components/IngestArchiveRow.js +5 -6
  10. package/src/ingests/components/IngestCompleteness.js +0 -1
  11. package/src/ingests/components/IngestCrumbs.js +2 -4
  12. package/src/ingests/components/IngestDetails.js +3 -3
  13. package/src/ingests/components/IngestDuplicate.js +5 -8
  14. package/src/ingests/components/IngestEdit.js +5 -8
  15. package/src/ingests/components/IngestExecutions.js +7 -7
  16. package/src/ingests/components/IngestExecutionsLoader.js +2 -2
  17. package/src/ingests/components/IngestFilters.js +5 -6
  18. package/src/ingests/components/IngestForm.js +4 -5
  19. package/src/ingests/components/IngestHeader.js +0 -1
  20. package/src/ingests/components/IngestLoader.js +16 -58
  21. package/src/ingests/components/IngestRoutes.js +272 -231
  22. package/src/ingests/components/IngestRow.js +4 -5
  23. package/src/ingests/components/IngestSelectedFilters.js +10 -10
  24. package/src/ingests/components/IngestSummary.js +0 -2
  25. package/src/ingests/components/IngestTabs.js +13 -13
  26. package/src/ingests/components/Ingests.js +0 -1
  27. package/src/ingests/components/IngestsActions.js +1 -2
  28. package/src/ingests/components/IngestsLabelResults.js +1 -2
  29. package/src/ingests/components/IngestsLoader.js +1 -1
  30. package/src/ingests/components/IngestsSearch.js +0 -1
  31. package/src/ingests/components/IngestsSelector.js +0 -1
  32. package/src/ingests/components/IngestsTable.js +85 -94
  33. package/src/ingests/components/IngestsTabs.js +2 -3
  34. package/src/ingests/components/__tests__/Events.spec.js +10 -10
  35. package/src/ingests/components/__tests__/Ingest.spec.js +16 -5
  36. package/src/ingests/components/__tests__/IngestActions.spec.js +7 -7
  37. package/src/ingests/components/__tests__/IngestArchive.spec.js +7 -7
  38. package/src/ingests/components/__tests__/IngestArchiveLoader.spec.js +70 -69
  39. package/src/ingests/components/__tests__/IngestArchiveRow.spec.js +10 -12
  40. package/src/ingests/components/__tests__/IngestCompleteness.spec.js +0 -1
  41. package/src/ingests/components/__tests__/IngestDetails.spec.js +10 -10
  42. package/src/ingests/components/__tests__/IngestExecutions.spec.js +7 -7
  43. package/src/ingests/components/__tests__/IngestExecutionsLoader.spec.js +38 -47
  44. package/src/ingests/components/__tests__/IngestFilters.spec.js +0 -1
  45. package/src/ingests/components/__tests__/IngestForm.spec.js +18 -40
  46. package/src/ingests/components/__tests__/IngestHeader.spec.js +9 -9
  47. package/src/ingests/components/__tests__/IngestLabelResults.spec.js +0 -1
  48. package/src/ingests/components/__tests__/IngestLoader.spec.js +70 -41
  49. package/src/ingests/components/__tests__/IngestRoutes.spec.js +176 -0
  50. package/src/ingests/components/__tests__/IngestSelectedFilters.spec.js +33 -5
  51. package/src/ingests/components/__tests__/Ingests.spec.js +32 -6
  52. package/src/ingests/components/__tests__/IngestsActions.spec.js +5 -5
  53. package/src/ingests/components/__tests__/IngestsLoader.spec.js +65 -36
  54. package/src/ingests/components/__tests__/IngestsTable.spec.js +16 -7
  55. package/src/ingests/components/__tests__/__snapshots__/Events.spec.js.snap +83 -43
  56. package/src/ingests/components/__tests__/__snapshots__/Ingest.spec.js.snap +27 -14
  57. package/src/ingests/components/__tests__/__snapshots__/IngestActions.spec.js.snap +19 -20
  58. package/src/ingests/components/__tests__/__snapshots__/IngestArchive.spec.js.snap +79 -65
  59. package/src/ingests/components/__tests__/__snapshots__/IngestArchiveLoader.spec.js.snap +1 -1
  60. package/src/ingests/components/__tests__/__snapshots__/IngestArchiveRow.spec.js.snap +30 -30
  61. package/src/ingests/components/__tests__/__snapshots__/IngestDetails.spec.js.snap +30 -13
  62. package/src/ingests/components/__tests__/__snapshots__/IngestExecutions.spec.js.snap +121 -101
  63. package/src/ingests/components/__tests__/__snapshots__/IngestExecutionsLoader.spec.js.snap +1 -1
  64. package/src/ingests/components/__tests__/__snapshots__/IngestFilters.spec.js.snap +1 -1
  65. package/src/ingests/components/__tests__/__snapshots__/IngestForm.spec.js.snap +28 -27
  66. package/src/ingests/components/__tests__/__snapshots__/IngestHeader.spec.js.snap +21 -19
  67. package/src/ingests/components/__tests__/__snapshots__/IngestLabelResults.spec.js.snap +1 -1
  68. package/src/ingests/components/__tests__/__snapshots__/IngestLoader.spec.js.snap +1 -15
  69. package/src/ingests/components/__tests__/__snapshots__/IngestRoutes.spec.js.snap +243 -0
  70. package/src/ingests/components/__tests__/__snapshots__/IngestSelectedFilters.spec.js.snap +22 -16
  71. package/src/ingests/components/__tests__/__snapshots__/Ingests.spec.js.snap +50 -33
  72. package/src/ingests/components/__tests__/__snapshots__/IngestsActions.spec.js.snap +17 -50
  73. package/src/ingests/components/__tests__/__snapshots__/IngestsLoader.spec.js.snap +1 -21
  74. package/src/ingests/components/__tests__/__snapshots__/IngestsTable.spec.js.snap +15 -24
  75. package/src/ingests/components/index.js +1 -1
  76. package/src/ingests/constants/mappings.js +6 -6
  77. package/src/ingests/relations/components/IngestLinkActions.js +0 -1
  78. package/src/ingests/relations/components/IngestLinksActions.js +1 -2
  79. package/src/ingests/relations/components/IngestRelationsRoutes.js +67 -69
  80. package/src/ingests/relations/components/IngestToDataStructureRelations.js +2 -2
  81. package/src/ingests/relations/components/IngestToIngestForm.js +4 -4
  82. package/src/ingests/relations/components/IngestToIngestRelations.js +4 -4
  83. package/src/ingests/relations/components/IngestToStructureForm.js +6 -6
  84. package/src/ingests/relations/components/__tests__/IngestRelationsRoutes.spec.js +80 -4
  85. package/src/ingests/relations/components/__tests__/IngestToIngestForm.spec.js +24 -25
  86. package/src/ingests/relations/components/__tests__/IngestToStructureForm.spec.js +42 -23
  87. package/src/ingests/relations/components/__tests__/__snapshots__/IngestRelationsRoutes.spec.js.snap +49 -23
  88. package/src/ingests/relations/components/__tests__/__snapshots__/IngestToIngestForm.spec.js.snap +85 -27
  89. package/src/ingests/relations/components/__tests__/__snapshots__/IngestToStructureForm.spec.js.snap +30 -35
  90. package/src/ingests/relations/selectors/__tests__/getIngestLinks.spec.js +20 -20
  91. package/src/ingests/relations/selectors/__tests__/getRelations.spec.js +17 -17
  92. package/src/ingests/relations/selectors/getIngestLinks.js +1 -2
  93. package/src/ingests/relations/selectors/getRelations.js +6 -6
  94. package/src/ingests/sagas/fetchIngest.js +1 -1
  95. package/src/ingests/sagas/fetchIngestArchive.js +1 -1
  96. package/src/ingests/sagas/fetchIngestExecutions.js +1 -1
  97. package/src/ingests/selectors/getIngestColumns.js +12 -13
  98. package/src/ingests/selectors/getIngestTemplate.js +1 -1
  99. package/src/ingests/selectors/getParsedEvents.js +15 -15
  100. package/src/ingests/selectors/getTemplateFields.js +3 -3
  101. package/src/ingests/selectors/getTemplateGroups.js +1 -1
  102. package/src/ingests/utils/filterOptions.js +3 -2
  103. package/src/ingests/components/__tests__/IngestDuplicate.spec.js +0 -67
  104. package/src/ingests/components/__tests__/IngestEdit.spec.js +0 -79
  105. package/src/ingests/components/__tests__/__snapshots__/IngestDuplicate.spec.js.snap +0 -85
  106. package/src/ingests/components/__tests__/__snapshots__/IngestEdit.spec.js.snap +0 -80
@@ -15,7 +15,7 @@ exports[`<IngestForm /> with a single template matches the latest snapshot 1`] =
15
15
  <div
16
16
  class="content"
17
17
  >
18
- New Ingest
18
+ ingests.actions.create
19
19
  </div>
20
20
  </h2>
21
21
  <form
@@ -25,7 +25,7 @@ exports[`<IngestForm /> with a single template matches the latest snapshot 1`] =
25
25
  class="required field fix-dropdown-selector "
26
26
  >
27
27
  <label>
28
- Domain
28
+ domain.selector.label
29
29
  </label>
30
30
  <div
31
31
  aria-disabled="false"
@@ -37,7 +37,7 @@ exports[`<IngestForm /> with a single template matches the latest snapshot 1`] =
37
37
  tabindex="0"
38
38
  >
39
39
  <label>
40
- Select a domain...
40
+ domain.selector.placeholder
41
41
  </label>
42
42
  <i
43
43
  aria-hidden="true"
@@ -123,11 +123,11 @@ exports[`<IngestForm /> with a single template matches the latest snapshot 1`] =
123
123
  class="required field"
124
124
  >
125
125
  <label>
126
- Ingest
126
+ ingests.props.name
127
127
  <div
128
128
  class="ui left pointing label"
129
129
  >
130
- Empty required field
130
+ template.form.validation.empty_required
131
131
  </div>
132
132
  </label>
133
133
  <div
@@ -148,11 +148,11 @@ exports[`<IngestForm /> with a single template matches the latest snapshot 1`] =
148
148
  class="required field"
149
149
  >
150
150
  <label>
151
- Description
151
+ ingests.props.description
152
152
  <div
153
153
  class="ui left pointing label"
154
154
  >
155
- Empty required field
155
+ template.form.validation.empty_required
156
156
  </div>
157
157
  </label>
158
158
  <div>
@@ -234,23 +234,23 @@ exports[`<IngestForm /> with a single template matches the latest snapshot 1`] =
234
234
  autocorrect="on"
235
235
  contenteditable="true"
236
236
  data-gramm="false"
237
- data-key="32"
237
+ data-key="27"
238
238
  data-slate-editor="true"
239
239
  role="textbox"
240
240
  spellcheck="true"
241
241
  style="outline: none; white-space: pre-wrap; word-wrap: break-word;"
242
242
  >
243
243
  <div
244
- data-key="33"
244
+ data-key="28"
245
245
  data-slate-object="block"
246
246
  style="position: relative;"
247
247
  >
248
248
  <span
249
- data-key="38"
249
+ data-key="33"
250
250
  data-slate-object="text"
251
251
  >
252
252
  <span
253
- data-offset-key="38:0"
253
+ data-offset-key="33:0"
254
254
  data-slate-leaf="true"
255
255
  >
256
256
  <span>
@@ -279,17 +279,18 @@ exports[`<IngestForm /> with a single template matches the latest snapshot 1`] =
279
279
  >
280
280
  <a
281
281
  class="ui secondary button"
282
+ data-discover="true"
282
283
  href="/"
283
284
  role="button"
284
285
  >
285
- Cancel
286
+ actions.cancel
286
287
  </a>
287
288
  <button
288
289
  class="ui primary disabled button"
289
290
  disabled=""
290
291
  tabindex="-1"
291
292
  >
292
- Create
293
+ actions.create
293
294
  </button>
294
295
  </div>
295
296
  </form>
@@ -301,7 +302,6 @@ exports[`<IngestForm /> with multiple templates matches the latest snapshot 1`]
301
302
  <div>
302
303
  <div
303
304
  class="ui segment ui text container"
304
- style=""
305
305
  >
306
306
  <h2
307
307
  class="ui header"
@@ -313,7 +313,7 @@ exports[`<IngestForm /> with multiple templates matches the latest snapshot 1`]
313
313
  <div
314
314
  class="content"
315
315
  >
316
- New Ingest
316
+ ingests.actions.create
317
317
  </div>
318
318
  </h2>
319
319
  <form
@@ -323,7 +323,7 @@ exports[`<IngestForm /> with multiple templates matches the latest snapshot 1`]
323
323
  class="required field fix-dropdown-selector "
324
324
  >
325
325
  <label>
326
- Domain
326
+ domain.selector.label
327
327
  </label>
328
328
  <div
329
329
  aria-disabled="false"
@@ -335,7 +335,7 @@ exports[`<IngestForm /> with multiple templates matches the latest snapshot 1`]
335
335
  tabindex="0"
336
336
  >
337
337
  <label>
338
- Select a domain...
338
+ domain.selector.placeholder
339
339
  </label>
340
340
  <i
341
341
  aria-hidden="true"
@@ -421,11 +421,11 @@ exports[`<IngestForm /> with multiple templates matches the latest snapshot 1`]
421
421
  class="required field"
422
422
  >
423
423
  <label>
424
- Ingest
424
+ ingests.props.name
425
425
  <div
426
426
  class="ui left pointing label"
427
427
  >
428
- Empty required field
428
+ template.form.validation.empty_required
429
429
  </div>
430
430
  </label>
431
431
  <div
@@ -446,11 +446,11 @@ exports[`<IngestForm /> with multiple templates matches the latest snapshot 1`]
446
446
  class="required field"
447
447
  >
448
448
  <label>
449
- Description
449
+ ingests.props.description
450
450
  <div
451
451
  class="ui left pointing label"
452
452
  >
453
- Empty required field
453
+ template.form.validation.empty_required
454
454
  </div>
455
455
  </label>
456
456
  <div>
@@ -532,23 +532,23 @@ exports[`<IngestForm /> with multiple templates matches the latest snapshot 1`]
532
532
  autocorrect="on"
533
533
  contenteditable="true"
534
534
  data-gramm="false"
535
- data-key="0"
535
+ data-key="8"
536
536
  data-slate-editor="true"
537
537
  role="textbox"
538
538
  spellcheck="true"
539
539
  style="outline: none; white-space: pre-wrap; word-wrap: break-word;"
540
540
  >
541
541
  <div
542
- data-key="1"
542
+ data-key="9"
543
543
  data-slate-object="block"
544
544
  style="position: relative;"
545
545
  >
546
546
  <span
547
- data-key="6"
547
+ data-key="14"
548
548
  data-slate-object="text"
549
549
  >
550
550
  <span
551
- data-offset-key="6:0"
551
+ data-offset-key="14:0"
552
552
  data-slate-leaf="true"
553
553
  >
554
554
  <span>
@@ -577,17 +577,18 @@ exports[`<IngestForm /> with multiple templates matches the latest snapshot 1`]
577
577
  >
578
578
  <a
579
579
  class="ui secondary button"
580
+ data-discover="true"
580
581
  href="/"
581
582
  role="button"
582
583
  >
583
- Cancel
584
+ actions.cancel
584
585
  </a>
585
586
  <button
586
587
  class="ui primary disabled button"
587
588
  disabled=""
588
589
  tabindex="-1"
589
590
  >
590
- Create
591
+ actions.create
591
592
  </button>
592
593
  </div>
593
594
  </form>
@@ -1,23 +1,25 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`<IngestHeader /> matches the latest snapshot 1`] = `
4
- <Header
5
- as="h2"
6
- >
7
- <Icon
8
- as="i"
9
- circular={true}
10
- name="share square"
11
- />
12
- <HeaderContent>
13
- Ingest1
14
- <HeaderSubheader>
15
- <MemoizedFormattedMessage
16
- defaultMessage="Template1"
17
- id="templates.Template1"
18
- />
19
- in Domain name
20
- </HeaderSubheader>
21
- </HeaderContent>
22
- </Header>
4
+ <div>
5
+ <h2
6
+ class="ui header"
7
+ >
8
+ <i
9
+ aria-hidden="true"
10
+ class="share square circular icon"
11
+ />
12
+ <div
13
+ class="content"
14
+ >
15
+ Ingest1
16
+ <div
17
+ class="sub header"
18
+ >
19
+ Template1
20
+ in Domain name
21
+ </div>
22
+ </div>
23
+ </h2>
24
+ </div>
23
25
  `;
@@ -9,7 +9,7 @@ exports[`<IngestsLabelResults /> matches the latest snapshot 1`] = `
9
9
  <div
10
10
  class="detail"
11
11
  >
12
- Retrieved elements
12
+ ingests.retrieved.results
13
13
  </div>
14
14
  </div>
15
15
  </div>
@@ -1,17 +1,3 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`<IngestLoader /> matches the latest snapshot 1`] = `
4
- <Fragment>
5
- <Dimmer
6
- active={true}
7
- inverted={true}
8
- >
9
- <Loader
10
- inverted={true}
11
- size="massive"
12
- />
13
- </Dimmer>
14
- <Loading />
15
- ;
16
- </Fragment>
17
- `;
3
+ exports[`<IngestLoader /> matches the latest snapshot 1`] = `<div />`;
@@ -0,0 +1,243 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`<IngestRoutes /> renders correctly with default route 1`] = `<div />`;
4
+
5
+ exports[`<IngestRoutes /> renders correctly with ingest archive route 1`] = `
6
+ <div>
7
+ <div>
8
+ ProtectedRoute
9
+ <div>
10
+ Loader
11
+ <div>
12
+ Loaders:
13
+ <div>
14
+ IngestsLoader
15
+ </div>
16
+ <div>
17
+ IngestFiltersLoader
18
+ </div>
19
+ </div>
20
+ </div>
21
+ </div>
22
+ </div>
23
+ `;
24
+
25
+ exports[`<IngestRoutes /> renders correctly with ingest duplicate route 1`] = `
26
+ <div>
27
+ <div>
28
+ ProtectedRoute
29
+ <div>
30
+ Loader
31
+ <div>
32
+ Loaders:
33
+ <div>
34
+ IngestsLoader
35
+ </div>
36
+ <div>
37
+ IngestFiltersLoader
38
+ </div>
39
+ </div>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ `;
44
+
45
+ exports[`<IngestRoutes /> renders correctly with ingest edit route 1`] = `
46
+ <div>
47
+ <div>
48
+ ProtectedRoute
49
+ <div>
50
+ Loader
51
+ <div>
52
+ Loaders:
53
+ <div>
54
+ IngestsLoader
55
+ </div>
56
+ <div>
57
+ IngestFiltersLoader
58
+ </div>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ `;
64
+
65
+ exports[`<IngestRoutes /> renders correctly with ingest events route 1`] = `
66
+ <div>
67
+ <div>
68
+ ProtectedRoute
69
+ <div>
70
+ Loader
71
+ <div>
72
+ Loaders:
73
+ <div>
74
+ IngestsLoader
75
+ </div>
76
+ <div>
77
+ IngestFiltersLoader
78
+ </div>
79
+ </div>
80
+ </div>
81
+ </div>
82
+ </div>
83
+ `;
84
+
85
+ exports[`<IngestRoutes /> renders correctly with ingest executions route 1`] = `
86
+ <div>
87
+ <div>
88
+ ProtectedRoute
89
+ <div>
90
+ Loader
91
+ <div>
92
+ Loaders:
93
+ <div>
94
+ IngestsLoader
95
+ </div>
96
+ <div>
97
+ IngestFiltersLoader
98
+ </div>
99
+ </div>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ `;
104
+
105
+ exports[`<IngestRoutes /> renders correctly with ingest relations ingests route 1`] = `
106
+ <div>
107
+ <div>
108
+ ProtectedRoute
109
+ <div>
110
+ Loader
111
+ <div>
112
+ Loaders:
113
+ <div>
114
+ IngestsLoader
115
+ </div>
116
+ <div>
117
+ IngestFiltersLoader
118
+ </div>
119
+ </div>
120
+ </div>
121
+ </div>
122
+ </div>
123
+ `;
124
+
125
+ exports[`<IngestRoutes /> renders correctly with ingest relations structures route 1`] = `
126
+ <div>
127
+ <div>
128
+ ProtectedRoute
129
+ <div>
130
+ Loader
131
+ <div>
132
+ Loaders:
133
+ <div>
134
+ IngestsLoader
135
+ </div>
136
+ <div>
137
+ IngestFiltersLoader
138
+ </div>
139
+ </div>
140
+ </div>
141
+ </div>
142
+ </div>
143
+ `;
144
+
145
+ exports[`<IngestRoutes /> renders correctly with ingest route 1`] = `
146
+ <div>
147
+ <div>
148
+ ProtectedRoute
149
+ <div>
150
+ Loader
151
+ <div>
152
+ Loaders:
153
+ <div>
154
+ IngestsLoader
155
+ </div>
156
+ <div>
157
+ IngestFiltersLoader
158
+ </div>
159
+ </div>
160
+ </div>
161
+ </div>
162
+ </div>
163
+ `;
164
+
165
+ exports[`<IngestRoutes /> renders correctly with ingests new route 1`] = `
166
+ <div>
167
+ <div>
168
+ ProtectedRoute
169
+ <div>
170
+ Loader
171
+ <div>
172
+ Loaders:
173
+ <div>
174
+ IngestsLoader
175
+ </div>
176
+ <div>
177
+ IngestFiltersLoader
178
+ </div>
179
+ </div>
180
+ </div>
181
+ </div>
182
+ </div>
183
+ `;
184
+
185
+ exports[`<IngestRoutes /> renders correctly with ingests pending route 1`] = `
186
+ <div>
187
+ <div>
188
+ ProtectedRoute
189
+ <div>
190
+ Loader
191
+ <div>
192
+ Loaders:
193
+ <div>
194
+ IngestsLoader
195
+ </div>
196
+ <div>
197
+ IngestFiltersLoader
198
+ </div>
199
+ </div>
200
+ </div>
201
+ </div>
202
+ </div>
203
+ `;
204
+
205
+ exports[`<IngestRoutes /> renders correctly with ingests route 1`] = `
206
+ <div>
207
+ <div>
208
+ ProtectedRoute
209
+ <div>
210
+ Loader
211
+ <div>
212
+ Loaders:
213
+ <div>
214
+ IngestsLoader
215
+ </div>
216
+ <div>
217
+ IngestFiltersLoader
218
+ </div>
219
+ </div>
220
+ </div>
221
+ </div>
222
+ </div>
223
+ `;
224
+
225
+ exports[`<IngestRoutes /> renders unauthorized component when not authorized 1`] = `
226
+ <div>
227
+ <div>
228
+ ProtectedRoute
229
+ <div>
230
+ Loader
231
+ <div>
232
+ Loaders:
233
+ <div>
234
+ IngestsLoader
235
+ </div>
236
+ <div>
237
+ IngestFiltersLoader
238
+ </div>
239
+ </div>
240
+ </div>
241
+ </div>
242
+ </div>
243
+ `;
@@ -1,19 +1,25 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`<IngestSelectedFilters /> matches the latest snapshot 1`] = `
4
- <Switch>
5
- <Route
6
- component={[Function]}
7
- exact={true}
8
- path="/ingests"
9
- />
10
- <Route
11
- component={[Function]}
12
- exact={true}
13
- path="/ingests/pending"
14
- />
15
- <Route
16
- component={[Function]}
17
- />
18
- </Switch>
3
+ exports[`<IngestSelectedFilters /> renders correctly with default route 1`] = `<div />`;
4
+
5
+ exports[`<IngestSelectedFilters /> renders correctly with ingests pending route 1`] = `
6
+ <div>
7
+ <div>
8
+ IngestSelectedFiltersDefault
9
+ </div>
10
+ <div>
11
+ IngestSelectedFiltersPending
12
+ </div>
13
+ </div>
14
+ `;
15
+
16
+ exports[`<IngestSelectedFilters /> renders correctly with ingests route 1`] = `
17
+ <div>
18
+ <div>
19
+ IngestSelectedFiltersDefault
20
+ </div>
21
+ <div>
22
+ IngestSelectedFiltersPublished
23
+ </div>
24
+ </div>
19
25
  `;
@@ -1,39 +1,56 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`<Ingests /> matches the latest snapshot 1`] = `
4
- <Fragment>
5
- <Connect(IngestCrumbs) />
6
- <Segment>
7
- <Header
8
- as="h2"
4
+ <div>
5
+ <div
6
+ data-testid="mock-ingest-crumbs"
7
+ />
8
+ <div
9
+ class="ui segment"
10
+ >
11
+ <h2
12
+ class="ui header"
9
13
  >
10
- <Icon
11
- as="i"
12
- circular={true}
13
- name="hdd outline"
14
- />
15
- <HeaderContent>
16
- <MemoizedFormattedMessage
17
- id="ingests.header"
18
- />
19
- <HeaderSubheader>
20
- <MemoizedFormattedMessage
21
- id="ingests.subheader"
22
- />
23
- </HeaderSubheader>
24
- </HeaderContent>
25
- </Header>
26
- <Segment
27
- attached="bottom"
14
+ <i
15
+ aria-hidden="true"
16
+ class="hdd outline circular icon"
17
+ />
18
+ <div
19
+ class="content"
20
+ >
21
+ ingests.header
22
+ <div
23
+ class="sub header"
24
+ >
25
+ ingests.subheader
26
+ </div>
27
+ </div>
28
+ </h2>
29
+ <div
30
+ class="ui bottom attached segment"
28
31
  >
29
- <Connect(IngestTabs) />
30
- <Connect(IngestsActions) />
31
- <Connect(IngestsSearch) />
32
- <IngestSelectedFilters />
33
- <Connect(IngestsLabelResults) />
34
- <withRouter(Connect(IngestsTable)) />
35
- <Connect(Pagination) />
36
- </Segment>
37
- </Segment>
38
- </Fragment>
32
+ <div
33
+ data-testid="mock-ingests-tabs"
34
+ />
35
+ <div
36
+ data-testid="mock-ingests-actions"
37
+ />
38
+ <div
39
+ data-testid="mock-ingests-search"
40
+ />
41
+ <div
42
+ data-testid="mock-ingest-selected-filters"
43
+ />
44
+ <div
45
+ data-testid="mock-ingests-label-results"
46
+ />
47
+ <div
48
+ data-testid="mock-ingests-table"
49
+ />
50
+ <div
51
+ data-testid="mock-ingests-pagination"
52
+ />
53
+ </div>
54
+ </div>
55
+ </div>
39
56
  `;