Commit graph

38 commits

Author SHA1 Message Date
Lars Brubaker
32a192c2b8 Upgrading to .net 6 2022-07-15 17:28:39 -07:00
LarsBrubaker
d59b872737 fixing tests 2022-02-06 18:32:08 -08:00
Lars Brubaker
b1f2023210 Getting more tests to run on new ui 2018-10-10 13:34:18 -07:00
John Lewin
c3f55a40fd Add reusable CreateChildFolder method 2018-10-05 14:21:55 -07:00
Lars Brubaker
f3bd927692 attempting to fix agg test failures (#41) 2018-04-30 15:40:47 -07:00
John Lewin
d641f370c3 Add unsaved changes 2018-04-07 11:33:48 -07:00
John Lewin
d72772f62c Update tests to redirect to new menu items 2018-04-07 11:21:02 -07:00
John Lewin
f7697d37c7 Revise DownloadsAddButtonAddsZipFiles test 2017-12-15 12:09:47 -08:00
John Lewin
637449e288 Fix breaking issues with Download tests 2017-12-08 19:21:46 -08:00
John Lewin
274b7d8549 Eliminate false positives, remove try/catch, use setup/teardown 2017-12-08 19:21:46 -08:00
John Lewin
45dc43c796 Remove fixed Dialog wait times, use CompleteDialog helper 2017-12-08 19:21:45 -08:00
John Lewin
0f9b5eda21 Use CompleteDialog helper 2017-12-08 19:21:45 -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
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
1109b7b4ab Remove timeout from ClickByName 2017-06-14 11:13:39 -07:00
John Lewin
f7dba678cd Use new Task.CompletedTask result for clarity 2017-06-04 08:35:29 -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
Lars Brubaker
19d22ce91d Refactor wait to delay 2017-02-01 10:12:31 -08:00
John Lewin
56ef92ab91 Collapse PrepForTestRun(mode) into new CloseSignInAndPrinterSelect() 2016-10-26 09:03:46 -07:00
John Lewin
13067e1602 Convert NavigateToFolder to a TestRunner extension method 2016-10-26 06:49:50 -07:00
John Lewin
c72c8d8fc6 Revise Agg automation
- Remove per test classes
- Migrate RunInApplicationDomain attributes to TextFixture
- Convert from Action<AutomationRunner> to AutomationTest delegate
- Convert testRunner.AddTestResult to Assert.IsTrue
- Remove testRunner.AllTestPassed(n) - use Asserts
- Add return Task.FromResult(0) for non-async test method bodies
- Upgrade NUnit.ApplicationDomain to v10
2016-10-25 07:38:48 -07:00
John Lewin
4d3f5d2521 Move CloseMatterControl responsiblity outside of TestMethod
- Behavior is now invoked in parent RunTest call
2016-10-19 12:06:31 -07:00
John Lewin
28699c9197 Remove defaultTestImages parameter
- Leave as null, fall back to default on null
2016-10-19 11:49:52 -07:00
John Lewin
e216457ef5 Remove excess blocks 2016-10-19 11:10:30 -07:00
John Lewin
8f8d0e5b30 Consolidate AutomationTesterHarness into AutomationRunner
- Remove AutomationRunner construction from test bodies
- Pass AutomationRunner into test method
2016-10-19 07:44:09 -07:00
John Lewin
29a77104ab Attempt to delete Downloads subdirectory, suppress error on fail
- Possible fix for Automation Tests 'file access' error
2016-10-04 16:25:39 -07:00
John Lewin
9d57b6435e Clean up failing LibraryDownload tests
- Move all tests into one class
- Only apply RunInApplicationDomain to test
- Add descriptions on AddTestResult calls to improve troubleshooting
2016-09-30 16:04: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
Lars Brubaker
c113aba7d9 Making test passed take a count 2016-09-19 17:13:11 -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
dc22e6b788 Getting more tests to pass
Down to 7 failing tests.
2016-08-01 17:21:31 -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
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
Gregory Diaz
ebd10c395f Added more FileSystemProvider tests and refactored old code so that it is more readable 2016-01-13 17:02:41 -08:00
Gregory Diaz
c866d06b83 Added method to select and add printer for automated slicing tests 2016-01-13 10:26:17 -08:00
Gregory Diaz
5a1cd1b974 Added Automated unit tests for Exporting GCode from the Downloads folder and for adding zip files to the Downloads Folder I flagged it to be Ignored currently but they are nearly done 2015-12-31 12:57:00 -08:00
Gregory Diaz
da851a7f6a Added test tools for running Library Downloads unit tests and added two unit tests 2015-12-29 18:26:00 -08:00