remove inadvertant test code

This commit is contained in:
Ryan Nowak 2018-05-01 15:59:27 -07:00 committed by Steve Sanderson
parent 87375f6ba1
commit 6a28aa99c6
1 changed files with 0 additions and 16 deletions

View File

@ -110,21 +110,5 @@ namespace Microsoft.AspNetCore.Blazor.E2ETest.Tests
actions.Perform();
Assert.Equal("onmousedown,onmouseup,", output.Text);
}
private string[] GetLogLines()
=> Browser.FindElement(By.TagName("textarea"))
.GetAttribute("value")
.Replace("\r\n", "\n")
.Split('\n', StringSplitOptions.RemoveEmptyEntries);
private void TriggerCustomBubblingEvent(string elementId, string eventName)
{
var jsExecutor = (IJavaScriptExecutor)Browser;
jsExecutor.ExecuteScript(
$"document.getElementById('{elementId}').dispatchEvent(" +
$" new Event('{eventName}', {{ bubbles: true }})" +
$")");
MountTestComponent<FocusEventComponent>();
}
}
}