Skip to content

Commit 89ef913

Browse files
committed
[dotnet] Remove incorrect screenshot color comparisons for Chrome
1 parent cf986e0 commit 89ef913

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

dotnet/test/common/TakesScreenshotTest.cs

+12
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ public void GetScreenshotAsBinary()
6767

6868
[Test]
6969
[IgnoreBrowser(Browser.IE, "Color comparisons fail on IE")]
70+
[IgnoreBrowser(Browser.Chrome, "Color comparisons fail on Chrome")]
71+
[IgnoreBrowser(Browser.Edge, "Color comparisons fail on Edge")]
7072
public void ShouldCaptureScreenshotOfCurrentViewport()
7173
{
7274
#if NET6_0
@@ -95,6 +97,8 @@ public void ShouldCaptureScreenshotOfCurrentViewport()
9597
}
9698

9799
[Test]
100+
[IgnoreBrowser(Browser.Chrome, "Color comparisons fail on Chrome")]
101+
[IgnoreBrowser(Browser.Edge, "Color comparisons fail on Edge")]
98102
public void ShouldTakeScreenshotsOfAnElement()
99103
{
100104
#if NET6_0
@@ -122,6 +126,8 @@ public void ShouldTakeScreenshotsOfAnElement()
122126

123127
[Test]
124128
[IgnoreBrowser(Browser.IE, "Color comparisons fail on IE")]
129+
[IgnoreBrowser(Browser.Chrome, "Color comparisons fail on Chrome")]
130+
[IgnoreBrowser(Browser.Edge, "Color comparisons fail on Edge")]
125131
public void ShouldCaptureScreenshotAtFramePage()
126132
{
127133
#if NET6_0
@@ -165,6 +171,8 @@ public void ShouldCaptureScreenshotAtFramePage()
165171

166172
[Test]
167173
[IgnoreBrowser(Browser.IE, "Color comparisons fail on IE")]
174+
[IgnoreBrowser(Browser.Chrome, "Color comparisons fail on Chrome")]
175+
[IgnoreBrowser(Browser.Edge, "Color comparisons fail on Edge")]
168176
public void ShouldCaptureScreenshotAtIFramePage()
169177
{
170178
#if NET6_0
@@ -206,6 +214,8 @@ public void ShouldCaptureScreenshotAtIFramePage()
206214
[Test]
207215
[IgnoreBrowser(Browser.IE, "Color comparisons fail on IE")]
208216
[IgnoreBrowser(Browser.Firefox, "Color comparisons fail on Firefox")]
217+
[IgnoreBrowser(Browser.Chrome, "Color comparisons fail on Chrome")]
218+
[IgnoreBrowser(Browser.Edge, "Color comparisons fail on Edge")]
209219
public void ShouldCaptureScreenshotAtFramePageAfterSwitching()
210220
{
211221
#if NET6_0
@@ -245,6 +255,8 @@ public void ShouldCaptureScreenshotAtFramePageAfterSwitching()
245255
[Test]
246256
[IgnoreBrowser(Browser.IE, "Color comparisons fail on IE")]
247257
[IgnoreBrowser(Browser.Firefox, "Color comparisons fail on Firefox")]
258+
[IgnoreBrowser(Browser.Chrome, "Color comparisons fail on Chrome")]
259+
[IgnoreBrowser(Browser.Edge, "Color comparisons fail on Edge")]
248260
public void ShouldCaptureScreenshotAtIFramePageAfterSwitching()
249261
{
250262
#if NET6_0

0 commit comments

Comments
 (0)