shaodahong
c465e04c81
test: disable image request
4 years ago
shaodahong
4ce36d2680
increase timeout
4 years ago
shaodahong
427817fb1b
use jest-puppeteer fix more launch
4 years ago
骗你是小猫咪
e9163b3eae
test: improve argos-ci test ( #27420 )
4 years ago
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
* 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 coverage
4 years ago
Tom Xu
89d7101e6e
refactor: focusTest to ts ( #24489 )
5 years ago
Tom Xu
5a1ffb7894
refactor(mentions): rewrite with hook ( #24476 )
* refactor(mentions): rewrite with hook
* Update index.tsx
* Update index.tsx
* Update index.tsx
5 years ago
骗你是小猫咪
21bd9444f4
test: use azure deploy ui test report site ( #24327 )
* test: use azure deploy ui test report site
* parallel stage
* continueOnError
* fix continueOnError position
* use github comment
* failed
* fix artifact name
* add download path
* ls files
* fix path download
* Install modules
* update snapshot image
* test: docker compose run test image
* use docker
* use docker update snapshots
* remove unused dep
* improve github comment and add doc
* fix azure script
* test faild condition
* improve pass comment
5 years ago
偏右
1bba2ef65e
chore: Delete netlify.toml and update devDeps ( #24343 )
* Delete netlify.toml
* 🆙 upgrade dev deps
* fix mockdate tsd
* fix tsc noEmit
5 years ago
骗你是小猫咪
8d0bba4dea
test: 🚀 New Image Snapshots ( #24003 )
* test: New Image Snapshots
* circleci apt-get some lib
* fix command
* set CircleCI NODE_ENV
* new test:image
* upgrade jest-image-snapshot
* needs dist
* use jest html report
* use now deploy
* fix deploy skip
* set token
* upgrade version
* change if
* improve imageTest
* print node version
* revert puppeteer version
* fix now fail
* test
* fix now fail
* add if
* fix if
* add judgement
* fix action
* rebase
* fix test image script
* lint ignore
* fix lint fail
5 years ago
xrkffgg
dabec4c833
refactor(switch): rewrite with hook ( #23552 )
* refactor(switch): rewrite with hook
* fix: size
* fix
* fix test
* fix
* fix: size
5 years ago
Tom Xu
b7e877aeef
refactor(slider): rewrite with hook ( #23474 )
* refactor(slider): rewrite with hook
* improve test
* Revert "improve test"
This reverts commit 48cd83d0cc
.
* improve test
* improve test 2
5 years ago
Eric Wang
55265ac4ef
chore: Replace domhook with jest.spyon ( #23469 )
* chore: Replace domhook with jest.spyon
* use mockreturn value when possible
* Update tests/shared/focusTest.js
5 years ago
Eric Wang
7bc3d4f222
chore: Refactor the button test to use typescript ( #22953 )
* Refactor the button test to use typescript
* update tsconfig.json
* Change file name as a workaround
* update antd-tools
5 years ago
Eric Wang
095e21220f
chore: Introduce customer jest match to support matchRenderedSnapshot ( #22947 )
* Introduce customer jest match to support matchRenderedSnapshot
* lint:tsc stop emiting
5 years ago
偏右
49b7a0ccd2
test: Increase Slider and Input test coverage ( #21364 )
* ✅ Add test case to Slider
* increae cov and make hidden textarea works with screen readers
5 years ago
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
5 years ago
二货机器人
407a41a142
feat: New Picker ( #20023 )
* init generate
* basic style
* basic panel style
* update mode panel style
* update style
* generate More picker
* default clear icon
* chore: Update separator type
* feat: Add ranged start & end className
* update range style
* Add transition effect
* support size config
* adjust range style
* chore: Auto fill time by showTime
* auto set time by format
* update disabled style
* update seperator style
* ranges style
* support extra footer style
* remove useless test case
part is not usable anymore
part is already tested in rc-picker
* init calendar
* all demos
* fix calendar basic test
* fix time-picker test case
* update snapshot
* fix tooltip test case & lint
* fix locale & style lint
* fix compile
* fix style
* fix style lint
* fix calendar style
* update rc-picker version
* adjust style
* move picker placeholder into locale file
* update snapshot
* add hover style
* update picker version
* fix icon position & style
* update picker version
* update deps for pading
* fix: align of suffix
* feat: Year & Month support range effect
* adjust range style to support up-down placement
* update rc-picker
* update range picker style
* adjust extra footer line style
* update snapshot
* fix: Locale error
* fix: style lint
* fix: add missing button style deps
* update test case
* fix firefox additional white line style issue
* rollback demo
* fix ff additional blue color
* docs: Remove placeholder in demo
* rangepicker ranges is tag now
* connect start / end background color with picker range
* update deps
* update deps for fixing blur text issue
* hide start-end demo
* range hover style update
* hover range with ranged value
* black magic of inner hover style
* hover style of range adjust
* fix css select miss hit on DatePicker
* remove one eslint rule
* fade range hovered color
* week should alway not show the cell selection
* update style of selection
* update snapshot
* fix style
* add margin back
* update rc-picker deps
* update date & time picker & form style
* fix disabled demo & update form style
* update docs about allowEmpty
* hide arrow in time range picker
* add hover & focused style
* fix lint
* fix style & update snapshot
* raise disabled selector proirity
* fix disabled today border color
* extra footer provides an bottom line
* time picker hover support transition background
* add padding style
* fix Firefox not correct calculate inline-flex
* fix style
* fix week picker missing today border color
* rm useless padding
* Force padding to 0
* test coverage
* dedup eslint rule
* adjust logic to imporve coverage
* fix render cell logic
5 years ago
afc163
c083d13fc4
✅ fix test cases
5 years ago
二货机器人
2ea28af6ed
Virtual select component ( #18658 )
* init
* fix firefox
* add active style
* adjust arrow style
* update select
* update icon logic
* render empty
* init multiple
* fix ff display style
* sync font size
* adjust padding style
* add padding
* padding it
* hotfix of chrome
* single sm
* multiple size
* update option group style
* update snapshot
* clean up transition
* rm combobox in ts define
* auto complete init
* fix auto option def
* update demo
* update demo
* update uncertain demo
* update demo
* warning if user set `size` on AutoComplete
* add debug demo
* updat demo
* update demo of disabled
* update snapshot
* rm useless test
* fix pagination test
* fix Table test
* fix calendar test case
* fix calendar test case
* adjust style
* add big data demo
* support clean up
* fix ts define
* fix lint
* fix demo lint
* fix style lint fix
* rm useless deps
* update snapshot
* stop mock
* add space
5 years ago
afc163
a51f7a0508
✅ test unmount
5 years ago
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
6 years ago
zombieJ
7f6d7730e0
update jest & antd-tools & bisheng-plugin-antd ( #14659 )
* update deps
* update test case
* update bisheng
* set 'aria-controls' to '' to keep jest sync
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombiej
19f3b6e954
add aria wrapper
6 years ago
Wei Zhu
edbbaac5f9
Fix date mocking
new Date returns a UTC time in node
Close #9743
7 years ago
Wei Zhu
46b45acb12
Remove babel-plugin-add-module-exports ( #8888 )
7 years ago
Wei Zhu
9678d3fcfd
Focus && blur support ( #8204 )
* Add test for select
* Add focus() and blur() for AutoComplete
* Add focus() and blur() to Cascader
* Add focus test for input
* Add focus() and blur() for Checkbox
* Add focus() and blur() for Radio
* Add focus() and blur() for Switch
* Add blur() for TimePicker
* Add focus() and blur() to TreeSelect
7 years ago
Wei Zhu
d0c115da5e
Don't need renderToJson anymore
8 years ago
Benjy Cui
36a4304de4
style: update code style for test case
8 years ago
Wei Zhu
206a327ade
Fix tests
1. run all same demo test on node as jsom
2. mock date
3. create a setup file for common settings
4. skip breadcrumb router demo test
8 years ago
afc163
e089f39048
fix ci timezone
8 years ago
afc163
f6f63606ea
fix test snap via mocking Date.now
8 years ago
Wei Zhu
d20572bdab
test: demo snapshot testing ( #3916 )
* Run snapshot testing against all demos
* Split demo tests
* ignore coverage folder
* Upgrade antd-demo-jest
* enable cache
* intergate with coveralls.io
* Add node test
* Set worker to 2
https://github.com/facebook/jest/issues/1742
* config coverage
* Set default supportServerRender to true
8 years ago