Commit graph

74 commits

Author SHA1 Message Date
John Lewin
0758361f0f Revise helper for reuse, allow caller to override target folder
- Use IEnumerable<string> instead of params to support target folder
2018-11-02 07:35:26 -07:00
Lars Brubaker
b1f2023210 Getting more tests to run on new ui 2018-10-10 13:34:18 -07:00
John Lewin
95ed6cc64f Add failing test for expected behavior
- Issue MatterHackers/MCCentral#4249
Parent library container shows stale view when popped
2018-10-05 14:24:43 -07:00
John Lewin
c3f55a40fd Add reusable CreateChildFolder method 2018-10-05 14:21:55 -07:00
John Lewin
34a9ef72cc Delete tests of removed behavior
- Add to queue removed from library menu, should not be tested
2018-05-16 15:08:34 -07:00
John Lewin
e62e53f3b0 Account for new Library container b4 calibrate/library/queue tests
- Issue MatterHackers/MCCentral#3300
Many tests failing due to moved library containers
2018-05-04 13:09:59 -07:00
John Lewin
d72772f62c Update tests to redirect to new menu items 2018-04-07 11:21:02 -07:00
John Lewin
3091128c1a Add zip support to SqliteContainer
- Issue MatterHackers/MCCentral#2814
Investigate LocalLibraryAddButtonAddZipToLibrary failure
2018-02-10 00:12:48 -08:00
John Lewin
2d4282c801 Rename Delay<Func> to WaitFor<Func> for clarity 2017-12-15 20:25:07 -08:00
John Lewin
7612bff472 Latest MatterControl 2017-12-08 15:39:40 -08:00
John Lewin
7227ed3889 Use new control name
- Issue MatterHackers/MCCentral#2141
Investigate RenameButtonRenameLocalLibraryItem failure
2017-10-30 16:15:57 -07:00
John Lewin
d277290497 Convert RenamePage into reusable InputBoxPage, use for Create Folder
- Allow WizardPage objects to control window Width & MinimumSize
- Issue MatterHackers/MCCentral#2086
Invalid button styling - custom window type rather than WizardPage
2017-10-17 12:37:39 -07:00
John Lewin
882a389495 Fix listview selection duplication bug
- Issue MatterHackers/MCCentral#2022
Investigate AddToQueueFromLibraryButtonAddsItemsToQueue regression
2017-10-01 23:17:51 -07:00
Lars Brubaker
41378d2286 Getting more tests passing 2017-08-30 13:42:11 -07:00
Lars Brubaker
02a9baf464 Move the folders back into main view
Got lots more tests passing
2017-08-29 18:14:42 -07:00
John Lewin
82b07f3237 Add NavigateToLibraryHome test helper 2017-06-18 10:02:34 -07:00
John Lewin
1521e56875 Assert.IsFalse(WaitForName) should use short timeout rather than default 2017-06-17 18:51:24 -07:00
John Lewin
43656d4501 Use WaitForName defaults 2017-06-14 14:02:29 -07:00
John Lewin
1109b7b4ab Remove timeout from ClickByName 2017-06-14 11:13:39 -07:00
John Lewin
5cbcee976e Convert LibraryRemoveSelectedItem to extension method 2017-06-06 18:52:13 -07:00
John Lewin
11e3ca8a6e Revise RemoveButtonRemovesMultipleItems test
- Fix product bug with PrintQueueContainer failing to reload
- Add test helper to select ListView items
- Reuse test helper
- Iterate on .OfType instead of cast and eval
2017-06-06 18:42:44 -07:00
John Lewin
f7dba678cd Use new Task.CompletedTask result for clarity 2017-06-04 08:35:29 -07:00
John Lewin
9a91ddf219 Add and reuse utility function for adding test assets to library
- Allows test body to focus on code being tested
- Ensures consistency in adding assets to library
- Exposes how Fennec part differs from others due to renaming behavior
2017-06-04 08:25:21 -07:00
John Lewin
9a2cfce941 Retire PrintLibraryItem test
- No longer expected to have specified items, indexes or ActivePrint
2017-06-03 16:47:26 -07:00
John Lewin
b8be0006ce Retire LibraryItemThumbnailClickedOpensPartPreview test 2017-06-03 16:43:20 -07:00
John Lewin
4452c85c2b Revise AddToQueueFromLibraryButtonAddsItemsToQueue test 2017-06-03 16:40:00 -07:00
John Lewin
add70a2f90 Revise AddToQueueFromLibraryButtonAddsItemToQueue test
- Restore Add To Queue functionality
- Expose reusable AddAllItems() to PrintQueueCollection
- Revise base implementation of FileSystemItem to support default
  name based on filename unless set
