Commit 25304629 by Johannes Schill

test: Updated snapshots

parent 6bd87098
......@@ -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 {}}
......
// 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>
`;
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Render should render component 1`] = `
<div>
<Page
title="Configuration: Teams"
>
<PageHeader
model={Object {}}
/>
<PageLoader
pageName="Teams"
<PageContents
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>
</td>
<td
className="link-td"
</td>
</tr>
<tr
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>
</td>
<td
className="link-td"
</td>
</tr>
<tr
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>
</td>
<td
className="link-td"
</td>
</tr>
<tr
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>
</td>
<td
className="link-td"
</td>
</tr>
<tr
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>
`;
// 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>
`;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment