Граф коммитов

60 Коммитов

Автор SHA1 Сообщение Дата
Keith Mahoney b6f8806e07 disable AcrylicBrushTests.HideAndShowWindow (#129) 2018-12-21 14:53:30 -08:00
Jevan Saks 0637195d71
Fix issue with machine having test app installed but with different architecture (#128) 2018-12-21 11:35:43 -08:00
Keith Mahoney a15ac4f8bc
Fix WinUI_OS_Port (#127)
There was a change in how the OS provides the build tools such as perl.exe. This caused problems for the OS Porting build machine.

The fix requires us to restart razzle after checking out the porting branch.
2018-12-20 20:48:49 -08:00
Micah Lewis e3a24a9074
Have the latest version images link to the Nuget (#120)
* Have the latest version images link to the Nuget so that users can easily click and navigate to the actual Nuget page
2018-12-20 15:48:37 -08:00
Jevan Saks 851a13729e
Make SDK install script handle bad inputs better (#122) 2018-12-20 14:14:41 -08:00
Micah Lewis 2f58b0167c
Fix local build errors (#119)
Some projects were still referencing CustomTasks instead of MUXCustomBuildTasks and makepri.exe wasn't found in the SDK's unversioned bin path.
2018-12-20 13:09:34 -08:00
Ranjesh 24cfb95013
Ensure that if there is only one item we don't end up reporting zero size in virtualizing direction for the panel. (#118) 2018-12-20 12:39:36 -08:00
Ranjesh 8b1a16076a
Adding ItemsStretch property and more options to alignment (#109)
* Adding properties

* Fixups

* fix tests

* cr fix
2018-12-20 10:30:49 -08:00
Keith Mahoney fd742d6328
Disable MenuBarTests.BasicMouseInteractionTest (#116) 2018-12-20 10:11:34 -08:00
Keith Mahoney d9dad2c584
Helix test fix (#113)
Helix started enforcing a rule that jobs sent to an Open queue should not send an access token. Updating the yml to obey this.

When not sending an access token you must explicitly set Creator to something, since it is no longer inferred from the access token. Also, the IsExternal flag must be set.
2018-12-19 18:49:15 -08:00
Jevan Saks 6888f9db4a
Add CODEOWNERS file to add codereviews team to all PRs (#112) 2018-12-19 15:24:48 -08:00
Ranjesh 26687a2fcf
Make sure that if a verification fails, we fail the test. (#107)
* Make sure that if a verification fails, we fail the test. MSTEST seems to pass the test if the verify falis in the UIThread. Also fixed the tests that were failing with that fix.
2018-12-18 15:40:29 -08:00
Jevan Saks 3cb3c0fde2
Add nuget package test solution to the PR/CI build (#87)
Also factor out repetitive yml into a template.

This adds jobs to the PR and CI builds that take the just-built nuget package and then build the MUXReleaseTest solution with that new nuget package.
2018-12-18 11:27:32 -08:00
Kai Guo ace0afebc3
Add shadow on NavigationView pane (#96)
* Apply shadow on NavigationView

* Cleanups
2018-12-17 21:32:46 -08:00
Chris Glein 32a9da8f60
Various documentation clean up (#77)
* Add section about the Checks invoked by a pull request.
* Add link for downloading Windows SDK
* Added a note about using Test Explorer to run tests
* Added suggestion for new contributors to particpate in feature proposal voting/commentary
* Added a section about creating a new test
* Link to test documentation from contribution workflow
* Fix various wrapping issues
2018-12-17 17:41:04 -08:00
T Paine 0b38581e81
Fixes to accessibility and visual issues. (#104) 2018-12-17 16:38:12 -08:00
Jevan Saks b24e8d93b1
Merge back changes from release/1812/nuget 2.1.181217 (#103) 2018-12-17 16:00:33 -08:00
Jevan Saks 33424ed5f6
Fix design time dll to build x86 in all flavors but output to the current config outputs (#100) 2018-12-17 10:40:19 -08:00
Jevan Saks 6a059daddc
Update NugetWrapper.cmd to download nuget.exe from nuget.org and cache locally instead of using internal share (#94) 2018-12-16 20:30:56 -08:00
Keith Mahoney 4b3b5ac7cf
fix CI build on arm (#95) 2018-12-14 22:41:22 -08:00
Keith Mahoney 4616a30b74
Enable WinUI tests in Helix (#83)
This is the initial check-in of work that enables running WinUI tests in Helix.

There are some things that are missing that will come in a later PR. I wanted to get this work merged to master sooner so that we can start getting things up and running.

Not in this PR:
* Scheduling tests on RS1 - RS5 machines is not yet enabled. Currently all tests are running on the Windows.10.Amd64.Open Helix queue which is a Windows Server 2016 RS1 queue.
* Release configuration and/or x64 target platform. Currently only x86/debug is enabled.
* Not all tests are enabled yet such as IXMP tests, WPF hosting tests, NuGet package tests, Framework Package tests.

All of the above will come soon after this PR is completed.

**Details:**

Helix is a cloud hosted test execution environment which is accessed via the Arcade SDK.
More details:
* [Arcade](https://github.com/dotnet/arcade)
* [Helix](https://github.com/dotnet/arcade/tree/master/src/Microsoft.DotNet.Helix/Sdk)

WinUI tests are scheduled in Helix by the Azure DevOps Pipeline: RunHelixTests.yml.

The workflow is as follows:
1. NuGet Restore is called on the packages.config in this directory. This downloads any runtime dependencies that are needed to run tests.
2. PrepareHelixPayload.ps1 is called. This copies the necessary files from various locations into a Helix payload directory. This directory is what will get sent to the Helix machines.
3. RunTestsInHelix.proj is executed. This proj has a dependency on [Microsoft.DotNet.Helix.Sdk](https://github.com/dotnet/arcade/tree/master/src/Microsoft.DotNet.Helix/Sdk) 
which it uses to publish the Helix payload directory and to schedule the Helix Work Items. The WinUI tests are parallelized into multiple Helix Work Items.
4. Each Helix Work Item calls runtests.cmd with a specific query to pass to [TAEF](https://docs.microsoft.com/en-us/windows-hardware/drivers/taef/) which runs the tests.
5. TAEF produces logs in WTT format. Helix is able to process logs in XUnit format. We run ConvertWttLogToXUnit.ps1 to convert the logs into the necessary format.
6. RunTestsInHelix.proj has EnableAzurePipelinesReporter set to true. This allows the XUnit formatted test results to be reported back to the Azure DevOps Pipeline.

Example run: https://dev.azure.com/ms/microsoft-ui-xaml/_build/results?buildId=730

Full Atlas test pass: https://microsoft.visualstudio.com/WinUI/_build/results?buildId=13389551&view=ms.vss-test-web.test-result-details
2018-12-14 17:14:48 -08:00
Canhua Li 1bf47faeae
Try to fix the stability issue of LightDismissTest and VerifyLightDismissDoesntSendDuplicateEvents (#78)
* retry on tests

* remove return
2018-12-14 16:17:55 -08:00
Jesse Bishop 9aeb0b858d
Docs updates (#73)
* Add build status and NuGet version badges
* Update upcoming version to 2.1
2018-12-14 08:24:18 -08:00
Ranjesh 8d47dd2376
fix build break in debug_test configuration (#80) 2018-12-13 16:46:13 -08:00
Jevan Saks 7809f92d31
Update version to 2.1 (#75) 2018-12-13 15:09:26 -08:00
Chris Glein 65db98f4f0
Add .vscode to the .gitignore file, as that some of its extensions dump files there (#76) 2018-12-13 11:30:20 -08:00
Jevan Saks 8a6f70b6a4
IXMP generation should be based on the "public" metadata, not the internal metadat. (#68)
Fix #22 

The problem is that our IXMP generated code answers for "private" types, which causes problems where the parser starts asking about types like XamlAmbientLight which it finds squirreled away in the UIElement tree. It asks about these types because "private" DependencyProperties refer to those types and our IXMP implementation returns a XamlType instance corresponding to it. That then causes the .NET runtime to try to turn the TypeName into a real type and it crashes because there's no metadata in the app's WinMDs of that typename. The parser folks recommended that we just return null for "private" types so in this change I switched the XamlMetadataProvider codegen to use the winmd file that's included in the nuget package instead of the "private" one. This way our IXMP is in sync with what's in the nuget package.

Verified that the nuget package with this fix allows XamlControlsGallery to launch again.

Tests passed: https://microsoft.visualstudio.com/WinUI/_build/results?buildId=13332466&_a=summary
2018-12-11 14:47:02 -08:00
Ranjesh 68a573b4f8
Fix reflow logic in flow layouts (#59)
* Fix reflow logic

* fix typo
2018-12-10 13:23:13 -08:00
Luke Longley 09c5545417 Back-porting external changes from the OS repo. (#55) 2018-12-10 09:24:53 -08:00
Luke Longley f71da97c33
Back-porting external changes from the OS repo (#53) 2018-12-07 16:08:28 -08:00
Kai Guo 064aa00769
Fix TreeView content mode (#43)
* Fix content mode

* Add test

* Update name

* Add comments

* Cleanup

* Update LangVersion
2018-12-07 13:05:53 -08:00
Agnes ZITTE 2d46efae28 Removed PaneButtonGrid.Margin in the VisualState Setters for the default UWP NavigationView Style. (#46)
PaneButtonGrid does not exist in the NavigationView template and in the code behind of the control.
2018-12-07 10:21:51 -08:00
Luke Longley 7f0068704a
Repoint OS ports to the public GitHub repository (#48)
We need to change our script that commits ports to retrieve information from the public GitHub repo, which has a slightly different REST API surface, as well.

While I was here, I also removed the last two parameters from CommitSync.ps1. We literally never use them, and CommitSync.cmd wasn't even passing them in correctly.
2018-12-06 17:20:20 -08:00
Ranjesh a3dd879193
Fix ambiguous type build warnings in MuxControlsTestAppWPF project (#44) 2018-12-06 17:04:30 -08:00
Steven Kirbach 1652737865
fix typo (#45) 2018-12-06 13:24:08 -08:00
T Paine cd29bf314a
Add F4 behavior and remove unneeded items from accessible tree. (#37) 2018-12-05 16:50:01 -08:00
Keith Mahoney 7301291222
Dummy commit to test CI (#38) 2018-12-05 15:42:07 -08:00
Ranjesh 6bf346ff75
We should not crash if an ItemTemplate is not provided. We can use a default template with just a TextBlock instead. (#35) 2018-12-05 13:00:42 -08:00
Ranjesh cc85fb1a20
Adding Background property to ItemsRepeater (#27) 2018-12-05 09:16:23 -08:00
Keith Mahoney 60dbc641e2
Update NuGet tool version from 4.4.1 to 4.9.1 (#31) 2018-12-05 07:42:37 -08:00
Keith Mahoney 7c23397c92
Merge pull request #28 from Microsoft/user/kmahone/pipelineyml
Update Azure Pipelines to decrease build matrix for CI build and increase job timeout.
2018-12-04 15:36:11 -08:00
Luke Longley afbe65860d
Merge pull request #24 from Microsoft/OfficialMWATConsumption
Update to the officially released version of Microsoft.Windows.Apps.Test
2018-12-04 15:36:01 -08:00
Luke Longley 101355416a
Merge pull request #26 from Microsoft/InputInjectionCoordinateFix
Fix input injection in tests to account for scaling
2018-12-04 15:35:41 -08:00
Luke Longley 1a2bda2e4b Accounting for DPI awareness. 2018-12-04 10:23:35 -08:00
Keith Mahoney d749ae1062 increase job timeout for PR build. Decrease size of build matrix for CI build 2018-12-04 10:13:39 -08:00
Keith Mahoney d12f5409e3 Increse job timeout 2018-12-04 10:00:43 -08:00
Luke Longley db62b298d9 Update to the officially released version of Microsoft.Windows.Apps.Test. 2018-12-04 09:54:40 -08:00
Jesse Bishop 991320f2d5
Merge pull request #20 from Microsoft/jesbis-readmeupdate
fix contributing link in readme
2018-12-04 08:51:21 -08:00
Jesse Bishop dee3a9d9c8
fix contributing link in readme 2018-12-04 08:49:27 -08:00
Jevan Saks d883cf3593 Initial commit 2018-12-03 17:20:35 -08:00