Skip to content

Commit

Permalink
Also skip rename due to bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dibarbet committed Aug 18, 2021
1 parent 95d32ef commit 7e13760
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#nullable disable

using System;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Test.Utilities;
using Microsoft.VisualStudio.IntegrationTest.Utilities;
Expand Down Expand Up @@ -103,7 +105,7 @@ private void ExecuteWhenButtonClicked(object sender, EventArgs e)
}", codeFileActualText);
}

[WpfFact, Trait(Traits.Feature, Traits.Features.WinForms)]
[WpfFact(Skip = "https://github.com/dotnet/roslyn/issues/55703"), Trait(Traits.Feature, Traits.Features.WinForms)]
public void RenameControl()
{
var project = new ProjectUtils.Project(ProjectName);
Expand All @@ -114,6 +116,7 @@ public void RenameControl()
VisualStudio.Editor.EditWinFormButtonEvent(buttonName: "SomeButton", eventName: "Click", eventHandlerName: "SomeButtonHandler");
// Rename the control
VisualStudio.Editor.EditWinFormButtonProperty(buttonName: "SomeButton", propertyName: "Name", propertyValue: "SomeNewButton");
Thread.Sleep(TimeSpan.FromSeconds(20));
VisualStudio.ErrorList.Verify.NoBuildErrors();
// Verify that the rename propagated in designer code
VisualStudio.SolutionExplorer.OpenFile(project, "Form1.Designer.cs");
Expand Down

0 comments on commit 7e13760

Please sign in to comment.