@truedat/cx 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 (110) hide show
  1. package/package.json +40 -70
  2. package/src/configurations/components/Configuration.js +3 -3
  3. package/src/configurations/components/ConfigurationActions.js +1 -2
  4. package/src/configurations/components/ConfigurationBreadcrumbs.js +2 -3
  5. package/src/configurations/components/ConfigurationCards.js +1 -2
  6. package/src/configurations/components/ConfigurationForm.js +6 -11
  7. package/src/configurations/components/ConfigurationLoader.js +1 -2
  8. package/src/configurations/components/ConfigurationRoutes.js +61 -72
  9. package/src/configurations/components/ConfigurationTokenLoader.js +0 -1
  10. package/src/configurations/components/Configurations.js +2 -2
  11. package/src/configurations/components/ConfigurationsLoader.js +0 -1
  12. package/src/configurations/components/DynamicConfigurationForm.js +5 -7
  13. package/src/configurations/components/EditConfiguration.js +0 -1
  14. package/src/configurations/components/NewConfiguration.js +0 -1
  15. package/src/configurations/components/__tests__/Configuration.spec.js +17 -10
  16. package/src/configurations/components/__tests__/ConfigurationCards.spec.js +22 -13
  17. package/src/configurations/components/__tests__/ConfigurationForm.spec.js +5 -5
  18. package/src/configurations/components/__tests__/ConfigurationLoader.spec.js +44 -36
  19. package/src/configurations/components/__tests__/ConfigurationTokenLoader.spec.js +46 -45
  20. package/src/configurations/components/__tests__/Configurations.spec.js +20 -22
  21. package/src/configurations/components/__tests__/ConfigurationsLoader.spec.js +32 -33
  22. package/src/configurations/components/__tests__/EditConfiguration.spec.js +5 -5
  23. package/src/configurations/components/__tests__/NewConfiguration.spec.js +0 -1
  24. package/src/configurations/components/__tests__/__snapshots__/Configuration.spec.js.snap +122 -57
  25. package/src/configurations/components/__tests__/__snapshots__/ConfigurationCards.spec.js.snap +160 -361
  26. package/src/configurations/components/__tests__/__snapshots__/ConfigurationForm.spec.js.snap +7 -6
  27. package/src/configurations/components/__tests__/__snapshots__/ConfigurationLoader.spec.js.snap +5 -31
  28. package/src/configurations/components/__tests__/__snapshots__/ConfigurationTokenLoader.spec.js.snap +5 -9
  29. package/src/configurations/components/__tests__/__snapshots__/Configurations.spec.js.snap +91 -72
  30. package/src/configurations/components/__tests__/__snapshots__/ConfigurationsLoader.spec.js.snap +5 -27
  31. package/src/configurations/components/__tests__/__snapshots__/EditConfiguration.spec.js.snap +12 -10
  32. package/src/configurations/components/__tests__/__snapshots__/NewConfiguration.spec.js.snap +11 -9
  33. package/src/configurations/components/index.js +1 -1
  34. package/src/configurations/reducers/configurationRedirect.js +1 -1
  35. package/src/configurations/reducers/configurations.js +1 -1
  36. package/src/configurations/reducers/index.js +1 -1
  37. package/src/configurations/reducers/systemConfigurations.js +1 -1
  38. package/src/configurations/sagas/signConfiguration.js +3 -1
  39. package/src/jobs/components/Job.js +0 -1
  40. package/src/jobs/components/JobBreadcrumbs.js +2 -3
  41. package/src/jobs/components/JobLoader.js +2 -2
  42. package/src/jobs/components/JobRoutes.js +28 -40
  43. package/src/jobs/components/JobRow.js +4 -4
  44. package/src/jobs/components/Jobs.js +5 -4
  45. package/src/jobs/components/JobsLabelResults.js +2 -3
  46. package/src/jobs/components/JobsSearch.js +0 -1
  47. package/src/jobs/components/JobsTable.js +3 -3
  48. package/src/jobs/components/JobsView.js +0 -1
  49. package/src/jobs/components/SourceJobs.js +0 -1
  50. package/src/jobs/components/__tests__/Job.spec.js +9 -11
  51. package/src/jobs/components/__tests__/JobBreadcrumbs.spec.js +5 -5
  52. package/src/jobs/components/__tests__/JobLoader.spec.js +12 -12
  53. package/src/jobs/components/__tests__/JobRow.spec.js +21 -20
  54. package/src/jobs/components/__tests__/Jobs.spec.js +1 -7
  55. package/src/jobs/components/__tests__/JobsLoader.spec.js +9 -9
  56. package/src/jobs/components/__tests__/JobsTable.spec.js +33 -28
  57. package/src/jobs/components/__tests__/JobsView.spec.js +1 -7
  58. package/src/jobs/components/__tests__/SourceJobs.spec.js +1 -7
  59. package/src/jobs/components/__tests__/__snapshots__/Job.spec.js.snap +143 -36
  60. package/src/jobs/components/__tests__/__snapshots__/JobBreadcrumbs.spec.js.snap +20 -30
  61. package/src/jobs/components/__tests__/__snapshots__/Jobs.spec.js.snap +10 -23
  62. package/src/jobs/components/__tests__/__snapshots__/JobsTable.spec.js.snap +7 -7
  63. package/src/jobs/components/__tests__/__snapshots__/JobsView.spec.js.snap +12 -24
  64. package/src/jobs/components/__tests__/__snapshots__/SourceJobs.spec.js.snap +8 -21
  65. package/src/jobs/reducers/jobActiveFilters.js +1 -1
  66. package/src/jobs/sagas/fetchJob.js +1 -1
  67. package/src/jobs/selectors/jobColumnsSelector.js +0 -1
  68. package/src/jobs/selectors/sourceJobColumnsSelector.js +0 -1
  69. package/src/sources/components/EditSource.js +0 -1
  70. package/src/sources/components/JobForm.js +1 -1
  71. package/src/sources/components/NewJob.js +0 -1
  72. package/src/sources/components/NewSource.js +0 -1
  73. package/src/sources/components/Source.js +0 -1
  74. package/src/sources/components/SourceActions.js +1 -2
  75. package/src/sources/components/SourceBreadcrumbs.js +1 -2
  76. package/src/sources/components/SourceConfiguration.js +3 -3
  77. package/src/sources/components/SourceDetail.js +46 -50
  78. package/src/sources/components/SourceForm.js +4 -7
  79. package/src/sources/components/SourceHeader.js +0 -1
  80. package/src/sources/components/SourceRoutes.js +30 -23
  81. package/src/sources/components/SourceSelector.js +0 -1
  82. package/src/sources/components/SourceTabs.js +14 -7
  83. package/src/sources/components/Sources.js +2 -2
  84. package/src/sources/components/SourcesTable.js +1 -2
  85. package/src/sources/components/__tests__/EditSource.spec.js +10 -12
  86. package/src/sources/components/__tests__/NewSource.spec.js +5 -10
  87. package/src/sources/components/__tests__/Source.spec.js +19 -27
  88. package/src/sources/components/__tests__/SourceActions.spec.js +1 -2
  89. package/src/sources/components/__tests__/SourceBreadcrumbs.spec.js +0 -1
  90. package/src/sources/components/__tests__/SourceDetail.spec.js +62 -38
  91. package/src/sources/components/__tests__/SourceForm.spec.js +109 -86
  92. package/src/sources/components/__tests__/SourceHeader.spec.js +1 -2
  93. package/src/sources/components/__tests__/SourceRoutes.spec.js +79 -7
  94. package/src/sources/components/__tests__/SourceSelector.spec.js +0 -1
  95. package/src/sources/components/__tests__/SourceTabs.spec.js +3 -4
  96. package/src/sources/components/__tests__/Sources.spec.js +24 -39
  97. package/src/sources/components/__tests__/SourcesTable.spec.js +48 -65
  98. package/src/sources/components/__tests__/__snapshots__/EditSource.spec.js.snap +134 -15
  99. package/src/sources/components/__tests__/__snapshots__/NewSource.spec.js.snap +36 -23
  100. package/src/sources/components/__tests__/__snapshots__/Source.spec.js.snap +28 -31
  101. package/src/sources/components/__tests__/__snapshots__/SourceActions.spec.js.snap +1 -1
  102. package/src/sources/components/__tests__/__snapshots__/SourceBreadcrumbs.spec.js.snap +2 -1
  103. package/src/sources/components/__tests__/__snapshots__/SourceDetail.spec.js.snap +13 -172
  104. package/src/sources/components/__tests__/__snapshots__/SourceForm.spec.js.snap +132 -106
  105. package/src/sources/components/__tests__/__snapshots__/SourceHeader.spec.js.snap +4 -4
  106. package/src/sources/components/__tests__/__snapshots__/SourceRoutes.spec.js.snap +47 -5
  107. package/src/sources/components/__tests__/__snapshots__/SourceTabs.spec.js.snap +5 -3
  108. package/src/sources/components/__tests__/__snapshots__/Sources.spec.js.snap +14 -11
  109. package/src/sources/components/__tests__/__snapshots__/SourcesTable.spec.js.snap +17 -12
  110. package/src/jobs/components/ConfigurationRoutes.js +0 -31
