mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 02:57:50 +08:00
test: update popover
This commit is contained in:
parent
6a4ca0c7cd
commit
637b31b4ff
@ -1,20 +1,68 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`renders ./antdv-demo/docs/popover/demo/arrow-point-at-center.md correctly 1`] = `<div><button type="button" class="ant-btn"><span>Align edge / 边缘对齐</span></button> <button type="button" class="ant-btn"><span>Arrow points to center / 箭头指向中心</span></button></div>`;
|
||||
exports[`renders ./antdv-demo/docs/popover/demo/arrow-point-at-center.md correctly 1`] = `
|
||||
<div>
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>Align edge / 边缘对齐</span></button>
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>Arrow points to center / 箭头指向中心</span></button></div>
|
||||
`;
|
||||
|
||||
exports[`renders ./antdv-demo/docs/popover/demo/basic.md correctly 1`] = `<button type="button" class="ant-btn ant-btn-primary"><span>Hover me</span></button>`;
|
||||
exports[`renders ./antdv-demo/docs/popover/demo/basic.md correctly 1`] = `
|
||||
<!----><button class="ant-btn ant-btn-primary" type="button">
|
||||
<!----><span>Hover me</span></button>
|
||||
`;
|
||||
|
||||
exports[`renders ./antdv-demo/docs/popover/demo/control.md correctly 1`] = `<button type="button" class="ant-btn ant-btn-primary"><span>Click me</span></button>`;
|
||||
exports[`renders ./antdv-demo/docs/popover/demo/control.md correctly 1`] = `
|
||||
<!----><button class="ant-btn ant-btn-primary" type="button">
|
||||
<!----><span>Click me</span></button>
|
||||
`;
|
||||
|
||||
exports[`renders ./antdv-demo/docs/popover/demo/hover-with-click.md correctly 1`] = `<button type="button" class="ant-btn" style="width: 500px;"><span>Hover and click / 悬停并单击</span></button>`;
|
||||
exports[`renders ./antdv-demo/docs/popover/demo/hover-with-click.md correctly 1`] = `
|
||||
<!---->
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>Hover and click / 悬停并单击</span></button>
|
||||
`;
|
||||
|
||||
exports[`renders ./antdv-demo/docs/popover/demo/placement.md correctly 1`] = `
|
||||
<div id="components-popover-demo-placement">
|
||||
<div style="margin-left: 70px; white-space: nowrap;"><button type="button" class="ant-btn"><span>TL</span></button> <button type="button" class="ant-btn"><span>Top</span></button> <button type="button" class="ant-btn"><span>TR</span></button></div>
|
||||
<div style="width: 70px; float: left;"><button type="button" class="ant-btn"><span>LT</span></button> <button type="button" class="ant-btn"><span>Left</span></button> <button type="button" class="ant-btn"><span>LB</span></button></div>
|
||||
<div style="width: 70px; margin-left: 304px;"><button type="button" class="ant-btn"><span>RT</span></button> <button type="button" class="ant-btn"><span>Right</span></button> <button type="button" class="ant-btn"><span>RB</span></button></div>
|
||||
<div style="margin-left: 70px; clear: both; white-space: nowrap;"><button type="button" class="ant-btn"><span>BL</span></button> <button type="button" class="ant-btn"><span>Bottom</span></button> <button type="button" class="ant-btn"><span>BR</span></button></div>
|
||||
<div style="margin-left: 70px; white-space: nowrap;">
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>TL</span></button>
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>Top</span></button>
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>TR</span></button></div>
|
||||
<div style="width: 70px; float: left;">
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>LT</span></button>
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>Left</span></button>
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>LB</span></button></div>
|
||||
<div style="width: 70px; margin-left: 304px;">
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>RT</span></button>
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>Right</span></button>
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>RB</span></button></div>
|
||||
<div style="margin-left: 70px; clear: both; white-space: nowrap;">
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>BL</span></button>
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>Bottom</span></button>
|
||||
<!----><button class="ant-btn" type="button">
|
||||
<!----><span>BR</span></button></div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
exports[`renders ./antdv-demo/docs/popover/demo/triggerType.md correctly 1`] = `<div><button type="button" class="ant-btn ant-btn-primary"><span>Hover me</span></button> <button type="button" class="ant-btn ant-btn-primary"><span>Focus me</span></button> <button type="button" class="ant-btn ant-btn-primary"><span>Click me</span></button></div>`;
|
||||
exports[`renders ./antdv-demo/docs/popover/demo/triggerType.md correctly 1`] = `
|
||||
<div>
|
||||
<!----><button class="ant-btn ant-btn-primary" type="button">
|
||||
<!----><span>Hover me</span></button>
|
||||
<!----><button class="ant-btn ant-btn-primary" type="button">
|
||||
<!----><span>Focus me</span></button>
|
||||
<!----><button class="ant-btn ant-btn-primary" type="button">
|
||||
<!----><span>Click me</span></button></div>
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user