From 6a28aa99c6ada3c55edbb515287d0317c43fd6f1 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Tue, 1 May 2018 15:59:27 -0700 Subject: [PATCH] remove inadvertant test code --- .../Tests/EventTest.cs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/Microsoft.AspNetCore.Blazor.E2ETest/Tests/EventTest.cs b/test/Microsoft.AspNetCore.Blazor.E2ETest/Tests/EventTest.cs index 596ae8b55f..51e805dafb 100644 --- a/test/Microsoft.AspNetCore.Blazor.E2ETest/Tests/EventTest.cs +++ b/test/Microsoft.AspNetCore.Blazor.E2ETest/Tests/EventTest.cs @@ -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(); - } } }