From 7a21a2ac210520de8d011608e53bda65b1a1108a Mon Sep 17 00:00:00 2001 From: metafates Date: Mon, 19 Jan 2026 15:48:20 +0300 Subject: [PATCH] call Skip if xskip is called and test errors --- pkg/framework/core/common/errors_handling.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/framework/core/common/errors_handling.go b/pkg/framework/core/common/errors_handling.go index bf7380e..8519e8c 100644 --- a/pkg/framework/core/common/errors_handling.go +++ b/pkg/framework/core/common/errors_handling.go @@ -23,6 +23,12 @@ func TestError(t ErrorT, provider ErrorProvider, contextName, errMsg string) { short = errMsg[:100] } + if common, ok := t.(*Common); ok && common.xSkip { + common.Skip("[XSkip] " + errMsg) + + return + } + switch contextName { case constants.TestContextName, constants.BeforeEachContextName: provider.StopResult(allure.Broken)