larsbrubaker
541e4ef7b1
Fixed the test that had not been updated
2016-12-04 12:26:04 -08:00
Lars Brubaker
23061f51cb
Make AddAndSelectPrinter more stable
2016-12-02 15:44:12 -08:00
John Lewin
d4196b7b64
Fix failing QueueThumbnailWidgetOpensPartPreview test
2016-12-01 15:02:49 -08:00
John Lewin
0cabc4af74
Modify ClickByName automation helper to throw if not found
2016-12-01 13:25:17 -08:00
John Lewin
47c2d418b0
Revise failing RemoveAllMenuItemClickedRemovesAll test
...
- Use AreEqual for troubleshooting
2016-11-05 12:00:18 -07:00
John Lewin
0dfc3b2067
Revise failing test - DoneButtonTurnsOffEditMode
2016-11-04 07:17:59 -07:00
John Lewin
e6162a209e
Revise failing test - RemoveButtonRemovesSingleItem
...
- Latest Agg
2016-11-03 17:01:27 -07:00
John Lewin
4a48e2d2b3
Disable broken automation test, fix typo
2016-11-03 09:13:18 -07:00
John Lewin
362b269dff
Use single string for control names
2016-11-03 08:46:08 -07:00
John Lewin
e739926617
Revise CopyButtonMakesACopyOfPartInTheQueue
...
- Add Assert messages for troubleshooting
- Wait for expected conditions
2016-11-02 11:32:40 -07:00
John Lewin
5862ecef36
Revise SendMenuItemClickedNoSignIn
...
- Rename test to reflect actual behavior
- Add Assert messages for troubleshooting
- Add fixed wait times for menu clicks
2016-11-02 10:57:58 -07:00
John Lewin
c1d0e37b71
Revise ExportToZipMenuItemClicked
...
- Rename test
- Use Assert.AreEqual for clarity
- Add Assert messages for troubleshooting
- Wait for expected condition rather than fixed duration
- Use correct comments format
- Attempt file cleanup inside of a try/catch and ignore failures
2016-11-02 07:48:39 -07:00
John Lewin
ffd95dd2f3
Revise CopyButtonMakesCopyOfPart
...
- Move variable declaration to block start
- Use .Count instead of .Count()
- Revert accidental wait for 13 seconds to 3 seconds
- Fix compile issue
- Fix typo
2016-11-02 07:02:19 -07:00
John Lewin
56ef92ab91
Collapse PrepForTestRun(mode) into new CloseSignInAndPrinterSelect()
2016-10-26 09:03:46 -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
Lars Brubaker
aafc037582
updated me3d printer (also up in release data).
2016-10-12 16:55:02 -07:00
John Lewin
f53f8f2a1b
Convert disabled tests to FixNeeded category
2016-10-04 18:49:36 -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
Lars Brubaker
c113aba7d9
Making test passed take a count
2016-09-19 17:13:11 -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
Lars Brubaker
2dadb72271
Changed Login -> Sign in & Logout -> Sign Out
2016-08-29 17:13:45 -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
Greg
78710d7a76
Added tests for Save As from PartPreview to the Queue
2016-03-01 18:19:28 -08: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
John Lewin
9a5d872486
Automation updates
...
- Revise skirt_distance label per support team
- Remove CreateInstance(showWindow) out variable
- Remove embedded tools requiring showWindow out variable
- Remove queueItemFolderToAdd variable/parameter
- Change AfterFirstDraw event to null conditional invoke
- Removed unused AutomationTest from MatterControlApplication
- Refactor for style consistency and document new methods
- Change queueItemFolderToAdd type to custom enum to ensure optional parameters are not mixed up
- Ensure TestExportZip file is deleted before attempting export
2015-12-22 13:06:47 -08:00
John Lewin
879a2856d3
Extract automation tests to a separate assembly to ensure isolation/clean startup
...
- Fall back to English if translation data is missing, rather than crashing
- Dump test name to console when running test harness to troubleshoot hangs
2015-12-13 17:29:01 -08:00