Skip to content

Commit

Permalink
Revert "[net8.0] Merge main to net8 (#15478)" (#15632)
Browse files Browse the repository at this point in the history
This reverts commit b965617.
  • Loading branch information
rmarinho authored Jun 14, 2023
1 parent b965617 commit 9e32b43
Show file tree
Hide file tree
Showing 262 changed files with 235 additions and 1,264 deletions.
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
]
},
"microsoft.dotnet.xharness.cli": {
"version": "8.0.0-prerelease.23307.1",
"version": "8.0.0-prerelease.23272.1",
"commands": [
"xharness"
]
Expand Down
22 changes: 22 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Debug with Comet",
"type": "comet",
"request": "launch",
"preLaunchTask": "comet: Build"
},
{
"name": "Debug with Xamarin",
"type": "mono",
"request": "attach",
"address": "localhost",
"port": 10000,
"preLaunchTask": "Run Sample"
},
]
}
3 changes: 0 additions & 3 deletions .vscode/settings.json

This file was deleted.

372 changes: 0 additions & 372 deletions docs/design/layout.md

This file was deleted.

12 changes: 6 additions & 6 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,17 @@
<Uri>https://github.com/dotnet/templating</Uri>
<Sha>3f4da9ced34942d83054e647f3b1d9d7dde281e8</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Common" Version="8.0.0-prerelease.23307.1">
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Common" Version="8.0.0-prerelease.23272.1">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>98cbe592ee7494c5813d0e5173bc7a160fbcce70</Sha>
<Sha>5d3b745c64e8092c2ce3ce1feca85d87d814f292</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="8.0.0-prerelease.23307.1">
<Dependency Name="Microsoft.DotNet.XHarness.TestRunners.Xunit" Version="8.0.0-prerelease.23272.1">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>98cbe592ee7494c5813d0e5173bc7a160fbcce70</Sha>
<Sha>5d3b745c64e8092c2ce3ce1feca85d87d814f292</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="8.0.0-prerelease.23307.1">
<Dependency Name="Microsoft.DotNet.XHarness.CLI" Version="8.0.0-prerelease.23272.1">
<Uri>https://github.com/dotnet/xharness</Uri>
<Sha>98cbe592ee7494c5813d0e5173bc7a160fbcce70</Sha>
<Sha>5d3b745c64e8092c2ce3ce1feca85d87d814f292</Sha>
</Dependency>
</ProductDependencies>
</Dependencies>
8 changes: 4 additions & 4 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<!-- wasdk -->
<MicrosoftWindowsAppSDKPackageVersion>1.3.230502000</MicrosoftWindowsAppSDKPackageVersion>
<MicrosoftWindowsSDKBuildToolsPackageVersion>10.0.22621.756</MicrosoftWindowsSDKBuildToolsPackageVersion>
<MicrosoftGraphicsWin2DPackageVersion>1.0.5.1</MicrosoftGraphicsWin2DPackageVersion>
<MicrosoftGraphicsWin2DPackageVersion>1.0.4</MicrosoftGraphicsWin2DPackageVersion>
<!-- Everything else -->
<MicrosoftAspNetCoreAuthorizationPackageVersion>8.0.0-preview.6.23302.1</MicrosoftAspNetCoreAuthorizationPackageVersion>
<MicrosoftAspNetCoreAuthenticationFacebookPackageVersion>8.0.0-preview.6.23302.1</MicrosoftAspNetCoreAuthenticationFacebookPackageVersion>
Expand Down Expand Up @@ -69,9 +69,9 @@
<_HarfBuzzSharpVersion>2.8.2.2</_HarfBuzzSharpVersion>
<_SkiaSharpNativeAssetsVersion>0.0.0-commit.193b587552cb0ed39372a049d7e6c692db98c267.483</_SkiaSharpNativeAssetsVersion>
<MicrosoftTemplateEngineTasksVersion>7.0.100-preview.5.22226.1</MicrosoftTemplateEngineTasksVersion>
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>8.0.0-prerelease.23307.1</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>8.0.0-prerelease.23307.1</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
<MicrosoftDotNetXHarnessCLIVersion>8.0.0-prerelease.23307.1</MicrosoftDotNetXHarnessCLIVersion>
<MicrosoftDotNetXHarnessTestRunnersCommonVersion>8.0.0-prerelease.23272.1</MicrosoftDotNetXHarnessTestRunnersCommonVersion>
<MicrosoftDotNetXHarnessTestRunnersXunitVersion>8.0.0-prerelease.23272.1</MicrosoftDotNetXHarnessTestRunnersXunitVersion>
<MicrosoftDotNetXHarnessCLIVersion>8.0.0-prerelease.23272.1</MicrosoftDotNetXHarnessCLIVersion>
<TizenUIExtensionsVersion>0.9.0</TizenUIExtensionsVersion>
<SvgSkiaPackageVersion>0.5.13</SvgSkiaPackageVersion>
<FizzlerPackageVersion>1.2.0</FizzlerPackageVersion>
Expand Down
2 changes: 1 addition & 1 deletion eng/devices/android.cake
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ Task("uitest")

});

