Пример #1
0
 protected override void AssertedBottomInsideOfLessOrEqualThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is <={arg.ActionValue} px bottom inside of {arg.SecondElement.ComponentName}.");
Пример #2
0
 protected override void AssertedWidthApproximateSecondElementEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} width ", $"is ~{arg.ActionValue}% of {arg.SecondElement.ComponentName}.");
Пример #3
0
 protected override void AssertedBelowOfGreaterOrEqualThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is >={arg.ActionValue} px below of {arg.SecondElement.ComponentName}.");
Пример #4
0
 protected override void AssertedRightOfLessThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is <{arg.ActionValue} px right of {arg.SecondElement.ComponentName}.");
Пример #5
0
 protected override void AssertedTopInsideOfGreaterThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is >{arg.ActionValue} px top inside of {arg.SecondElement.ComponentName}.");
Пример #6
0
 protected override void AssertedBottomInsideOfLessThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is <{arg.ActionValue} px bottom inside of {arg.SecondElement.ComponentName}.");
Пример #7
0
 protected override void AssertedNearTopOfEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => DynamicTestCasesService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is {arg.ActionValue} px near top of {arg.SecondElement.ComponentName}.");
Пример #8
0
 protected override void AssertedBelowOfGreaterThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is >{arg.ActionValue} px below of {arg.SecondElement.ComponentName}.");
Пример #9
0
 protected override void AssertedRightOfLessOrEqualThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is <={arg.ActionValue} px right of {arg.SecondElement.ComponentName}.");
Пример #10
0
 protected override void AssertedNearLeftOfEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is {arg.ActionValue} px near left of {arg.SecondElement.ComponentName}.");
Пример #11
0
 protected override void AssertedNearBottomOfGreaterOrEqualThanEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} ", $"is >={arg.ActionValue} px near bottom of {arg.SecondElement.ComponentName}.");
Пример #12
0
 protected override void AssertedHeightApproximateSecondElementEventHandler(object sender, LayoutTwoComponentsActionEventArgs arg)
 => BugReportingContextService.AddAssertStep($"Assert {arg.Element.ComponentName} height ", $"is ~{arg.ActionValue}% of {arg.SecondElement.ComponentName}.");