amis/__tests__/renderers/__snapshots__/Portlet.test.tsx.snap
liaoxuezhi 18030b5415
chore: 修复测试用例报错 (#4021)
* chore: 调整测试用例

* chore: 调整测试用例

* 补充测试用

* chore: 修复测试用例报错

* chore: 修复测试用例报错

* 更新 snapshot
2022-04-12 14:22:39 +08:00

155 lines
3.9 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Renderer:portlet 1`] = `
<div>
<div
class="cxd-Portlet"
>
<div
class="cxd-Tabs cxd-Tabs--line cxd-Portlet-tab"
>
<div
class="cxd-Tabs-linksContainer-wrapper cxd-Tabs-linksContainer-wrapper--toolbar"
style="position: relative;"
>
<div
class="cxd-Tabs-linksContainer"
>
<div
class="cxd-Tabs-linksContainer-main"
>
<ul
class="cxd-Tabs-links"
role="tablist"
>
<li
class="cxd-Tabs-link is-active"
>
<a
title="Tab 1"
>
Tab 1
</a>
</li>
<li
class="cxd-Tabs-link"
>
<a
title="Tab 2"
>
Tab 2
</a>
</li>
<div
class="cxd-Portlet-toolbar"
>
<div
class="cxd-toolbar"
>
<button
class="cxd-Button cxd-Button--link cxd-Button--sm"
type="button"
>
<span>
固定操作
</span>
</button>
</div>
<div
class="cxd-tab-toolbar"
>
<button
class="cxd-Button cxd-Button--link cxd-Button--sm"
type="button"
>
<span>
ajax请求
</span>
</button>
<div
class="cxd-DropDown "
>
<button
class="cxd-Button cxd-Button--link cxd-Button--sm"
>
<i
class="m-r-xs fa fa-ellipsis-h"
/>
</button>
</div>
</div>
</div>
</ul>
</div>
</div>
<div
class="resize-sensor"
style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: scroll; z-index: -1; visibility: hidden;"
>
<div
class="resize-sensor-expand"
style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;"
>
<div
style="position: absolute; left: 0px; top: 0px; width: 10px; height: 10px;"
/>
</div>
<div
class="resize-sensor-shrink"
style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;"
>
<div
style="position: absolute; left: 0; top: 0; width: 200%; height: 200%"
/>
</div>
<div
class="resize-sensor-appear"
style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: scroll; z-index: -1; visibility: hidden;animation-name: apearSensor; animation-duration: 0.2s;"
/>
</div>
</div>
<div
class="cxd-Tabs-content"
>
<div
class="in is-active cxd-Tabs-pane"
>
<span
class="cxd-TplField"
>
<span>
Content 1
</span>
</span>
</div>
<div
class="cxd-Tabs-pane"
>
<span
class="cxd-TplField"
>
<span>
Content 2
</span>
</span>
</div>
</div>
</div>
</div>
</div>
`;