Browse Source
* test: demo -> ui test * improve comment image width * use argos-ci * use by cicleci * fix circle run * rebase master * try pipeline var * use another branch var * fix commit id * ignore image test file * remove useless report * fix test coveragepull/27332/head
骗你是小猫咪
4 years ago
committed by
GitHub
73 changed files with 353 additions and 98 deletions
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Affix image', () => { |
||||
|
imageDemoTest('affix'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Alert image', () => { |
||||
|
imageDemoTest('alert'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Anchor image', () => { |
||||
|
imageDemoTest('anchor'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('AutoComplete image', () => { |
||||
|
imageDemoTest('auto-complete'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Avatar image', () => { |
||||
|
imageDemoTest('avatar'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('BackTop image', () => { |
||||
|
imageDemoTest('back-top'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Badge image', () => { |
||||
|
imageDemoTest('badge'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Breadcrumb image', () => { |
||||
|
imageDemoTest('breadcrumb', { skip: ['router-4.md'] }); |
||||
|
}); |
Before Width: | Height: | Size: 6.6 KiB |
@ -1,14 +0,0 @@ |
|||||
import React from 'react'; |
|
||||
import Button from '..'; |
|
||||
import imageTest from '../../../tests/shared/imageTest'; |
|
||||
|
|
||||
describe('Button image', () => { |
|
||||
imageTest( |
|
||||
<> |
|
||||
<Button type="primary">Primary</Button> |
|
||||
<Button>Default</Button> |
|
||||
<Button type="dashed">Dashed</Button> |
|
||||
<Button type="link">Link</Button> |
|
||||
</>, |
|
||||
); |
|
||||
}); |
|
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Button image', () => { |
||||
|
imageDemoTest('button', { skip: ['loading.md'] }); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Calendar image', () => { |
||||
|
imageDemoTest('calendar'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Card image', () => { |
||||
|
imageDemoTest('card'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Carousel image', () => { |
||||
|
imageDemoTest('carousel'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Cascader image', () => { |
||||
|
imageDemoTest('cascader'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Checkbox image', () => { |
||||
|
imageDemoTest('checkbox'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Collapse image', () => { |
||||
|
imageDemoTest('collapse'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Comment image', () => { |
||||
|
imageDemoTest('comment'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('ConfigProvider image', () => { |
||||
|
imageDemoTest('config-provider', { skip: ['direction.md'] }); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('DatePicker image', () => { |
||||
|
imageDemoTest('date-picker'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Descriptions image', () => { |
||||
|
imageDemoTest('descriptions'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Divider image', () => { |
||||
|
imageDemoTest('divider'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Drawer image', () => { |
||||
|
imageDemoTest('drawer'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Dropdown image', () => { |
||||
|
imageDemoTest('dropdown'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Empty image', () => { |
||||
|
imageDemoTest('empty'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Form image', () => { |
||||
|
imageDemoTest('form', { skip: ['complex-form-control.md'] }); |
||||
|
}); |
Before Width: | Height: | Size: 6.6 KiB |
@ -1,37 +0,0 @@ |
|||||
import React from 'react'; |
|
||||
import { Col, Row } from '..'; |
|
||||
import imageTest from '../../../tests/shared/imageTest'; |
|
||||
|
|
||||
describe('Grid image', () => { |
|
||||
imageTest( |
|
||||
<> |
|
||||
<Row> |
|
||||
<Col>col</Col> |
|
||||
</Row> |
|
||||
<Row> |
|
||||
<Col>col</Col> |
|
||||
<Col>col</Col> |
|
||||
<Col>col</Col> |
|
||||
<Col>col</Col> |
|
||||
</Row> |
|
||||
<Row> |
|
||||
<Col span={24}>col</Col> |
|
||||
</Row> |
|
||||
<Row> |
|
||||
<Col span={12}>col-12</Col> |
|
||||
<Col span={12}>col-12</Col> |
|
||||
</Row> |
|
||||
<Row> |
|
||||
<Col span={8}>col-8</Col> |
|
||||
<Col span={8}>col-8</Col> |
|
||||
<Col span={8}>col-8</Col> |
|
||||
</Row> |
|
||||
<Row> |
|
||||
<Col span={6}>col-6</Col> |
|
||||
<Col span={6}>col-6</Col> |
|
||||
<Col span={6}>col-6</Col> |
|
||||
<Col span={6}>col-6</Col> |
|
||||
</Row> |
|
||||
</>, |
|
||||
); |
|
||||
}); |
|
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Grid image', () => { |
||||
|
imageDemoTest('grid'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Icon image', () => { |
||||
|
imageDemoTest('icon', { skip: ['basic.md'] }); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('InputNumber image', () => { |
||||
|
imageDemoTest('input-number'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Input image', () => { |
||||
|
imageDemoTest('input', { skip: ['search-input-loading.md'] }); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Layout image', () => { |
||||
|
imageDemoTest('layout', { skip: ['countdown.md '] }); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('List image', () => { |
||||
|
imageDemoTest('list'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Mentions image', () => { |
||||
|
imageDemoTest('mentions'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Menu image', () => { |
||||
|
imageDemoTest('menu'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Message image', () => { |
||||
|
imageDemoTest('message'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Modal image', () => { |
||||
|
imageDemoTest('modal'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Notification image', () => { |
||||
|
imageDemoTest('notification'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('PageHeader image', () => { |
||||
|
imageDemoTest('page-header'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Pagination image', () => { |
||||
|
imageDemoTest('pagination'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Popconfirm image', () => { |
||||
|
imageDemoTest('popconfirm'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Popover image', () => { |
||||
|
imageDemoTest('popover'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Progress image', () => { |
||||
|
imageDemoTest('progress'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Radio image', () => { |
||||
|
imageDemoTest('radio'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Rate image', () => { |
||||
|
imageDemoTest('rate'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Result image', () => { |
||||
|
imageDemoTest('result'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Select image', () => { |
||||
|
imageDemoTest('select', { skip: ['basic.md'] }); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Skeleton image', () => { |
||||
|
imageDemoTest('skeleton'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Slider image', () => { |
||||
|
imageDemoTest('slider'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Space image', () => { |
||||
|
imageDemoTest('space'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Statistic image', () => { |
||||
|
imageDemoTest('statistic', { skip: ['countdown.md'] }); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Steps image', () => { |
||||
|
imageDemoTest('steps', { skip: ['icon.md'] }); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Switch image', () => { |
||||
|
imageDemoTest('switch', { skip: ['loading.md'] }); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Table image', () => { |
||||
|
imageDemoTest('table'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Tabs image', () => { |
||||
|
imageDemoTest('tabs'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Tag image', () => { |
||||
|
imageDemoTest('tag', { skip: ['status.md'] }); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('TimePicker image', () => { |
||||
|
imageDemoTest('time-picker'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Timeline image', () => { |
||||
|
imageDemoTest('timeline', { skip: ['pending.md'] }); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Tooltip image', () => { |
||||
|
imageDemoTest('tooltip'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Transfer image', () => { |
||||
|
imageDemoTest('transfer'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('TreeSelect image', () => { |
||||
|
imageDemoTest('tree-select'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Tree image', () => { |
||||
|
imageDemoTest('tree'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Typography image', () => { |
||||
|
imageDemoTest('typography'); |
||||
|
}); |
@ -0,0 +1,5 @@ |
|||||
|
import { imageDemoTest } from '../../../tests/shared/imageTest'; |
||||
|
|
||||
|
describe('Upload image', () => { |
||||
|
imageDemoTest('upload'); |
||||
|
}); |
Loading…
Reference in new issue