If a panic occurs in the body of the test (no one catches it), in the defer chain the afterEachHook sets the provider test context to afterEach, common.TestError handles the wrong panic context. First at all, need catch panic after test execution, and then run afterEachHook
If a panic occurs in the body of the test (no one catches it), in the defer chain the afterEachHook sets the provider test context to afterEach, common.TestError handles the wrong panic context. First at all, need catch panic after test execution, and then run afterEachHook