Commit 25304629 by Johannes Schill

test: Updated snapshots

parent 6bd87098
...@@ -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 {}}
......
// 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>
`; `;
// 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 {}}
/> />
<PageLoader <PageContents
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>
</td> </tr>
<td <tr
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>
</td> </tr>
<td <tr
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>
</td> </tr>
<td <tr
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>
</td> </tr>
<td <tr
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>
`; `;
// 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>
`; `;
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