Commit Graph

247 Commits

Author SHA1 Message Date
Dave Pearson
6bdeba894c Update header-related snapshot
The underlying snapshot is different in content, but not in effect, which is
by design. See #1060.
2022-10-31 10:00:45 +00:00
Will McGugan
c5b2e6982e pass size as a parameter 2022-10-29 21:09:16 +01:00
Will McGugan
2afb00f5b3 test fix 2022-10-29 11:44:31 +01:00
Will McGugan
ac3d756e51 unmount event 2022-10-27 17:43:02 +01:00
Darren Burns
6be7895ecb Check some more widget state 2022-10-25 13:15:31 +01:00
Darren Burns
66d15d2a9e Remove unused snapshot 2022-10-25 12:11:15 +01:00
Darren Burns
1b19450779 Ensure consistent path in snapshot tests 2022-10-25 12:08:08 +01:00
Darren Burns
617f0acb99 Additional sleep after tabbing to guard vs races 2022-10-25 10:57:54 +01:00
Darren Burns
d02e6e94b0 Fix data-table snapshot 2022-10-24 15:16:47 +01:00
Darren Burns
041bb35014 Remove comments, simplify test 2022-10-24 14:51:40 +01:00
Darren Burns
9632e76159 Snapshotting Header widgets 2022-10-24 12:42:32 +01:00
Darren Burns
f09e5f7d9f Snapshot testing footer 2022-10-24 12:39:33 +01:00
Darren Burns
c6418e5e20 Snapshot testing data table, checkbox interactions 2022-10-24 12:14:52 +01:00
Darren Burns
e35291da33 Fix snapshots 2022-10-20 15:27:10 +01:00
Darren Burns
5d4ff6614f Snapshotting canonical style property examples 2022-10-20 15:26:01 +01:00
darrenburns
4a0dc49bca Checkbox polishing + fix auto-width in Horizontal layout (#942)
* checkbox widget

* fixes

* Checkbox additions, fix content width in horizontal layout

* Update docs, add tests for checkbox

* Remove some test code

* Small renaming of test class

Co-authored-by: Will McGugan <willmcgugan@gmail.com>
2022-10-18 15:17:44 +01:00
Darren Burns
fc3d1be583 Update snapshots - terminal titles have updated 2022-10-17 12:26:16 +01:00
Will McGugan
47abfe29c7 Test fix, query typing 2022-10-07 22:10:22 +01:00
Will McGugan
d962dcd49c new align 2022-09-27 16:35:40 +01:00
Will McGugan
a4ec843c05 update snapshot 2022-09-23 13:30:21 +01:00
Darren Burns
0c0f5cd384 Tidying up 2022-09-22 14:32:25 +01:00
Darren Burns
9e2500aeca Quick internal guide to snapshot testing 2022-09-22 14:15:52 +01:00
Darren Burns
cc352faf63 Formatting 2022-09-22 13:56:20 +01:00
Darren Burns
ee0eed9bcb Remove some unused CSS in snapshot report 2022-09-22 13:49:17 +01:00
Darren Burns
b5540caa33 Add toggle for overlay mode 2022-09-22 13:48:17 +01:00
Darren Burns
8db7a07eef Force legacy_windows to False in Textual 2022-09-21 15:35:16 +01:00
Darren Burns
04a513ff9f Add debug info 2022-09-21 15:18:53 +01:00
Darren Burns
644922c829 Write snapshot file as utf-8 2022-09-21 11:45:16 +01:00
Darren Burns
1a658955da Reenable artifacts on windows 2022-09-21 11:37:16 +01:00
Darren Burns
6a63ffbff9 Make output dir if not exists 2022-09-20 17:34:50 +01:00
Darren Burns
56b7ec70b8 Change write mode 2022-09-20 17:12:52 +01:00
Darren Burns
26fb89005c Skip artifact creation/upload on Windows 2022-09-20 16:44:18 +01:00
Darren Burns
7e72cf1d28 Update snapshots 2022-09-20 15:46:43 +01:00
Darren Burns
0ce222d259 Remove redundant info from docstring 2022-09-20 15:34:15 +01:00
Darren Burns
2bed87f2ee Run black on snapshot_tests/conftest 2022-09-20 15:31:48 +01:00
Darren Burns
29da6badfd Use type hints and add docstring to snap_compare 2022-09-20 15:29:42 +01:00
Darren Burns
0978eb5161 Remove snapshot_report from git 2022-09-20 15:24:24 +01:00
Darren Burns
863998173d Remove unused pytest hookimpl 2022-09-20 15:20:34 +01:00
Darren Burns
cdd2c01a75 Fix type imports from pytest 2022-09-20 15:19:56 +01:00
Darren Burns
4a4eeb503a Most different snapshots first 2022-09-20 15:14:23 +01:00
Darren Burns
8f64e36caa Small tidy up 2022-09-20 15:13:37 +01:00
Darren Burns
c82a143f0e Snapshot tests output directory ignored 2022-09-20 15:11:19 +01:00
Darren Burns
a871e272b7 Update pre-commit-config to exclude snapshot tests 2022-09-20 14:58:32 +01:00
Darren Burns
c9cdb9746b Fix off by one 2022-09-20 14:49:00 +01:00
Darren Burns
0cd5c0a298 Merge branch 'css' of github.com:willmcgugan/textual into snapshot 2022-09-20 14:46:37 +01:00
Darren Burns
13b27e1fa3 Updates 2022-09-20 13:48:35 +01:00
Darren Burns
d619dae510 Snapshot testing progress 2022-09-16 16:28:48 +01:00