Commit Graph

785 Commits

Author SHA1 Message Date
Rodrigo Girão Serrão
60faf9f8e2 Fix xfail usage. 2023-01-20 14:47:41 +00:00
Rodrigo Girão Serrão
58ad2cb150 Add regression test for #1616. 2023-01-20 14:27:30 +00:00
Will McGugan
8e06312e18 added text property 2023-01-19 15:29:50 +00:00
Will McGugan
8cc41a1357 remove except 2023-01-19 14:18:40 +00:00
Will McGugan
8ef1e5c626 tests 2023-01-19 14:05:04 +00:00
Darren Burns
602813b0d2 Increase sleeping time in DataTable test 2023-01-18 15:21:55 +00:00
Darren Burns
8367d1c9b4 Merge branch 'main' of github.com:willmcgugan/textual into datatable-clear-cursor 2023-01-18 15:16:15 +00:00
Will McGugan
518783a2b1 added test 2023-01-18 14:51:50 +00:00
Darren Burns
7e75f6e13b Small refactor of DataTable, additional testing around message emission 2023-01-18 14:43:49 +00:00
Darren Burns
15392b9091 Add DataTable medium-sized test for clearing 2023-01-18 13:19:45 +00:00
Dave Pearson
7d307f902c Sprinkle some pauses in the ListView tests
The new ListView tests have been failing randomly in CI. Sprinkle some
pauses to allow keys to be processed so see if this helps some.
2023-01-18 12:31:13 +00:00
Will McGugan
939f49d1cd Merge pull request #1600 from davep/allow-inherit-listview
Allow populating a child class of `ListView` purely from its `compose`
2023-01-18 03:50:06 -08:00
Dave Pearson
76272bcefe Extend ListView test to test an empty inherited list
For testing permutations of #1588.
2023-01-18 10:42:42 +00:00
Dave Pearson
9dede19a1f Add a test for inheriting from a ListView
Added to test the fail in #1588. Any fix for this should cause this test to pass.
2023-01-18 10:27:58 +00:00
Will McGugan
5fad4ad36c Merge branch 'main' into datatable-events 2023-01-18 01:46:21 -08:00
Will McGugan
c87711ca0d Merge pull request #1551 from Textualize/fix-1420
Raise clearer exception when `none` is in a space-separated list of text styles.
2023-01-17 10:05:27 -08:00
Rodrigo Girão Serrão
9c7a949093 Merge pull request #1595 from Textualize/fix-1196-add-focus-selector
Fix 1196 add focus selector
2023-01-17 16:48:34 +00:00
Will McGugan
e32344615a Added test 2023-01-17 15:19:40 +00:00
Rodrigo Girão Serrão
4963f62893 Use focusable widgets in tests. 2023-01-17 15:02:09 +00:00
Rodrigo Girão Serrão
ed1f7331d8 Add focus tests. 2023-01-17 14:56:45 +00:00
Rodrigo Girão Serrão
12f272d507 Fix tests.
I misread the original app hierarchy and was trying to focus something that can't be focused.
2023-01-17 14:56:35 +00:00
Darren Burns
e1de10d21a Pause after input test 2023-01-17 14:26:16 +00:00
Darren Burns
36bf162847 Snapshot tests for column and row cursors in DataTable 2023-01-17 14:17:25 +00:00
Rodrigo Girão Serrão
56f339db20 Add failing tests. 2023-01-17 12:26:03 +00:00
Rodrigo Girão Serrão
2b9cd81ca5 Cleanup and new test. 2023-01-17 10:29:19 +00:00
Darren Burns
b4f2da025a Add pause after datatable snapshot test 2023-01-16 16:40:01 +00:00
Darren Burns
92ccf84496 Some updates to test_reactive 2023-01-16 11:06:13 +00:00
Darren Burns
fa1f33ff64 Remove a sleep that is no longer required in reactive test 2023-01-16 11:02:38 +00:00
Darren Burns
65223be8be Merge branch 'main' of github.com:Textualize/textual into datatable-events 2023-01-16 11:00:10 +00:00
Darren Burns
62c05f7fbc Update datatable snapshot - hover cursor no longer shown 2023-01-16 10:01:02 +00:00
Will McGugan
974a0b8020 Merge branch 'main' into fix-1399 2023-01-15 02:43:41 -08:00
Will McGugan
2468a8ca83 Merge pull request #1555 from Textualize/rodrigogiraoserrao-patch-1
Fix tests: await all mounts before checking rendered values
2023-01-15 02:30:41 -08:00
Will McGugan
6063b0c9b2 remove comment [skip ci] 2023-01-13 21:17:19 +00:00
Will McGugan
6af2b61fc7 watching computed 2023-01-13 20:56:33 +00:00
Will McGugan
c3129c8331 fix inheritance 2023-01-13 17:22:52 +00:00
Rodrigo Girão Serrão
7e428e2f4c fix tests: await all mounts. 2023-01-13 10:58:57 +00:00
Will McGugan
8f0f0d8c12 refactor 2023-01-13 10:44:13 +00:00
Will McGugan
027635b978 merge 2023-01-12 17:45:36 +00:00
Rodrigo Girão Serrão
feb8591e72 Fix test: await widget mount before focusing
Follow-up to #1548
2023-01-12 16:11:36 +00:00
Rodrigo Girão Serrão
510df0c375 Merge branch 'main' into fix-1399 2023-01-12 15:50:06 +00:00
Rodrigo Girão Serrão
a3e54323d9 Make methods private. 2023-01-12 15:48:49 +00:00
Rodrigo Girão Serrão
ab0d9d569e Merge pull request #1548 from Textualize/fix-1477
Improve `Input` view position calculation
2023-01-12 15:13:03 +00:00
Rodrigo Girão Serrão
dd478dd249 Make list_view snapshot test pass more reliably 2023-01-12 15:00:56 +00:00
Rodrigo Girão Serrão
dc318b8c93 Update tests. 2023-01-12 14:39:05 +00:00
Rodrigo Girão Serrão
c2f289e472 Add failing test. 2023-01-12 10:58:14 +00:00
Rodrigo Girão Serrão
0bc10f0ec4 Add regression tests. 2023-01-11 19:15:10 +00:00
Rodrigo Girão Serrão
d966665345 Address review comments. 2023-01-11 16:05:44 +00:00
Rodrigo Girão Serrão
f5d8de4194 Add test for COMPONENT_CLASSES inheritance. 2023-01-11 15:09:14 +00:00
Dave Pearson
d0ea967aa4 Merge branch 'get-treenode-by-id' of github.com:davep/textual into get-treenode-by-id 2023-01-10 15:30:12 +00:00
Dave Pearson
494c63a72b Tweak the unknown node ID exception
See https://github.com/Textualize/textual/pull/1535#discussion_r1065904713
and https://github.com/Textualize/textual/pull/1535#discussion_r1065909144
2023-01-10 15:28:17 +00:00