wpf-test icon indicating copy to clipboard operation
wpf-test copied to clipboard

[ Fix and Re-enable ] Annotations Area - Feature Tests

Open dipeshmsft opened this issue 2 years ago • 0 comments

The following tests were disabled while open-sourcing the test area

  • [ ] StateSuite.state_single12_1_1.fixed
  • [ ] StateSuite.state_single12_1_1.flow
  • [ ] StateSuite.state_single12_3_1.fixed
  • [ ] StateSuite.state_single12_3_1.flow
  • [ ] StateSuite.state_single13_1_1.fixed
  • [ ] StateSuite.state_single13_1_1.flow
  • [ ] StateSuite.state_single13_3_1.fixed
  • [ ] StateSuite.state_single13_3_1.flow
  • [ ] StateSuite.state_multi21.fixed
  • [ ] StateSuite.state_multi21.flow
  • [ ] StateSuite.state_multi22.fixed
  • [ ] StateSuite.state_multi22.flow
  • [ ] FocusSuite.focus2.fixed.inkstickynote
  • [ ] FocusSuite.focus2.fixed.stickynote
  • [ ] FocusSuite.focus4.fixed.inkstickynote
  • [ ] FocusSuite.focus4.fixed.stickynote

The cause of failure is not known as of now. It may be that the tests themselves need to be fixed.

For re-enabling the tests -

  1. Search for the methods named as above in the code. ( like search for state_single12_1_1 in StateSuite.cs )
  2. Comment out the DisabledTestCase attribute before the test function.

To run the tests in isolation, use the following command

.\RunTests.cmd /Area=Annotations /Name=<test-name>

<test-name> is the full name mentioned above in the list ( e.g. StateSuite.state_single12_1_1.fixed )

For debugging the tests, add the /DebugTests argument in the command above.

dipeshmsft avatar Mar 02 '23 09:03 dipeshmsft