forked from grafana.jool/grafana-jool
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
1.9 KiB
114 lines
1.9 KiB
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Render should render component 1`] = `
|
|
<div
|
|
className="page-action-bar"
|
|
>
|
|
<div
|
|
className="gf-form gf-form--grow"
|
|
>
|
|
<FilterInput
|
|
onChange={[MockFunction]}
|
|
placeholder="Search user by login, email or name"
|
|
value=""
|
|
/>
|
|
</div>
|
|
<LinkButton
|
|
href="org/users/invite"
|
|
>
|
|
Invite
|
|
</LinkButton>
|
|
</div>
|
|
`;
|
|
|
|
exports[`Render should render pending invites button 1`] = `
|
|
<div
|
|
className="page-action-bar"
|
|
>
|
|
<div
|
|
className="gf-form gf-form--grow"
|
|
>
|
|
<FilterInput
|
|
onChange={[MockFunction]}
|
|
placeholder="Search user by login, email or name"
|
|
value=""
|
|
/>
|
|
</div>
|
|
<div
|
|
style={
|
|
Object {
|
|
"marginLeft": "1rem",
|
|
}
|
|
}
|
|
>
|
|
<RadioButtonGroup
|
|
onChange={[MockFunction]}
|
|
options={
|
|
Array [
|
|
Object {
|
|
"label": "Users",
|
|
"value": "users",
|
|
},
|
|
Object {
|
|
"label": "Pending Invites (5)",
|
|
"value": "invites",
|
|
},
|
|
]
|
|
}
|
|
value="users"
|
|
/>
|
|
</div>
|
|
<LinkButton
|
|
href="org/users/invite"
|
|
>
|
|
Invite
|
|
</LinkButton>
|
|
</div>
|
|
`;
|
|
|
|
exports[`Render should show external user management button 1`] = `
|
|
<div
|
|
className="page-action-bar"
|
|
>
|
|
<div
|
|
className="gf-form gf-form--grow"
|
|
>
|
|
<FilterInput
|
|
onChange={[MockFunction]}
|
|
placeholder="Search user by login, email or name"
|
|
value=""
|
|
/>
|
|
</div>
|
|
<LinkButton
|
|
href="org/users/invite"
|
|
>
|
|
Invite
|
|
</LinkButton>
|
|
<LinkButton
|
|
href="some/url"
|
|
rel="noopener"
|
|
target="_blank"
|
|
/>
|
|
</div>
|
|
`;
|
|
|
|
exports[`Render should show invite button 1`] = `
|
|
<div
|
|
className="page-action-bar"
|
|
>
|
|
<div
|
|
className="gf-form gf-form--grow"
|
|
>
|
|
<FilterInput
|
|
onChange={[MockFunction]}
|
|
placeholder="Search user by login, email or name"
|
|
value=""
|
|
/>
|
|
</div>
|
|
<LinkButton
|
|
href="org/users/invite"
|
|
>
|
|
Invite
|
|
</LinkButton>
|
|
</div>
|
|
`;
|
|
|