@@ -1,77 +1,60 @@
1
- import React from "react";
2
- import { render } from "@truedat/test/render";
1
+ import { render, waitForLoad } from "@truedat/test/render";
3
2
  import { SourcesTable } from "../SourcesTable";
4
3
 
5
- const renderOpts = {
6
- messages: {
7
- en: {
8
- "source.disabled": "disabled",
9
- "source.external_id": "external_id",
10
- "source.latestEvent.insertedAt": "eventInsertedAt",
11
- "source.latestEvent.message": "eventMessage",
12
- "source.latestEvent.type": "eventType",
13
- "source.status": "status",
14
- "source.type": "type",
15
- "sources.count": "{count} sources found",
4
+ const sources = [
5
+ {
6
+ id: "1",
7
+ externalId: "con_url",
8
+ type: "a",
9
+ config: {
10
+ a: { value: "aaa", origin: "user" },
11
+ lista: { value: ["bbb", "ddd"], origin: "user" },
12
+ url_cx: {
13
+ value: [{ url_name: "google", url_value: "https://google.es" }],
14
+ origin: "user",
15
+ },
16
16
  },
17
17
  },
18
- };
18
+ { id: "2", externalId: "id1", type: "app-admin", config: {} },
19
+ {
20
+ id: "3",
21
+ externalId: "id2",
22
+ type: "app-admin",
23
+ config: { a: { value: 1, origin: "user" } },
24
+ },
25
+ {
26
+ id: "4",
27
+ externalId: "id3",
28
+ type: "app-admin",
29
+ config: { a: { value: "yyyyb", origin: "user" } },
30
+ },
31
+ {
32
+ id: "5",
33
+ externalId: "id4",
34
+ type: "a",
35
+ config: { lista: { value: ["codigo6"], origin: "user" } },
36
+ },
37
+ ];
38
+ const state = { sources };
39
+ const renderOpts = { state };
19
40
 
20
41
  describe("<SourcesTable />", () => {
21
- const sources = [
22
- {
23
- id: 1,
24
- externalId: "con_url",
25
- type: "a",
26
- config: {
27
- a: { value: "aaa", origin: "user" },
28
- lista: { value: ["bbb", "ddd"], origin: "user" },
29
- url_cx: {
30
- value: [{ url_name: "google", url_value: "https://google.es" }],
31
- origin: "user",
32
- },
33
- },
34
- },
35
- { id: 2, externalId: "id1", type: "app-admin", config: {} },
36
- {
37
- id: 3,
38
- externalId: "id2",
39
- type: "app-admin",
40
- config: { a: { value: 1, origin: "user" } },
41
- },
42
- {
43
- id: 4,
44
- externalId: "id3",
45
- type: "app-admin",
46
- config: { a: { value: "yyyyb", origin: "user" } },
47
- },
48
- {
49
- id: 5,
50
- externalId: "id4",
51
- type: "a",
52
- config: { lista: { value: ["codigo6"], origin: "user" } },
53
- },
54
- ];
55
-
56
- it("matches the latest snapshot", () => {
57
- const { container } = render(
58
- <SourcesTable sources={sources} />,
59
- renderOpts
60
- );
61
- expect(container).toMatchSnapshot();
42
+ it("matches the latest snapshot", async () => {
43
+ const rendered = render(<SourcesTable sources={sources} />, renderOpts);
44
+ await waitForLoad(rendered);
45
+ expect(rendered.container).toMatchSnapshot();
62
46
  });
63
47
 
64
- it("contains a message when no sources are found", () => {
65
- const { queryByText } = render(<SourcesTable sources={[]} />, renderOpts);
66
- expect(queryByText(/0 sources found/)).toBeTruthy();
48
+ it("contains a message when no sources are found", async () => {
49
+ const rendered = render(<SourcesTable sources={[]} />, renderOpts);
50
+ await waitForLoad(rendered);
51
+ expect(rendered.getByText(/sources.count/i)).toBeInTheDocument();
67
52
  });
68
53
 
69
- it("contains a caption, a header row and a row for each source", () => {
70
- const { queryAllByRole, queryByText } = render(
71
- <SourcesTable sources={sources} />,
72
- renderOpts
73
- );
74
- expect(queryByText(/5 sources found/)).toBeTruthy();
75
- expect(queryAllByRole("row")).toHaveLength(sources.length + 1);
54
+ it("contains a caption, a header row and a row for each source", async () => {
55
+ const rendered = render(<SourcesTable sources={sources} />, renderOpts);
56
+ await waitForLoad(rendered);
57
+ expect(rendered.getByText(/sources.count/i)).toBeInTheDocument();
58
+ expect(rendered.getAllByRole("row")).toHaveLength(sources.length + 1);
76
59
  });
77
60
  });
@@ -1,19 +1,138 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`<EditSource /> matches the latest snapshot 1`] = `
4
- <injectIntl(SourceFormLoader)
5
- onSubmit={[MockFunction]}
6
- source={
7
- {
8
- "config": {
9
- "a": {
10
- "origin": "user",
11
- "value": 1,
12
- },
13
- },
14
- "external_id": "Micro1",
15
- "type": "micro",
16
- }
17
- }
18
- />
4
+ <div>
5
+ <form
6
+ class="ui form"
7
+ style=""
8
+ >
9
+ <div
10
+ class="required field"
11
+ >
12
+ <label>
13
+ source.external_id
14
+ <div
15
+ class="ui left pointing label"
16
+ >
17
+ template.form.validation.empty_required
18
+ </div>
19
+ </label>
20
+ <div
21
+ class="disabled field"
22
+ >
23
+ <div
24
+ class="ui disabled input"
25
+ >
26
+ <input
27
+ disabled=""
28
+ name="external_id"
29
+ tabindex="-1"
30
+ type="text"
31
+ value=""
32
+ />
33
+ </div>
34
+ </div>
35
+ </div>
36
+ <div
37
+ class="required field"
38
+ >
39
+ <label>
40
+ type.selector.label
41
+ </label>
42
+ <div
43
+ class="disabled required field"
44
+ >
45
+ <div
46
+ aria-busy="false"
47
+ aria-disabled="true"
48
+ aria-expanded="false"
49
+ class="ui disabled search selection dropdown"
50
+ name="type"
51
+ required=""
52
+ role="combobox"
53
+ >
54
+ <input
55
+ aria-autocomplete="list"
56
+ autocomplete="off"
57
+ class="search"
58
+ tabindex="-1"
59
+ type="text"
60
+ value=""
61
+ />
62
+ <div
63
+ aria-atomic="true"
64
+ aria-live="polite"
65
+ class="divider default text"
66
+ role="alert"
67
+ >
68
+ type.selector.placeholder
69
+ </div>
70
+ <i
71
+ aria-hidden="true"
72
+ class="dropdown icon"
73
+ />
74
+ <div
75
+ class="menu transition"
76
+ role="listbox"
77
+ >
78
+ <div
79
+ aria-checked="false"
80
+ aria-selected="true"
81
+ class="selected item"
82
+ role="option"
83
+ style="pointer-events: all;"
84
+ >
85
+ <span
86
+ class="text"
87
+ >
88
+ template1
89
+ </span>
90
+ </div>
91
+ <div
92
+ aria-checked="false"
93
+ aria-selected="false"
94
+ class="item"
95
+ role="option"
96
+ style="pointer-events: all;"
97
+ >
98
+ <span
99
+ class="text"
100
+ >
101
+ template2
102
+ </span>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ <div
109
+ class="field"
110
+ >
111
+ <label
112
+ class="label"
113
+ >
114
+ source.config.label
115
+ </label>
116
+ </div>
117
+ <div
118
+ class="actions"
119
+ >
120
+ <a
121
+ class="ui secondary button"
122
+ data-discover="true"
123
+ href="/"
124
+ role="button"
125
+ >
126
+ actions.cancel
127
+ </a>
128
+ <button
129
+ class="ui primary disabled button"
130
+ disabled=""
131
+ tabindex="-1"
132
+ >
133
+ actions.save
134
+ </button>
135
+ </div>
136
+ </form>
137
+ </div>
19
138
  `;
@@ -1,30 +1,43 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`<NewSource /> matches the latest snapshot 1`] = `
4
- <Fragment>
5
- <SourceBreadcrumbs
6
- text="sources.actions.create"
7
- />
8
- <Container
9
- as={[Function]}
10
- text={true}
4
+ <div>
5
+ <div
6
+ class="ui breadcrumb"
11
7
  >
12
- <Header
13
- as="h2"
8
+ <a
9
+ class="section"
10
+ data-discover="true"
11
+ href="/sources"
14
12
  >
15
- <Icon
16
- as="i"
17
- name="plug"
18
- />
19
- <HeaderContent>
20
- <MemoizedFormattedMessage
21
- id="sources.actions.create"
22
- />
23
- </HeaderContent>
24
- </Header>
25
- <injectIntl(SourceFormLoader)
26
- onSubmit={[MockFunction]}
13
+ navigation.admin.sources
14
+ </a>
15
+ <i
16
+ aria-hidden="true"
17
+ class="right angle icon divider"
27
18
  />
28
- </Container>
29
- </Fragment>
19
+ <div
20
+ class="active section"
21
+ >
22
+ sources.actions.create
23
+ </div>
24
+ </div>
25
+ <div
26
+ class="ui segment ui text container"
27
+ >
28
+ <h2
29
+ class="ui header"
30
+ >
31
+ <i
32
+ aria-hidden="true"
33
+ class="plug icon"
34
+ />
35
+ <div
36
+ class="content"
37
+ >
38
+ sources.actions.create
39
+ </div>
40
+ </h2>
41
+ </div>
42
+ </div>
30
43
  `;
@@ -1,37 +1,34 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`<Source /> matches the latest snapshot 1`] = `
4
- <Fragment>
5
- <SourceBreadcrumbs />
6
- <Segment>
7
- <SourceHeader
8
- source={
9
- {
10
- "config": {
11
- "a": {
12
- "origin": "user",
13
- "value": 1,
14
- },
15
- },
16
- "external_id": "Micro1",
17
- "type": "micro",
18
- }
19
- }
4
+ <div>
5
+ <div
6
+ class="ui breadcrumb"
7
+ >
8
+ <a
9
+ class="section"
10
+ data-discover="true"
11
+ href="/sources"
12
+ >
13
+ navigation.admin.sources
14
+ </a>
15
+ <i
16
+ aria-hidden="true"
17
+ class="right angle icon divider"
20
18
  />
21
- <SourceDetail
22
- source={
23
- {
24
- "config": {
25
- "a": {
26
- "origin": "user",
27
- "value": 1,
28
- },
29
- },
30
- "external_id": "Micro1",
31
- "type": "micro",
32
- }
33
- }
19
+ <div
20
+ class="active section"
34
21
  />
35
- </Segment>
36
- </Fragment>
22
+ </div>
23
+ <div
24
+ class="ui segment"
25
+ >
26
+ <div>
27
+ Mocked Source Header
28
+ </div>
29
+ <div>
30
+ Mocked Source Detail
31
+ </div>
32
+ </div>
33
+ </div>
37
34
  `;
@@ -3,7 +3,6 @@
3
3
  exports[`<SourceActions /> matches the latest snapshot 1`] = `
4
4
  <div>
5
5
  <div
6
- aria-disabled="false"
7
6
  aria-expanded="false"
8
7
  class="ui floating dropdown button icon group-actions"
9
8
  role="listbox"
@@ -20,6 +19,7 @@ exports[`<SourceActions /> matches the latest snapshot 1`] = `
20
19
  aria-checked="false"
21
20
  aria-selected="true"
22
21
  class="selected item"
22
+ data-discover="true"
23
23
  href="/sources/123/edit"
24
24
  role="option"
25
25
  style="pointer-events: all;"
@@ -7,9 +7,10 @@ exports[`<SourceBreadcrumbs /> matches the latest snapshot 1`] = `
7
7
  >
8
8
  <a
9
9
  class="section"
10
+ data-discover="true"
10
11
  href="/sources"
11
12
  >
12
- Sources
13
+ navigation.admin.sources
13
14
  </a>
14
15
  <i
15
16
  aria-hidden="true"
@@ -1,183 +1,24 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`<SourceDetail /> matches the latest snapshot (jobs tab) 1`] = `
3
+ exports[`<SourceDetail /> renders correctly with default route 1`] = `
4
4
  <div>
5
- <div
6
- class="ui pointing secondary top attached tabular menu"
7
- >
8
- <a
9
- class="item"
10
- href="/sources/123"
11
- >
12
- Configuration
13
- </a>
14
- <a
15
- class="active item"
16
- href="/sources/123/jobs"
17
- >
18
- Jobs
19
- </a>
5
+ <div>
6
+ SourceTabs
20
7
  </div>
21
8
  <div
22
9
  class="ui bottom attached segment"
23
10
  >
24
- <div
25
- class="ui action left icon input"
26
- >
27
- <input
28
- placeholder="Search jobs..."
29
- type="text"
30
- value=""
31
- />
32
- <i
33
- aria-hidden="true"
34
- class="search link icon"
35
- />
36
- <div
37
- aria-expanded="false"
38
- class="ui button floating labeled scrolling dropdown icon"
39
- role="listbox"
40
- tabindex="0"
41
- >
42
- <div
43
- aria-atomic="true"
44
- aria-live="polite"
45
- class="divider text"
46
- role="alert"
47
- >
48
- Filters
49
- </div>
50
- <i
51
- aria-hidden="true"
52
- class="filter icon"
53
- />
54
- <div
55
- class="menu transition"
56
- >
57
- <div
58
- class="item"
59
- role="option"
60
- >
61
- <em>
62
- (reset all filters)
63
- </em>
64
- </div>
65
- </div>
66
- </div>
67
- </div>
68
- <div
69
- class="selectedFilters"
70
- />
71
- <div
72
- class="dimmable"
73
- >
74
- <div
75
- class="ui inverted dimmer"
76
- >
77
- <div
78
- class="content"
79
- >
80
- <div
81
- class="ui loader"
82
- />
83
- </div>
84
- </div>
85
- </div>
86
- <div
87
- class="ui label jobs-label-results"
88
- >
89
- 42 jobs found
11
+ <div>
12
+ SourceConfiguration
90
13
  </div>
91
- <table
92
- class="ui selectable sortable table"
93
- >
94
- <thead
95
- class=""
96
- >
97
- <tr
98
- class=""
99
- >
100
- <th
101
- class="three wide"
102
- >
103
- Updated At
104
- </th>
105
- <th
106
- class="two wide"
107
- >
108
- Type
109
- </th>
110
- <th
111
- class="two wide"
112
- >
113
- Status
114
- </th>
115
- <th
116
- class="nine wide ascending sorted disabled"
117
- >
118
- Message
119
- </th>
120
- </tr>
121
- </thead>
122
- <tbody
123
- class=""
124
- >
125
- <tr
126
- class=""
127
- >
128
- <td
129
- class=""
130
- >
131
- <time
132
- datetime="1643760000000"
133
- >
134
- 2022-02-02 00:00
135
- </time>
136
- </td>
137
- <td
138
- class=""
139
- >
140
- catalog
141
- </td>
142
- <td
143
- class=""
144
- >
145
- SUCCESS
146
- </td>
147
- <td
148
- class=""
149
- />
150
- </tr>
151
- <tr
152
- class=""
153
- >
154
- <td
155
- class=""
156
- >
157
- <time
158
- datetime="1580515200000"
159
- >
160
- 2020-02-01 00:00
161
- </time>
162
- </td>
163
- <td
164
- class=""
165
- >
166
- catalog
167
- </td>
168
- <td
169
- class=""
170
- >
171
- FAILED
172
- </td>
173
- <td
174
- class=""
175
- >
176
- Something went wrong
177
- </td>
178
- </tr>
179
- </tbody>
180
- </table>
181
14
  </div>
182
15
  </div>
183
16
  `;
17
+
18
+ exports[`<SourceDetail /> renders correctly with edit route 1`] = `<div />`;
19
+
20
+ exports[`<SourceDetail /> renders correctly with jobs route 1`] = `<div />`;
21
+
22
+ exports[`<SourceDetail /> renders correctly with new job route 1`] = `<div />`;
23
+
24
+ exports[`<SourceDetail /> renders correctly with specific job route 1`] = `<div />`;