SetEnvironmentVariable("APPIUM_LOG_FILE", $"{BINLOG_DIR}/appium_android.log");
SetEnvironmentVariable("APPIUM_LOG_FILE", $"{BINLOG_ARG}/appium_android.log");

Information("Run UITests project {0}",PROJECT.FullPath);
RunTestWithLocalDotNet(PROJECT.FullPath, CONFIGURATION, noBuild: true);
Expand Down
2 changes: 1 addition & 1 deletion eng/devices/catalyst.cake
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Task("uitest")
//.Append("/tl")
});

SetEnvironmentVariable("APPIUM_LOG_FILE", $"{BINLOG_DIR}/appium_mac.log");
SetEnvironmentVariable("APPIUM_LOG_FILE", $"{BINLOG_ARG}/appium_mac.log");

Information("Run UITests project {0}",PROJECT.FullPath);
RunTestWithLocalDotNet(PROJECT.FullPath, CONFIGURATION, noBuild: true);
Expand Down
2 changes: 1 addition & 1 deletion eng/devices/ios.cake
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ Task("uitest")

});

SetEnvironmentVariable("APPIUM_LOG_FILE", $"{BINLOG_DIR}/appium_ios.log");
SetEnvironmentVariable("APPIUM_LOG_FILE", $"{BINLOG_ARG}/appium_ios.log");

Information("Run UITests project {0}",PROJECT.FullPath);
RunTestWithLocalDotNet(PROJECT.FullPath, CONFIGURATION, noBuild: true);
Expand Down
2 changes: 1 addition & 1 deletion eng/devices/windows.cake
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Task("uitest")
});

SetEnvironmentVariable("WINDOWS_APP_PATH", TEST_APP);
SetEnvironmentVariable("APPIUM_LOG_FILE", $"{BINLOG_DIR}/appium_windows.log");
SetEnvironmentVariable("APPIUM_LOG_FILE", $"{BINLOG_ARG}/appium_windows.log");

Information("Run UITests project {0}",PROJECT.FullPath);
RunTestWithLocalDotNet(PROJECT.FullPath, CONFIGURATION, toolPath, noBuild: true);
Expand Down
78 changes: 5 additions & 73 deletions eng/scripts/appium-install.ps1
Original file line number Diff line number Diff line change
@@ -1,93 +1,25 @@
<#
.SYNOPSIS
Install dependencies for Appium UITests
.DESCRIPTION
This will install or update npm, appium and the following drivers: appium-windows-driver, uiautomator2, xcuitest and mac2
.PARAMETER appiumVersion
The Appium version to install
.PARAMETER windowsDriverVersion
The windows driver version to update or install
.PARAMETER androidDriverVersion
The uiautomator2 driver version to update or install
.PARAMETER iOSDriverVersion
The xcuitest driver version to update or install
.PARAMETER macDriverVersion
The mac2 driver version to update or install
.EXAMPLE
PS> .\appium-install.ps1 '2.0.0-beta.61' 2.7.2 2.25.1 4.30.2 1.6.1
This would install or update Appium version 2.0.0-beta.61, the windows driver 2.7.2, the uiautomator2 driver with 2.25.1, the xcuitest driver with 4.30.2 and mac2 driver with 1.6.1
#>


param
(
[string] $appiumVersion = '2.0.0-beta.64',
[string] $windowsDriverVersion = '2.7.2',
[string] $androidDriverVersion = '2.25.1',
[string] $iOSDriverVersion = '4.30.2',
[string] $macDriverVersion = '1.6.1'
)

node -v
npm install -g npm
node -v
npm install -g appium@$appiumVersion
npm install -g appium@2.0.0-beta.61
appium -v
$x = appium driver list --installed --json | ConvertFrom-Json

if(!$x.windows)
{
appium driver install --source=npm appium-windows-driver@$windowsDriverVersion
}
else
{
appium driver uninstall windows
appium driver install --source=npm appium-windows-driver@$windowsDriverVersion
appium driver install --source=npm appium-windows-driver
}

if(!$x.uiautomator2)
{
appium driver install uiautomator2@$androidDriverVersion
}
else
{
appium driver uninstall uiautomator2
appium driver install uiautomator2@$androidDriverVersion
appium driver install uiautomator2
}

if(!$x.xcuitest)
{
appium driver install xcuitest@$iOSDriverVersion
}
else
{
appium driver uninstall xcuitest
appium driver install xcuitest@$iOSDriverVersion
appium driver install xcuitest
}

if(!$x.mac2)
{
appium driver install mac2@$macDriverVersion
}
else
{
appium driver uninstall mac2
appium driver install mac2@$macDriverVersion
appium driver install mac2
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Xamarin.Firebase.AppIndexing" Version="120.0.0.12" />
<PackageReference Include="Xamarin.Firebase.AppIndexing" Version="120.0.0.11" />
<PackageReference Include="Xamarin.AndroidX.Lifecycle.LiveData" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ public void AddingMultipleListViewTests1AllElementsPresent()
}

[Test]
[FailsOnMauiIOS]
public void AddingMultipleListViewTests2AddOneElementToList()
{
RunningApp.Tap(q => q.Marked("Add One"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ protected override void OnAppearing()

#if UITEST
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void Bugzilla23942Test()
{
RunningApp.WaitForElement(q => q.Marked("success"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ protected override void Init()

#if UITEST
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void TapThenDoubleTap()
{
RunningApp.Screenshot("I am at Issue 24574");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public ItemTemplate()

#if UITEST
[Test]
[FailsOnMauiIOS]
public void DoesntCrashOnNavigatingBackToThePage()
{
RunningApp.WaitForElement(q => q.Marked("btnPush"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ protected override void Init()
#if __MACOS__
[Ignore("Webview query is not implemented yet on UITEst desktop")]
#endif
[Compatibility.UITests.FailsOnMauiIOS]
public void Bugzilla26993Test()
{
RunningApp.Screenshot("I am at BZ26993");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ protected override void Init()
#if UITEST
[Test]
[Category(UITestCategories.ManualReview)]
[Compatibility.UITests.FailsOnMauiIOS]
public void Bugzilla29128Test()
{
RunningApp.WaitForElement(q => q.Marked("SliderId"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ protected override void Init()

#if UITEST
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void PushButton()
{
RunningApp.Tap(q => q.Marked("Modal Push Pop Test"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public class CustomContentView : ContentView

#if UITEST
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void Bugzilla31395Test()
{
RunningApp.WaitForElement(q => q.Marked("Switch Main Page"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ protected override void Init()
}
#if UITEST
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void TappedWorksForEntryAndSwithCellTest()
{
RunningApp.Tap(q => q.Marked("blahblah"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ public ContactItemTemplate()

#if UITEST
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void Bugzilla32148Test()
{
RunningApp.WaitForElement(q => q.Marked("Contact0 LastName"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ protected override void Init()
PushAsync(new LandingPage32206());
}

#if UITEST && IOS
#if UITEST && __IOS__
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void Bugzilla32206Test()
{
for (var n = 0; n < 10; n++)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ protected override void Init()

#if UITEST
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void Bugzilla36729Test()
{
RunningApp.WaitForElement(q => q.Marked("Click!"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ protected override void OnAppearing()

#if UITEST
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public async Task Bugzilla32615Test()
{
RunningApp.Tap(q => q.Marked("btnModal"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ protected override void Init()

#if UITEST && __IOS__
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void TableViewEntryCellShowsDefaultKeyboardThenNumericKeyboardAfterScrolling()
{
RunningApp.ScrollDown();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ public MenuItem(string name)

#if UITEST
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void Bugzilla33870Test()
{
RunningApp.WaitForElement(x => x.Marked(PageContentAutomatedId));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ protected override void Init()
#if UITEST
[Test]
[UiTest(typeof(Grid))]
[Compatibility.UITests.FailsOnMauiIOS]
public void Issue34007TestFirstElementHasLowestZOrder()
{
var buttonLocations = RunningApp.WaitForElement(q => q.Marked("Button 0"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ protected override void Init()

#if UITEST
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void Bugzilla34912Test()
{
RunningApp.Tap(q => q.Marked("Allen"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ protected override void Init()

#if UITEST
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void Issue35127Test()
{
RunningApp.WaitForElement(q => q.Marked("See me?"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ protected override void Init()

#if UITEST
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void TapGestureFiresOnFrame()
{
RunningApp.WaitForElement("No taps yet");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ async Task ShowLocation(string locationString)

#if UITEST
[Test]
[Compatibility.UITests.FailsOnMauiIOS]
public void Bugzilla35733Test()
{
RunningApp.WaitForElement(q => q.Marked("btnGo"));
Expand Down
Loading

0 comments on commit 9e32b43

Please sign in to comment.