Commit graph

75 commits

Author SHA1 Message Date
Lars Brubaker
e2686cde08 Make the test count correct 2016-09-27 15:33:35 -07:00
Lars Brubaker
de12a5c8ba Finished print leveling test – fixed reset to defaults
Moved more things to settings key
Disabled end-user license agreement on Mac for now
2016-09-27 12:47:15 -07:00
Lars Brubaker
c3e57dcc3c Made a setup leveling test work 2016-09-26 15:59:29 -07:00
John Lewin
b4f75311bb Fix PrinterNameStaysChanged test
- Document AddTestResult calls with descriptions
2016-09-23 19:02:22 -07:00
John Lewin
9057eabc4d Fix RemoveAllMenuItemClickedRemovesAll test 2016-09-23 14:18:27 -07:00
Lars Brubaker
17af0bd27f Getting old tests to pass 2016-09-23 13:35:21 -07:00
Lars Brubaker
e2215ae097 Fixed a test
removed redundant test
2016-09-23 09:42:55 -07:00
Lars Brubaker
c14adc9365 more tests passing 2016-09-22 14:57:16 -07:00
Lars Brubaker
c3d96b6601 Working on Queue done button working test (+2 squashed commit)
Test that MatterControl vanilla actually stars up
Finished the resume print test
Set backup to 0
Created a SwitchToAdvancedSettings function
2016-09-22 12:35:34 -07:00
John Lewin
020964ec4d Change assignment statements to conditionals
- Expose test false positives, failing tests need fixed
2016-09-22 12:11:16 -07:00
John Lewin
0ac3ac311d Switch to RequiresSTA replacement attribute
- Add SetCompatibleWorkingDirectory to consistently change working directory
2016-09-21 15:34:53 -07:00
John Lewin
ee52f24835 Upgrade to NUnit3
- Revise hard-coded paths for compatibility with new VS adapter
- Add utility functions for path generation
- Extract SHA1 computation from Save function
- Add ToJson helper function
- Don't save SHA1 in computed document
- Remove Asserts from CloseMatterControl, extend wait period
- Add TestAutomationConfig type replacing serialized Dictionary
2016-09-21 14:13:39 -07:00
Lars Brubaker
c113aba7d9 Making test passed take a count 2016-09-19 17:13:11 -07:00
Lars Brubaker
cb3d518d35 Made the emulator parse commands better (temps)
Made LaunchAndConnectToPrinterEmulator
Working on pause on layer test
Updated version to 1.6
2016-09-19 14:47:00 -07:00
Lars Brubaker
552f44fef1 Fixing tests 2016-09-14 14:09:57 -07:00
Greg
0451a27fae Made improvements to printer name change test
Now we check the printer dropdown list to make sure it gets updated with the name change.
2016-09-13 17:06:44 -07:00
Greg
2efe180ae7 Test: Editing printer name changes droplist and persists
MatterHackers/MCCentral#381
2016-09-13 12:58:07 -07:00
Greg
2ceda33d62 Fixed Downloads provider automated tests
MatterHackers/MCCentral#286
Pre-pended "-" to Temporary folder created in Download provider tests. Temporary folder
now shows up as the first Downloads item in list.
2016-09-13 12:58:07 -07:00
Lars Brubaker
d93ae17eca Fixing tests 2016-09-13 11:12:13 -07:00
Matt Moening
1135271a9f Removed Public Profile tests from AutomationTests
- these were moved into MCCentral
2016-09-08 18:10:46 -07:00
Lars Brubaker
be1c5eaddf Made delete printer a function inside of MatterControl utilities
Re-factoring
2016-09-08 14:20:39 -07:00
Lars Brubaker
cd27388ad5 Test that printers delete on guest profile 2016-09-07 17:00:17 -07:00
Lars Brubaker
014ea6e75c Got the remaining automation tests running 2016-09-06 16:36:25 -07:00
Lars Brubaker
ac8f6892fe Fixing test in consideration of there is always a single queue item. 2016-09-06 15:31:41 -07:00
John Lewin
312f652bbb Use short identifiers for public profiles
- Add support for new GetProfileList schema
- Add CacheablePath function to abstract and reuse path generation logic
- Serialize LoadCacheable content in human readable form
- Move public-profile cache into like named folder
- Move public-profile items into oem specific folders
- Reuse LoadOemProfileAsync for persistence instead of custom implementation
- Issues MatterHackers/MCWS#72, MatterHackers/MCWS#84
2016-09-03 17:12:11 -07:00
Lars Brubaker
2dadb72271 Changed Login -> Sign in & Logout -> Sign Out 2016-08-29 17:13:45 -07:00
Lars Brubaker
7981513b6e Adding in the ability to turn on and off thin line code
Sorted some settings lists
Put in minimum thin line width option
Clean thin line output
2016-08-26 12:13:39 -07:00
Lars Brubaker
98c114f79b Got the check and uncheck of reload ui settings to work
Wrote a test
Added heat_extruder_before_homing
2016-08-25 17:43:30 -07:00
Lars Brubaker
d18c8cfcb3 New test for has_fan 2016-08-24 15:53:46 -07:00
Lars Brubaker
4f97c20891 Upgraded Newtonsoft.Json 2016-08-16 14:28:15 -07:00
Lars Brubaker
0f2b715935 Making less calls to reload all
New function ReloadLibraryUI
Called when updating purchased and shared folder
2016-08-08 17:17:59 -07:00
Lars Brubaker
ccdb90cb7f A few more tests passing. 2016-08-02 09:47:26 -07:00
Lars Brubaker
4fdf8ff278 Made another test pass 2016-08-01 17:48:08 -07:00
Lars Brubaker
dc22e6b788 Getting more tests to pass
Down to 7 failing tests.
2016-08-01 17:21:31 -07:00
Lars Brubaker
472b26ac34 Added a edit selected utility function. 2016-08-01 14:22:16 -07:00
Lars Brubaker
1340e875d3 Making the add to queue automation tests work again 2016-08-01 13:53:28 -07:00
Lars Brubaker
d8138ac51e Making a function to prep MatterControl prior to runing tests.
Made automation tests call it.
2016-07-29 16:44:00 -07:00
John Lewin
4ece8d18a7 Make LoadCacheable collector return instance of T rather than string
- Issue #1195, #1188
2016-07-26 13:22:24 -07:00
John Lewin
5d8070cdfd Add Load event to ApplicationController
- Extract code from Deserialize into ReloadOemProfiles
 - Wire up ReloadOemProfiles to Load event
 - Revert to lowercase oemprofiles.json filename
 - Issue #1179
