Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
25304629
Commit
25304629
authored
Jan 15, 2019
by
Johannes Schill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: Updated snapshots
parent
6bd87098
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
320 additions
and
310 deletions
+320
-310
public/app/features/datasources/__snapshots__/DataSourcesListPage.test.tsx.snap
+2
-2
public/app/features/plugins/__snapshots__/PluginListPage.test.tsx.snap
+14
-13
public/app/features/teams/__snapshots__/TeamList.test.tsx.snap
+290
-282
public/app/features/users/__snapshots__/UsersListPage.test.tsx.snap
+14
-13
No files found.
public/app/features/datasources/__snapshots__/DataSourcesListPage.test.tsx.snap
View file @
25304629
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
exports[`Render should render action bar and datasources 1`] = `
exports[`Render should render action bar and datasources 1`] = `
<Page
<Page
title="Data Sources"
title="
Configuration:
Data Sources"
>
>
<PageHeader
<PageHeader
model={Object {}}
model={Object {}}
...
@@ -151,7 +151,7 @@ exports[`Render should render action bar and datasources 1`] = `
...
@@ -151,7 +151,7 @@ exports[`Render should render action bar and datasources 1`] = `
exports[`Render should render component 1`] = `
exports[`Render should render component 1`] = `
<Page
<Page
title="Data Sources"
title="
Configuration:
Data Sources"
>
>
<PageHeader
<PageHeader
model={Object {}}
model={Object {}}
...
...
public/app/features/plugins/__snapshots__/PluginListPage.test.tsx.snap
View file @
25304629
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Render should render component 1`] = `
exports[`Render should render component 1`] = `
<div>
<Page
title="Configuration: Plugins"
>
<PageHeader
<PageHeader
model={Object {}}
model={Object {}}
/>
/>
<
div
<
PageContents
className="page-container page-body"
isLoading={true}
>
>
<OrgActionBar
<OrgActionBar
layoutMode="grid"
layoutMode="grid"
...
@@ -20,20 +22,19 @@ exports[`Render should render component 1`] = `
...
@@ -20,20 +22,19 @@ exports[`Render should render component 1`] = `
searchQuery=""
searchQuery=""
setSearchQuery={[Function]}
setSearchQuery={[Function]}
/>
/>
<PageLoader
</PageContents>
pageName="Plugins"
</Page>
/>
</div>
</div>
`;
`;
exports[`Render should render list 1`] = `
exports[`Render should render list 1`] = `
<div>
<Page
title="Configuration: Plugins"
>
<PageHeader
<PageHeader
model={Object {}}
model={Object {}}
/>
/>
<
div
<
PageContents
className="page-container page-body"
isLoading={false}
>
>
<OrgActionBar
<OrgActionBar
layoutMode="grid"
layoutMode="grid"
...
@@ -51,6 +52,6 @@ exports[`Render should render list 1`] = `
...
@@ -51,6 +52,6 @@ exports[`Render should render list 1`] = `
layoutMode="grid"
layoutMode="grid"
plugins={Array []}
plugins={Array []}
/>
/>
</
div
>
</
PageContents
>
</
div
>
</
Page
>
`;
`;
public/app/features/teams/__snapshots__/TeamList.test.tsx.snap
View file @
25304629
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Render should render component 1`] = `
exports[`Render should render component 1`] = `
<div>
<Page
title="Configuration: Teams"
>
<PageHeader
<PageHeader
model={Object {}}
model={Object {}}
/>
/>
<Page
Loader
<Page
Contents
pageName="Teams"
isLoading={true}
/>
/>
</
div
>
</
Page
>
`;
`;
exports[`Render should render teams table 1`] = `
exports[`Render should render teams table 1`] = `
<div>
<Page
title="Configuration: Teams"
>
<PageHeader
<PageHeader
model={Object {}}
model={Object {}}
/>
/>
<
div
<
PageContents
className="page-container page-body"
isLoading={false}
>
>
<div
<div
className="page-
action-bar
"
className="page-
container page-body
"
>
>
<div
<div
className="
gf-form gf-form--grow
"
className="
page-action-bar
"
>
>
<
label
<
div
className="gf-form
--has-input-icon
gf-form--grow"
className="gf-form gf-form--grow"
>
>
<input
<label
className="gf-form-input"
className="gf-form--has-input-icon gf-form--grow"
onChange={[Function]}
>
placeholder="Search teams"
<input
type="text"
className="gf-form-input"
value=""
onChange={[Function]}
/>
placeholder="Search teams"
<i
type="text"
className="gf-form-input-icon fa fa-search"
value=""
/>
/>
</label>
<i
className="gf-form-input-icon fa fa-search"
/>
</label>
</div>
<div
className="page-action-bar__spacer"
/>
<a
className="btn btn-success"
href="org/teams/new"
>
New team
</a>
</div>
</div>
<div
<div
className="page-action-bar__spacer"
className="admin-list-table"
/>
<a
className="btn btn-success"
href="org/teams/new"
>
>
New team
<table
</a>
className="filter-table filter-table--hover form-inline"
</div>
>
<div
<thead>
className="admin-list-table"
<tr>
>
<th />
<table
<th>
className="filter-table filter-table--hover form-inline"
Name
>
</th>
<thead>
<th>
<tr>
Email
<th />
</th>
<th>
<th>
Name
Members
</th>
</th>
<th>
<th
Email
style={
</th>
Object {
<th>
"width": "1%",
Members
}
</th>
<th
style={
Object {
"width": "1%",
}
}
}
/>
/>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
<tr
<tr
key="1"
key="1"
>
<td
className="width-4 text-center link-td"
>
>
<
a
<
td
href="org/teams/edit/1
"
className="width-4 text-center link-td
"
>
>
<
img
<
a
className="filter-table__avatar
"
href="org/teams/edit/1
"
src="some/url/"
>
/>
<img
</a>
className="filter-table__avatar"
</td>
src="some/url/"
<td
/>
className="link-td"
</a>
>
</td
>
<
a
<
td
href="org/teams/edit/1
"
className="link-td
"
>
>
test-1
<a
</a>
href="org/teams/edit/1"
</td
>
>
<td
test-1
className="link-td"
</a>
>
</td
>
<
a
<
td
href="org/teams/edit/1
"
className="link-td
"
>
>
test-1@test.com
<a
</a>
href="org/teams/edit/1"
</td
>
>
<td
test-1@test.com
className="link-td"
</a>
>
</td
>
<
a
<
td
href="org/teams/edit/1
"
className="link-td
"
>
>
1
<a
</a>
href="org/teams/edit/1"
</td>
>
<td
1
className="text-right"
</a>
>
</td>
<DeleteButton
<td
onConfirm={[Function]}
className="text-right"
/>
</td>
</tr>
<tr
key="2"
>
<td
className="width-4 text-center link-td"
>
<a
href="org/teams/edit/2"
>
>
<img
<DeleteButton
className="filter-table__avatar"
onConfirm={[Function]}
src="some/url/"
/>
/>
</
a
>
</
td
>
</t
d
>
</t
r
>
<t
d
<t
r
className="link-td
"
key="2
"
>
>
<
a
<
td
href="org/teams/edit/2
"
className="width-4 text-center link-td
"
>
>
test-2
<a
</a>
href="org/teams/edit/2"
</td>
>
<td
<img
className="link-td"
className="filter-table__avatar"
>
src="some/url/"
<a
/>
href="org/teams/edit/2"
</a>
</td>
<td
className="link-td"
>
>
test-2@test.com
<a
</a>
href="org/teams/edit/2"
</td
>
>
<td
test-2
className="link-td"
</a>
>
</td
>
<
a
<
td
href="org/teams/edit/2
"
className="link-td
"
>
>
2
<a
</a>
href="org/teams/edit/2"
</td>
>
<td
test-2@test.com
className="text-right"
</a>
>
</td>
<DeleteButton
<td
onConfirm={[Function]}
className="link-td"
/>
>
</td>
<a
</tr>
href="org/teams/edit/2"
<tr
>
key="3"
2
>
</a>
<td
</td>
className="width-4 text-center link-td"
<td
>
className="text-right"
<a
href="org/teams/edit/3"
>
>
<img
<DeleteButton
className="filter-table__avatar"
onConfirm={[Function]}
src="some/url/"
/>
/>
</
a
>
</
td
>
</t
d
>
</t
r
>
<t
d
<t
r
className="link-td
"
key="3
"
>
>
<
a
<
td
href="org/teams/edit/3
"
className="width-4 text-center link-td
"
>
>
test-3
<a
</a>
href="org/teams/edit/3"
</td>
>
<td
<img
className="link-td"
className="filter-table__avatar"
>
src="some/url/"
<a
/>
href="org/teams/edit/3"
</a>
</td>
<td
className="link-td"
>
>
test-3@test.com
<a
</a>
href="org/teams/edit/3"
</td
>
>
<td
test-3
className="link-td"
</a>
>
</td
>
<
a
<
td
href="org/teams/edit/3
"
className="link-td
"
>
>
3
<a
</a>
href="org/teams/edit/3"
</td>
>
<td
test-3@test.com
className="text-right"
</a>
>
</td>
<DeleteButton
<td
onConfirm={[Function]}
className="link-td"
/>
>
</td>
<a
</tr>
href="org/teams/edit/3"
<tr
>
key="4"
3
>
</a>
<td
</td>
className="width-4 text-center link-td"
<td
>
className="text-right"
<a
href="org/teams/edit/4"
>
>
<img
<DeleteButton
className="filter-table__avatar"
onConfirm={[Function]}
src="some/url/"
/>
/>
</
a
>
</
td
>
</t
d
>
</t
r
>
<t
d
<t
r
className="link-td
"
key="4
"
>
>
<
a
<
td
href="org/teams/edit/4
"
className="width-4 text-center link-td
"
>
>
test-4
<a
</a>
href="org/teams/edit/4"
</td>
>
<td
<img
className="link-td"
className="filter-table__avatar"
>
src="some/url/"
<a
/>
href="org/teams/edit/4"
</a>
</td>
<td
className="link-td"
>
>
test-4@test.com
<a
</a>
href="org/teams/edit/4"
</td
>
>
<td
test-4
className="link-td"
</a>
>
</td
>
<
a
<
td
href="org/teams/edit/4
"
className="link-td
"
>
>
4
<a
</a>
href="org/teams/edit/4"
</td>
>
<td
test-4@test.com
className="text-right"
</a>
>
</td>
<DeleteButton
<td
onConfirm={[Function]}
className="link-td"
/>
</td>
</tr>
<tr
key="5"
>
<td
className="width-4 text-center link-td"
>
<a
href="org/teams/edit/5"
>
>
<img
<a
className="filter-table__avatar"
href="org/teams/edit/4"
src="some/url/"
>
4
</a>
</td>
<td
className="text-right"
>
<DeleteButton
onConfirm={[Function]}
/>
/>
</
a
>
</
td
>
</t
d
>
</t
r
>
<t
d
<t
r
className="link-td
"
key="5
"
>
>
<
a
<
td
href="org/teams/edit/5
"
className="width-4 text-center link-td
"
>
>
test-5
<a
</a>
href="org/teams/edit/5"
</td>
>
<td
<img
className="link-td"
className="filter-table__avatar"
>
src="some/url/"
<a
/>
href="org/teams/edit/5"
</a>
</td>
<td
className="link-td"
>
>
test-5@test.com
<a
</a>
href="org/teams/edit/5"
</td
>
>
<td
test-5
className="link-td"
</a>
>
</td
>
<
a
<
td
href="org/teams/edit/5
"
className="link-td
"
>
>
5
<a
</a>
href="org/teams/edit/5"
</td>
>
<td
test-5@test.com
className="text-right"
</a>
>
</td>
<DeleteButton
<td
onConfirm={[Function]}
className="link-td"
/>
>
</td>
<a
</tr>
href="org/teams/edit/5"
</tbody>
>
</table>
5
</a>
</td>
<td
className="text-right"
>
<DeleteButton
onConfirm={[Function]}
/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</
div
>
</
PageContents
>
</
div
>
</
Page
>
`;
`;
public/app/features/users/__snapshots__/UsersListPage.test.tsx.snap
View file @
25304629
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Render should render List page 1`] = `
exports[`Render should render List page 1`] = `
<div>
<Page
title="Configuration: Users"
>
<PageHeader
<PageHeader
model={Object {}}
model={Object {}}
/>
/>
<
div
<
PageContents
className="page-container page-body"
isLoading={false}
>
>
<Connect(UsersActionBar)
<Connect(UsersActionBar)
onShowInvites={[Function]}
onShowInvites={[Function]}
...
@@ -17,25 +19,24 @@ exports[`Render should render List page 1`] = `
...
@@ -17,25 +19,24 @@ exports[`Render should render List page 1`] = `
onRoleChange={[Function]}
onRoleChange={[Function]}
users={Array []}
users={Array []}
/>
/>
</
div
>
</
PageContents
>
</
div
>
</
Page
>
`;
`;
exports[`Render should render component 1`] = `
exports[`Render should render component 1`] = `
<div>
<Page
title="Configuration: Users"
>
<PageHeader
<PageHeader
model={Object {}}
model={Object {}}
/>
/>
<
div
<
PageContents
className="page-container page-body"
isLoading={true}
>
>
<Connect(UsersActionBar)
<Connect(UsersActionBar)
onShowInvites={[Function]}
onShowInvites={[Function]}
showInvites={false}
showInvites={false}
/>
/>
<PageLoader
</PageContents>
pageName="Users"
</Page>
/>
</div>
</div>
`;
`;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment