parent
b4a37194f5
commit
dcd32c0d14
|
|
@ -7,6 +7,7 @@ using BasicTestApp;
|
||||||
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure;
|
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure;
|
||||||
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
|
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
|
||||||
using Microsoft.AspNetCore.E2ETesting;
|
using Microsoft.AspNetCore.E2ETesting;
|
||||||
|
using Microsoft.AspNetCore.Testing;
|
||||||
using Moq;
|
using Moq;
|
||||||
using OpenQA.Selenium;
|
using OpenQA.Selenium;
|
||||||
using OpenQA.Selenium.Support.UI;
|
using OpenQA.Selenium.Support.UI;
|
||||||
|
|
@ -506,6 +507,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23596")]
|
||||||
public void CanBindTextboxNullableDouble()
|
public void CanBindTextboxNullableDouble()
|
||||||
{
|
{
|
||||||
var target = Browser.FindElement(By.Id("textbox-nullable-double"));
|
var target = Browser.FindElement(By.Id("textbox-nullable-double"));
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ using BasicTestApp;
|
||||||
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure;
|
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure;
|
||||||
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
|
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
|
||||||
using Microsoft.AspNetCore.E2ETesting;
|
using Microsoft.AspNetCore.E2ETesting;
|
||||||
|
using Microsoft.AspNetCore.Testing;
|
||||||
using OpenQA.Selenium;
|
using OpenQA.Selenium;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
using Xunit.Abstractions;
|
using Xunit.Abstractions;
|
||||||
|
|
@ -50,6 +51,7 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23596")]
|
||||||
public void ShowsErrorNotification_OnError_Reload()
|
public void ShowsErrorNotification_OnError_Reload()
|
||||||
{
|
{
|
||||||
var causeErrorButton = Browser.Exists(By.Id("throw-simple-exception"));
|
var causeErrorButton = Browser.Exists(By.Id("throw-simple-exception"));
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ using BasicTestApp.RouterTest;
|
||||||
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure;
|
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure;
|
||||||
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
|
using Microsoft.AspNetCore.Components.E2ETest.Infrastructure.ServerFixtures;
|
||||||
using Microsoft.AspNetCore.E2ETesting;
|
using Microsoft.AspNetCore.E2ETesting;
|
||||||
|
using Microsoft.AspNetCore.Testing;
|
||||||
using OpenQA.Selenium;
|
using OpenQA.Selenium;
|
||||||
using OpenQA.Selenium.Interactions;
|
using OpenQA.Selenium.Interactions;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
@ -479,14 +480,18 @@ namespace Microsoft.AspNetCore.Components.E2ETest.Tests
|
||||||
Browser.Equal(0, () => BrowserScrollY);
|
Browser.Equal(0, () => BrowserScrollY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Fact]
|
||||||
|
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23596")]
|
||||||
|
public void PreventDefault_CanBlockNavigation_ForInternalNavigation_PreventDefaultTarget()
|
||||||
|
=> PreventDefault_CanBlockNavigation("internal", "target");
|
||||||
|
|
||||||
[Theory]
|
[Theory]
|
||||||
[InlineData("external", "ancestor")]
|
[InlineData("external", "ancestor")]
|
||||||
[InlineData("external", "target")]
|
[InlineData("external", "target")]
|
||||||
[InlineData("external", "descendant")]
|
[InlineData("external", "descendant")]
|
||||||
[InlineData("internal", "ancestor")]
|
[InlineData("internal", "ancestor")]
|
||||||
[InlineData("internal", "target")]
|
|
||||||
[InlineData("internal", "descendant")]
|
[InlineData("internal", "descendant")]
|
||||||
public void PreventDefault_CanBlockNavigation(string navigationType, string whereToPreventDefault)
|
public virtual void PreventDefault_CanBlockNavigation(string navigationType, string whereToPreventDefault)
|
||||||
{
|
{
|
||||||
SetUrlViaPushState("/PreventDefaultCases");
|
SetUrlViaPushState("/PreventDefaultCases");
|
||||||
var app = Browser.MountTestComponent<TestRouter>();
|
var app = Browser.MountTestComponent<TestRouter>();
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ namespace Microsoft.AspNetCore.Hosting.FunctionalTests
|
||||||
public ShutdownTests(ITestOutputHelper output) : base(output) { }
|
public ShutdownTests(ITestOutputHelper output) : base(output) { }
|
||||||
|
|
||||||
[ConditionalFact]
|
[ConditionalFact]
|
||||||
|
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/23610")]
|
||||||
[OSSkipCondition(OperatingSystems.Windows)]
|
[OSSkipCondition(OperatingSystems.Windows)]
|
||||||
[OSSkipCondition(OperatingSystems.MacOSX)]
|
[OSSkipCondition(OperatingSystems.MacOSX)]
|
||||||
public async Task ShutdownTestRun()
|
public async Task ShutdownTestRun()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue