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 @@
exports[`Render should render action bar and datasources 1`] = `
<Page
title="Data Sources"
title="
Configuration:
Data Sources"
>
<PageHeader
model={Object {}}
...
...
@@ -151,7 +151,7 @@ exports[`Render should render action bar and datasources 1`] = `
exports[`Render should render component 1`] = `
<Page
title="Data Sources"
title="
Configuration:
Data Sources"
>
<PageHeader
model={Object {}}
...
...
public/app/features/plugins/__snapshots__/PluginListPage.test.tsx.snap
View file @
25304629
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Render should render component 1`] = `
<div>
<Page
title="Configuration: Plugins"
>
<PageHeader
model={Object {}}
/>
<
div
className="page-container page-body"
<
PageContents
isLoading={true}
>
<OrgActionBar
layoutMode="grid"
...
...
@@ -20,20 +22,19 @@ exports[`Render should render component 1`] = `
searchQuery=""
setSearchQuery={[Function]}
/>
<PageLoader
pageName="Plugins"
/>
</div>
</div>
</PageContents>
</Page>
`;
exports[`Render should render list 1`] = `
<div>
<Page
title="Configuration: Plugins"
>
<PageHeader
model={Object {}}
/>
<
div
className="page-container page-body"
<
PageContents
isLoading={false}
>
<OrgActionBar
layoutMode="grid"
...
...
@@ -51,6 +52,6 @@ exports[`Render should render list 1`] = `
layoutMode="grid"
plugins={Array []}
/>
</
div
>
</
div
>
</
PageContents
>
</
Page
>
`;
public/app/features/teams/__snapshots__/TeamList.test.tsx.snap
View file @
25304629
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Render should render component 1`] = `
<div>
<Page
title="Configuration: Teams"
>
<PageHeader
model={Object {}}
/>
<Page
Loader
pageName="Teams"
<Page
Contents
isLoading={true}
/>
</
div
>
</
Page
>
`;
exports[`Render should render teams table 1`] = `
<div>
<Page
title="Configuration: Teams"
>
<PageHeader
model={Object {}}
/>
<
div
className="page-container page-body"
<
PageContents
isLoading={false}
>
<div
className="page-
action-bar
"
className="page-
container page-body
"
>
<div
className="
gf-form gf-form--grow
"
className="
page-action-bar
"
>
<
label
className="gf-form
--has-input-icon
gf-form--grow"
<
div
className="gf-form gf-form--grow"
>
<input
className="gf-form-input"
onChange={[Function]}
placeholder="Search teams"
type="text"
value=""
/>
<i
className="gf-form-input-icon fa fa-search"
/>
</label>
<label
className="gf-form--has-input-icon gf-form--grow"
>
<input
className="gf-form-input"
onChange={[Function]}
placeholder="Search teams"
type="text"
value=""
/>
<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
className="page-action-bar__spacer"
/>
<a
className="btn btn-success"
href="org/teams/new"
className="admin-list-table"
>
New team
</a>
</div>
<div
className="admin-list-table"
>
<table
className="filter-table filter-table--hover form-inline"
>
<thead>
<tr>
<th />
<th>
Name
</th>
<th>
Email
</th>
<th>
Members
</th>
<th
style={
Object {
"width": "1%",
<table
className="filter-table filter-table--hover form-inline"
>
<thead>
<tr>
<th />
<th>
Name
</th>
<th>
Email
</th>
<th>
Members
</th>
<th
style={
Object {
"width": "1%",
}
}
}
/>
</tr>
</thead>
<tbody>
<tr
key="1"
>
<td
className="width-4 text-center link-td"
/>
</tr>
</thead>
<tbody>
<tr
key="1"
>
<
a
href="org/teams/edit/1
"
<
td
className="width-4 text-center link-td
"
>
<
img
className="filter-table__avatar
"
src="some/url/"
/>
</a>
</td>
<td
className="link-td"
>
<
a
href="org/teams/edit/1
"
<
a
href="org/teams/edit/1
"
>
<img
className="filter-table__avatar"
src="some/url/"
/>
</a>
</td
>
<
td
className="link-td
"
>
test-1
</a>
</td
>
<td
className="link-td"
>
<
a
href="org/teams/edit/1
"
<a
href="org/teams/edit/1"
>
test-1
</a>
</td
>
<
td
className="link-td
"
>
test-1@test.com
</a>
</td
>
<td
className="link-td"
>
<
a
href="org/teams/edit/1
"
<a
href="org/teams/edit/1"
>
test-1@test.com
</a>
</td
>
<
td
className="link-td
"
>
1
</a>
</td>
<td
className="text-right"
>
<DeleteButton
onConfirm={[Function]}
/>
</td>
</tr>
<tr
key="2"
>
<td
className="width-4 text-center link-td"
>
<a
href="org/teams/edit/2"
<a
href="org/teams/edit/1"
>
1
</a>
</td>
<td
className="text-right"
>
<img
className="filter-table__avatar"
src="some/url/"
<DeleteButton
onConfirm={[Function]}
/>
</
a
>
</t
d
>
<t
d
className="link-td
"
</
td
>
</t
r
>
<t
r
key="2
"
>
<
a
href="org/teams/edit/2
"
<
td
className="width-4 text-center link-td
"
>
test-2
</a>
</td>
<td
className="link-td"
>
<a
href="org/teams/edit/2"
<a
href="org/teams/edit/2"
>
<img
className="filter-table__avatar"
src="some/url/"
/>
</a>
</td>
<td
className="link-td"
>
test-2@test.com
</a>
</td
>
<td
className="link-td"
>
<
a
href="org/teams/edit/2
"
<a
href="org/teams/edit/2"
>
test-2
</a>
</td
>
<
td
className="link-td
"
>
2
</a>
</td>
<td
className="text-right"
>
<DeleteButton
onConfirm={[Function]}
/>
</td>
</tr>
<tr
key="3"
>
<td
className="width-4 text-center link-td"
>
<a
href="org/teams/edit/3"
<a
href="org/teams/edit/2"
>
test-2@test.com
</a>
</td>
<td
className="link-td"
>
<a
href="org/teams/edit/2"
>
2
</a>
</td>
<td
className="text-right"
>
<img
className="filter-table__avatar"
src="some/url/"
<DeleteButton
onConfirm={[Function]}
/>
</
a
>
</t
d
>
<t
d
className="link-td
"
</
td
>
</t
r
>
<t
r
key="3
"
>
<
a
href="org/teams/edit/3
"
<
td
className="width-4 text-center link-td
"
>
test-3
</a>
</td>
<td
className="link-td"
>
<a
href="org/teams/edit/3"
<a
href="org/teams/edit/3"
>
<img
className="filter-table__avatar"
src="some/url/"
/>
</a>
</td>
<td
className="link-td"
>
test-3@test.com
</a>
</td
>
<td
className="link-td"
>
<
a
href="org/teams/edit/3
"
<a
href="org/teams/edit/3"
>
test-3
</a>
</td
>
<
td
className="link-td
"
>
3
</a>
</td>
<td
className="text-right"
>
<DeleteButton
onConfirm={[Function]}
/>
</td>
</tr>
<tr
key="4"
>
<td
className="width-4 text-center link-td"
>
<a
href="org/teams/edit/4"
<a
href="org/teams/edit/3"
>
test-3@test.com
</a>
</td>
<td
className="link-td"
>
<a
href="org/teams/edit/3"
>
3
</a>
</td>
<td
className="text-right"
>
<img
className="filter-table__avatar"
src="some/url/"
<DeleteButton
onConfirm={[Function]}
/>
</
a
>
</t
d
>
<t
d
className="link-td
"
</
td
>
</t
r
>
<t
r
key="4
"
>
<
a
href="org/teams/edit/4
"
<
td
className="width-4 text-center link-td
"
>
test-4
</a>
</td>
<td
className="link-td"
>
<a
href="org/teams/edit/4"
<a
href="org/teams/edit/4"
>
<img
className="filter-table__avatar"
src="some/url/"
/>
</a>
</td>
<td
className="link-td"
>
test-4@test.com
</a>
</td
>
<td
className="link-td"
>
<
a
href="org/teams/edit/4
"
<a
href="org/teams/edit/4"
>
test-4
</a>
</td
>
<
td
className="link-td
"
>
4
</a>
</td>
<td
className="text-right"
>
<DeleteButton
onConfirm={[Function]}
/>
</td>
</tr>
<tr
key="5"
>
<td
className="width-4 text-center link-td"
>
<a
href="org/teams/edit/5"
<a
href="org/teams/edit/4"
>
test-4@test.com
</a>
</td>
<td
className="link-td"
>
<img
className="filter-table__avatar"
src="some/url/"
<a
href="org/teams/edit/4"
>
4
</a>
</td>
<td
className="text-right"
>
<DeleteButton
onConfirm={[Function]}
/>
</
a
>
</t
d
>
<t
d
className="link-td
"
</
td
>
</t
r
>
<t
r
key="5
"
>
<
a
href="org/teams/edit/5
"
<
td
className="width-4 text-center link-td
"
>
test-5
</a>
</td>
<td
className="link-td"
>
<a
href="org/teams/edit/5"
<a
href="org/teams/edit/5"
>
<img
className="filter-table__avatar"
src="some/url/"
/>
</a>
</td>
<td
className="link-td"
>
test-5@test.com
</a>
</td
>
<td
className="link-td"
>
<
a
href="org/teams/edit/5
"
<a
href="org/teams/edit/5"
>
test-5
</a>
</td
>
<
td
className="link-td
"
>
5
</a>
</td>
<td
className="text-right"
>
<DeleteButton
onConfirm={[Function]}
/>
</td>
</tr>
</tbody>
</table>
<a
href="org/teams/edit/5"
>
test-5@test.com
</a>
</td>
<td
className="link-td"
>
<a
href="org/teams/edit/5"
>
5
</a>
</td>
<td
className="text-right"
>
<DeleteButton
onConfirm={[Function]}
/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</
div
>
</
div
>
</
PageContents
>
</
Page
>
`;
public/app/features/users/__snapshots__/UsersListPage.test.tsx.snap
View file @
25304629
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Render should render List page 1`] = `
<div>
<Page
title="Configuration: Users"
>
<PageHeader
model={Object {}}
/>
<
div
className="page-container page-body"
<
PageContents
isLoading={false}
>
<Connect(UsersActionBar)
onShowInvites={[Function]}
...
...
@@ -17,25 +19,24 @@ exports[`Render should render List page 1`] = `
onRoleChange={[Function]}
users={Array []}
/>
</
div
>
</
div
>
</
PageContents
>
</
Page
>
`;
exports[`Render should render component 1`] = `
<div>
<Page
title="Configuration: Users"
>
<PageHeader
model={Object {}}
/>
<
div
className="page-container page-body"
<
PageContents
isLoading={true}
>
<Connect(UsersActionBar)
onShowInvites={[Function]}
showInvites={false}
/>
<PageLoader
pageName="Users"
/>
</div>
</div>
</PageContents>
</Page>
`;
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