Skip to content

Commit

Permalink
update visual testing action type check
Browse files Browse the repository at this point in the history
  • Loading branch information
IamRanjeetSingh committed Aug 12, 2024
1 parent 4a69670 commit b863fa9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public override void RunAction(Act act)
actGotoURLHandler.HandleAsync().Wait();
break;
case ActVisualTesting actVisualTesting:
if (actVisualTesting.VisualTestingAnalyzer == ActVisualTesting.eVisualTestingAnalyzer.VRT)
if (actVisualTesting.VisualTestingAnalyzer != ActVisualTesting.eVisualTestingAnalyzer.Applitools)
{
actVisualTesting.Execute(this);
}
Expand Down Expand Up @@ -232,7 +232,7 @@ public bool IsActionSupported(Act act, out string message)
else if (act is ActVisualTesting actVisualTesting)
{
message = $"{actVisualTesting.VisualTestingAnalyzer} is not supported by Playwright driver, use Selenium driver instead.";
return actVisualTesting.VisualTestingAnalyzer == ActVisualTesting.eVisualTestingAnalyzer.VRT;
return actVisualTesting.VisualTestingAnalyzer != ActVisualTesting.eVisualTestingAnalyzer.Applitools;
}
else
{
Expand Down

0 comments on commit b863fa9

Please sign in to comment.