我们有大约300个测试作为回归测试的一部分运行。在构建代理上运行时,大约有10个测试随机失败。我在下面添加了完整错误。如果我们在本地计算机上重新运行这些测试,它总是会通过。没有指定它崩溃的行号,因为它正在传递本地运行我无法调试并找到问题 我们使用Selenium-C#和X单位进行断言。 只想知道其他人有这个问题。
System.Exception: GetData webResponse content: @{ Layout = null; } <!DOCTYPE html> <html ng-app="AngularApp"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <title>Infotools Online</title> <link href="/App/Content/LancomStrap.css?3" rel="stylesheet" type="text/css" /> <link href="/App/Content/Style.css?3" rel="stylesheet" type="text/css" /> <link href="/App/Content/LoginThemes.css" rel="stylesheet" type="text/css" /> <link href="/App/Content/MetLifeStyle.css" rel="stylesheet" type="text/css" /> <script src='https://www.google.com/recaptcha/api.js?onload=vcRecaptchaApiLoaded&render=explicit' async defer></script> <script src="/App/Scripts/angular.min.js"></script> <script src="/App/Scripts/angularRecaptcha.min.js"></script> <script src="/App/Scripts/angular-sanitize.min.js"></script> <script src="/App/Scripts/angular-animate.min.js"></script> <script src="/App/Scripts/ui-bootstrap.min.js"></script> <script src="/App/Scripts/ui-bootstrap-tpls.min.js"></script> <script src="/App/Scripts/angular-aria.min.js"></script> <script src="/App/Scripts/angular-messages.min.js"></script> <!-- Angular Material Library --> <script src="/App/Scripts/angular-material.min.js"></script> <script src="/App/Scripts/ngClipboard.js"></script> <script src="/App/Scripts/json-formatter.js"></script> <script src="/App/Scripts/LancomStrap.js"></script> <script src="/App/Scripts/AngularController.js"></script> <script src="/App/Scripts/Chart.min.js"></script> <script src="/App/Scripts/angular-chart.min.js"></script> <script src="/App/Scripts/LoginTheme.js"></script> <script src="/App/Scripts/Federation Config.js"></script> <script src="/App/Main/LoginController.js"></script> <script src="/App/Main/AdminController.js"></script> <script src="/App/Main/ConsolesController.js"></script> <script src="/App/Main/Shares/ShareController.js"></script> <script src="/App/Main/Admin/LoggingController.js"></script> <script src="/App/Main/Admin/LogViewerController.js"></script> <script src="/App/Main/Admin/UsersController.js"></script> <script src="/App/Main/Admin/CurrentUsersController.js"></script> <script src="/App/Main/Admin/CompaniesController.js"></script> <script src="/App/Main/Admin/AdministratorsController.js"></script> <script src="/App/Main/Admin/RolesController.js"></script> <script src="/App/Admin/Admin/IHConsolesController.js"></script> <script src="/App/Main/Admin/Administrators/AdministratorController.js"></script> <script src="/App/Main/Admin/Users/UserController.js"></script> <script src="/App/Main/Admin/Companies/CompanyController.js"></script> <script src="/App/Main/Admin/Companies/Groups/GroupController.js"></script> <script src="/App/Main/Admin/Companies/Consoles/ConsoleController.js"></script> <script src="/App/Main/Components/HelperService.js"></script> <script src="/App/Main/Components/FileExplorer/FileExplorerDirective.js"></script> <script src="/App/Main/Login/TermsAndConditionsController.js"></script> <!--[if lt IE 9]> <script type="text/javascript"> inIE89 = true; </script> <![endif]--> </head> <body ng-controller="AngularParentController" ng-class="ParentSettings.Parameters.CustomTheme?'':'user_' + ParentSettings.CurrentUser.Role"> <div ng-controller="AngularController" style="z-index: 3;"> <div ng-if="ParentSettings.Location != null && ParentSettings.Location.indexOf('Admin') == 0" ng-include="'AdminMenu.html?' + ParentSettings.Random" class="cell_xs_4 cell_sm_2" style="height: 100%;"></div> <!-- SHARES PAGE -> DON'T USE DEFA