2016-07-25 16:50:24 -07:00
Matt Moening
4d84b11706 Fixed Capitalization errors in oemProfiles.json 2016-07-25 15:56:03 -07:00
John Lewin
3e79fb6590 Make DownloadPrinterProfile async, move to MHWebServices
- Issue  MatterHackers/MCCentral#218
 - Rename function to DownloadPublicProfileAsync
2016-07-25 14:39:23 -07:00
John Lewin
2950df095d Disable breaking test, guard for null on public builds 2016-07-22 15:21:24 -07:00
John Lewin
c797c6e394 Fix broken RetrievePrinterProfileListWorking test
- Rename RetrievePrinterProfileListWorking to GetPublicProfileList
2016-07-22 15:01:24 -07:00
John Lewin
4871997976 Revise OemSettings.OemProfiles initialization for clarity, async
- Define OemProfileDictionary alias to clean up declarations
 - Unify StaticData and WebServices persistence format for OemProfiles
   - Delete allModels.json
   - Add oemprofiles.json
 - Simplify creation of list for SetManufacturers
 - Revise OemProfile loading for async, remove AutoResetEvent
 - Remove PublicProfilesRequest object
 - Use new async MHWebServices.GetPublicProfileList replacement
 - Execute OemProfiles assignment on the UiThread
2016-07-22 14:52:52 -07:00
Matt Moening
d96531152b converted oemprofiles to be .printer files and to be retrieved as such from various locations.
Updated to test to reflect the actions actually done by the request (not sure why they were not failing before)
2016-07-20 17:39:19 -07:00
Matt Moening
4bf95f8605 Loading printer profile now follows local cache fallback when offline 2016-06-27 12:41:08 -07:00
John Lewin
ca55930bf4 Revise PublicProfileRequests, make functional offline
- Add prototype for loading cacheable content
 - Make RetrievePrinterProfile test use public server
 - Expose JsonResponseDictionary on PublicProfilesRequest
2016-06-23 18:35:43 -07:00
Matt Moening
bc5ef8a5b3 Implemented MC side receive of Public Profile list and public profiles 2016-06-22 18:05:52 -07:00
Lars Brubaker
c5edde8edb Filter files from LibraryProviderFileSystem that have no extension. 2016-06-09 14:20:03 -07:00
John Lewin
c255e46032 Move automation tests to "MatterControl.UI.Automation" category
- Change namespaces to MatterHackers.MatterControl.Tests.Automation
 - Cleanup using statements
2016-05-11 09:16:03 -07:00