2017-06-03 16:18:09 -07:00
John Lewin
ba754dba19 Revise RemoveButtonClickedRemovesSingleItem test 2017-06-03 15:46:34 -07:00
John Lewin
4635831e9c Revise RemoveButtonClickedRemovesMultipleItems test 2017-06-03 15:45:26 -07:00
John Lewin
9da06eb5df Retire ClickLibraryEditButtonOpensPartPreviewWindow test 2017-06-03 15:32:08 -07:00
John Lewin
dd9e2d30b5 Revise RenameButtonRenamesLocalLibraryFolder test
- Restore support for LocalLibrary -> Create Folder
- Share Selection logic between Row/Icon views
- Make folders selectable
- Improve naming of DirectoryContainerLink
2017-06-03 15:11:12 -07:00
John Lewin
ce6a3834fc Fix LibrarySelection -> Rename
- RenameButtonRenameLocalLibraryItem test passing
- Get LibrarySelection->Remove action to compile after refactoring
- Make LibraryRenameSelectedItem an extension method and update callers
2017-06-03 13:31:07 -07:00
John Lewin
fc84f30333 Expand zips on add to Sqlite, fix test
- LocalLibraryAddButtonAddZipToLibrary test passing
2017-06-03 09:46:02 -07:00
John Lewin
aa736b25cc Revise LocalLibraryAddButtonAddAMFToLibrary test 2017-06-03 09:22:39 -07:00
John Lewin
3a9c257ab2 Revise LocalLibraryAddButtonAddsMultipleItemsToLibrary test 2017-06-03 09:18:10 -07:00
John Lewin
d54f651b42 Restore classic SqliteLibrary item naming behavior, get test passing
- LocalLibraryAddButtonAddSingleItemToLibrary passing
2017-06-03 09:03:02 -07:00
John Lewin
b0957cdd13 Return emulator from helper function, remove casts to Emulator
- Use variable name that reflects type
2017-06-02 19:57:15 -07:00
Lars Brubaker
ec7ad5ca1a Fixed the library print test to not hang 2017-04-11 11:51:21 -07:00
Lars Brubaker
19d22ce91d Refactor wait to delay 2017-02-01 10:12:31 -08:00
Lars Brubaker
83832c77e1 Made the emulator track and report position
Made a failing test for print leveling working
2017-01-10 17:20:24 -08:00
Lars Brubaker
df4cf416d8 Put back in the dispose 2017-01-10 13:43:12 -08:00
Lars Brubaker
fe80c09668 Took out old emulator and put in a new c# one 2017-01-10 12:24:01 -08:00
John Lewin
b49b4b8c7e Reduce hard-coded test wait times, use initial dialog to add printers 2016-12-12 17:33:02 -08:00
John Lewin
12bfe38519 Validate PrinterConnectionAndCommunication active item matches 2016-12-07 14:34:23 -08:00
John Lewin
153686968f Add PrintLibraryItem test, suppress Process.Kill exceptions 2016-12-07 13:21:53 -08:00
larsbrubaker
541e4ef7b1 Fixed the test that had not been updated 2016-12-04 12:26:04 -08:00
John Lewin
8997aa3d21 Revise failing RenameButtonRenamesLocalLibraryFolder test 2016-11-05 11:48:08 -07:00
John Lewin
e923d8c211 Remove fixed wait time, wait for ReloadAll, fix typos 2016-11-05 11:30:52 -07:00
John Lewin
362b269dff Use single string for control names 2016-11-03 08:46:08 -07:00
John Lewin
ff3ee5dd78 Revise RemoveButtonClickedRemovesMultipleItems
- Add Assert messages
  - Migrate varname details to message arg to assist in troubleshooting
- Eliminate superfluous variables
- Use correct comments format
2016-11-01 23:27:08 -07:00