123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`ProjectPluginRow renders 1`] = `
- <ProjectPluginRow
- assets={Array []}
- author={
- Object {
- "name": "Sentry Team",
- "url": "https://github.com/getsentry/sentry",
- }
- }
- canDisable={true}
- enabled={false}
- hasConfiguration={true}
- id="amazon-sqs"
- isHidden={false}
- name="Amazon SQS"
- orgId="org-slug"
- projectId="project-slug"
- slug="amazon-sqs"
- version="8.23.0.dev0"
- >
- <withConfig(AccessContainer)
- access={
- Array [
- "project:write",
- ]
- }
- >
- <AccessContainer
- access={
- Array [
- "project:write",
- ]
- }
- config={
- Object {
- "features": Set {},
- "messages": Array [],
- "user": Object {
- "email": "foo@example.com",
- "flags": Object {
- "newsletter_consent_prompt": false,
- },
- "hasPasswordAuth": true,
- "id": "1",
- "isAuthenticated": true,
- "name": "Foo Bar",
- "options": Object {
- "timezone": "UTC",
- },
- "permissions": Set {},
- "username": "foo@example.com",
- },
- }
- }
- >
- <Access
- access={
- Array [
- "project:write",
- ]
- }
- config={
- Object {
- "features": Set {},
- "messages": Array [],
- "user": Object {
- "email": "foo@example.com",
- "flags": Object {
- "newsletter_consent_prompt": false,
- },
- "hasPasswordAuth": true,
- "id": "1",
- "isAuthenticated": true,
- "name": "Foo Bar",
- "options": Object {
- "timezone": "UTC",
- },
- "permissions": Set {},
- "username": "foo@example.com",
- },
- }
- }
- configUser={
- Object {
- "email": "foo@example.com",
- "flags": Object {
- "newsletter_consent_prompt": false,
- },
- "hasPasswordAuth": true,
- "id": "1",
- "isAuthenticated": true,
- "name": "Foo Bar",
- "options": Object {
- "timezone": "UTC",
- },
- "permissions": Set {},
- "username": "foo@example.com",
- }
- }
- organization={
- Object {
- "access": Array [
- "project:write",
- ],
- "features": Array [],
- "id": "3",
- "name": "Organization Name",
- "onboardingTasks": Array [],
- "projects": Array [],
- "scrapeJavaScript": true,
- "slug": "org-slug",
- "status": Object {
- "id": "active",
- "name": "active",
- },
- "teams": Array [],
- }
- }
- renderNoAccessMessage={false}
- requireAll={true}
- >
- <Flex
- align="center"
- className="amazon-sqs"
- flex="1"
- key="amazon-sqs"
- >
- <Base
- align="center"
- className="amazon-sqs css-1yrw3fm"
- flex="1"
- >
- <div
- className="amazon-sqs css-1yrw3fm"
- is={null}
- >
- <PluginInfo>
- <div
- className="css-sm2hu2-PluginInfo e1y7j6vq0"
- >
- <StyledPluginIcon
- pluginId="amazon-sqs"
- size={48}
- >
- <div
- className="css-188xbn-PluginIcon-StyledPluginIcon e1y7j6vq2"
- size={48}
- />
- </StyledPluginIcon>
- <Flex
- direction="column"
- justify="center"
- >
- <Base
- className="css-11zjqd3"
- direction="column"
- justify="center"
- >
- <div
- className="css-11zjqd3"
- is={null}
- >
- <PluginName>
- <div
- className="css-36lssg-PluginName e1y7j6vq1"
- >
- Amazon SQS
- <Version>
- <span
- className="css-1det7j8-Version e1y7j6vq3"
- >
- v8.23.0.dev0
- </span>
- </Version>
- </div>
- </PluginName>
- <div>
- <ForwardRef
- className="css-8vm1xp-grayText"
- href="https://github.com/getsentry/sentry"
- rel="noreferrer noopener"
- target="_blank"
- >
- <a
- className="css-8vm1xp-grayText"
- href="https://github.com/getsentry/sentry"
- rel="noreferrer noopener"
- target="_blank"
- >
- Sentry Team
- </a>
- </ForwardRef>
- <span>
-
- ·
-
- <Link
- className="css-8vm1xp-grayText"
- onlyActiveOnIndex={false}
- style={Object {}}
- to="amazon-sqs"
- >
- <a
- className="css-8vm1xp-grayText"
- onClick={[Function]}
- style={Object {}}
- >
- Configure plugin
- </a>
- </Link>
- </span>
- </div>
- </div>
- </Base>
- </Flex>
- </div>
- </PluginInfo>
- <Switch
- isActive={false}
- isDisabled={false}
- size="lg"
- toggle={[Function]}
- >
- <SwitchButton
- aria-checked={false}
- data-test-id="switch"
- isActive={false}
- isDisabled={false}
- onClick={[Function]}
- role="checkbox"
- size="lg"
- type="button"
- >
- <button
- aria-checked={false}
- className="css-1vudn4r-SwitchButton e1wgeblw0"
- data-test-id="switch"
- onClick={[Function]}
- role="checkbox"
- size="lg"
- type="button"
- >
- <Toggle
- isActive={false}
- isDisabled={false}
- size="lg"
- >
- <span
- className="css-1uoqc08-Toggle e1wgeblw1"
- size="lg"
- />
- </Toggle>
- </button>
- </SwitchButton>
- </Switch>
- </div>
- </Base>
- </Flex>
- </Access>
- </AccessContainer>
- </withConfig(AccessContainer)>
- </ProjectPluginRow>
- `;
|