Commit graph

62 commits

Author SHA1 Message Date
LarsBrubaker
d6cb1f15d1 fixing test 2020-08-29 23:05:40 -07:00
jlewin
18a1ccfaa2 Ensure actions causing ReloadAll are wrapped in WaitForReloadAll 2019-04-30 16:45:29 -07:00
jlewin
4939481a8d Fix failure message 2019-04-30 16:44:53 -07:00
jlewin
d6c2b5ef97 Satisfy non-empty bed requirement 2019-04-30 16:44:33 -07:00
jlewin
b16ca2245c Rename leveling test 2019-04-30 16:44:08 -07:00
jlewin
f6f8dc9209 Migrate openAdvanced/pauseAtLayer behavior to StartPrint 2019-04-30 16:00:23 -07:00
jlewin
2704cf8f50 Remove no longer applicable FilamentLoaded workaround
- Requirement removed, automatic behavior undesired and causes delay
2019-04-30 14:30:50 -07:00
John Lewin
64ffe63629 Revise control validation and test timeout 2019-04-15 21:05:19 -07:00
John Lewin
c7d6c9b75a Revise tests to account for new "Finish Setup Button" location
- Add infrastructure to find and set new button identifier
- Issue MatterHackers/MCCentral#4902
Investigate failing PulseRequiresLevelingAndLevelingWorks test
2019-01-23 23:02:46 -08:00
Lars Brubaker
22de333b5b Fixing test for new UI 2018-12-06 12:03:46 -08:00
John Lewin
23d5b9ff6b Manually resume cancelled leveling wizard 2018-11-22 12:06:53 -08:00
Lars Brubaker
54855706ae Fixing leveling tests to not look for removed select material screen 2018-10-30 16:06:16 -07:00
John Lewin
df1a3db785 Remove unexpected whitespace 2018-10-03 12:32:26 -07:00
John Lewin
e9ea030853 Extract LevelingWizard automation to reusable function
- Reuse in PulseRequiresLevelingAndLevelingWorks
2018-10-03 12:28:41 -07:00
John Lewin
9ecb39a703 Simplify Winforms provider specification 2018-10-03 12:28:41 -07:00
John Lewin
e38e0eb42f Improve test execution and failure reporting 2018-10-03 08:22:08 -07:00
Lars Brubaker
f4d69c8f28 Getting automation tests to pass with new ui changes
issue: MatterHackers/MCCentral#4108
Many test failures related to Controls/Terminal tabs being hidden by default
2018-09-10 10:42:18 -07:00
Lars Brubaker
28ffed0908 Fixing tests related to leveling 2018-04-05 16:16:55 -07:00
Lars Brubaker
a97f117029 Getting + tab to open on startup
Fixing test that failed as part of this
2018-02-08 15:42:23 -08:00
John Lewin
c5ea8bb3c0 Update automation tests to account for printer settings changes 2017-12-28 09:02:44 -08:00
John Lewin
5af2c2c266 Fix QualitySettingsStayAsOverrides test 2017-12-14 17:46:48 -08:00
John Lewin
299a1b1134 Fix SoftwareLevelingRequiredCorrectWorkflow test 2017-12-14 16:22:59 -08:00
John Lewin
deed45ab4a Fix CancelWorksAsExpected & RaftEnabledPassedToSliceEngine tests
- Make start/stop print automatable
- Make test helpers for:
  - OpenPrintPopupMenu
  - StartPrint
  - OpenGCode3DOverflowMenu
  - SwitchToSliceSettings
  - EnsurePrintersSidebarOpen
2017-12-14 16:19:22 -08:00
Lars Brubaker
7c5f5a2775 Brought in the changes to set temp before leveling. 2017-08-08 17:49:26 -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
c4b2e88921 Add Emulator test category 2017-06-11 07:59:13 -07:00
John Lewin
2f6afbb6ae Revise PrinterNameChangePersists test, fix blocking test issue
- Test helper should auto open SliceSettings overflow menu
- Fix product bug with null settingsLevel
2017-06-09 20:12:25 -07:00
John Lewin
2233529a68 Make AddAndSelectPrinter an extension method 2017-06-04 09:01:56 -07:00
John Lewin
f7dba678cd Use new Task.CompletedTask result for clarity 2017-06-04 08:35:29 -07:00
John Lewin
6a1c0b5769 Revise HardwareLevelingUITests 2017-06-03 08:20:09 -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
John Lewin
563b371395 Make SwitchToAdvancedSliceSettings helper an extension method
- Rename for clarity - numerous Settings contexts in application
2017-06-02 19:49:33 -07:00
Lars Brubaker
19d22ce91d Refactor wait to delay 2017-02-01 10:12:31 -08:00
Lars Brubaker
da7bc876a0 Fixed a fix needed test
Fixed macro progress display
2017-01-19 12:35:33 -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
0cabc4af74 Modify ClickByName automation helper to throw if not found 2016-12-01 13:25:17 -08:00
John Lewin
4a48e2d2b3 Disable broken automation test, fix typo 2016-11-03 09:13:18 -07:00
John Lewin
56ef92ab91 Collapse PrepForTestRun(mode) into new CloseSignInAndPrinterSelect() 2016-10-26 09:03:46 -07:00
John Lewin
b54b73db7f Ensure spawned emulator process is always killed via using/Dispose
- LaunchAndConnectToPrinterEmulator -> TestRunner extension method
2016-10-26 07:30:29 -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
18163f7cae Ensure spawned process is killed along all codepaths
- No guarantee that all test method code will run
2016-10-18 07:54:10 -07:00
John Lewin
29fadccacc Emulator tests must shutdown spawned process 2016-10-04 12:28:42 -07:00
Lars Brubaker
e2686cde08 Make the test count correct 2016-09-27 15:33:35 -07:00