123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`ShareIssue renders when busy 1`] = `
- <DropdownLink
- alwaysRenderMenu={true}
- anchorRight={false}
- caret={true}
- className="share-issue btn-sm btn btn-default"
- disabled={false}
- keepMenuOpen={true}
- onOpen={[Function]}
- shouldIgnoreClickOutside={[Function]}
- title={
- <div
- style={
- Object {
- "marginRight": 4,
- }
- }
- >
- <FlowLayout
- center={true}
- truncate={true}
- >
- <IndicatorDot />
- Share
- </FlowLayout>
- </div>
- }
- >
- <li
- style={
- Object {
- "padding": "12px 18px",
- }
- }
- >
- <SpreadLayout
- center={true}
- responsive={false}
- style={
- Object {
- "marginBottom": undefined,
- }
- }
- >
- <SmallHeading>
- Enable public share link
- </SmallHeading>
- <Switch
- size="sm"
- toggle={[Function]}
- />
- </SpreadLayout>
- </li>
- </DropdownLink>
- `;
- exports[`ShareIssue renders when not shared 1`] = `
- <DropdownLink
- alwaysRenderMenu={true}
- anchorRight={false}
- caret={true}
- className="share-issue btn-sm btn btn-default"
- disabled={false}
- keepMenuOpen={true}
- onOpen={[Function]}
- shouldIgnoreClickOutside={[Function]}
- title={
- <div
- style={
- Object {
- "marginRight": 4,
- }
- }
- >
- <FlowLayout
- center={true}
- truncate={true}
- >
- <IndicatorDot
- active={false}
- />
- Share
- </FlowLayout>
- </div>
- }
- >
- <li
- style={
- Object {
- "padding": "12px 18px",
- }
- }
- >
- <SpreadLayout
- center={true}
- responsive={false}
- style={
- Object {
- "marginBottom": undefined,
- }
- }
- >
- <SmallHeading>
- Enable public share link
- </SmallHeading>
- <Switch
- isActive={false}
- size="sm"
- toggle={[Function]}
- />
- </SpreadLayout>
- </li>
- </DropdownLink>
- `;
- exports[`ShareIssue renders when shared 1`] = `
- <DropdownLink
- alwaysRenderMenu={true}
- anchorRight={false}
- caret={true}
- className="share-issue btn-sm btn btn-default"
- disabled={false}
- keepMenuOpen={true}
- onOpen={[Function]}
- shouldIgnoreClickOutside={[Function]}
- title={
- <div
- style={
- Object {
- "marginRight": 4,
- }
- }
- >
- <FlowLayout
- center={true}
- truncate={true}
- >
- <IndicatorDot
- active={true}
- />
- Share
- </FlowLayout>
- </div>
- }
- >
- <li
- style={
- Object {
- "padding": "12px 18px",
- }
- }
- >
- <SpreadLayout
- center={true}
- responsive={false}
- style={
- Object {
- "marginBottom": 12,
- }
- }
- >
- <SmallHeading>
- Enable public share link
- </SmallHeading>
- <Switch
- isActive={true}
- size="sm"
- toggle={[Function]}
- />
- </SpreadLayout>
- <ShareUrlContainer
- isSharing={true}
- onCancel={[Function]}
- onConfirming={[Function]}
- onShare={[Function]}
- onToggle={[Function]}
- shareUrl="http://sentry.io/share/test/"
- />
- </li>
- </DropdownLink>
- `;
|