Exemple #1
0
        public override void Configure()
        {
            lock (_lockObject)
            {
                if (!_arePluginsAlreadyInitialized)
                {
                    NUnitPluginConfiguration.Add();
                    ExecutionTimePlugin.Add();
                    DynamicTestCasesPlugin.Add();
                    AllurePlugin.Add();
                    BugReportingPlugin.Add();
                    VideoRecorderPluginConfiguration.AddNUnit();
                    ScreenshotsPluginConfiguration.AddNUnit();
                    IOSPluginsConfiguration.AddIOSDriverScreenshotsOnFail();
                    IOSPluginsConfiguration.AddElementsBddLogging();
                    IOSPluginsConfiguration.AddDynamicTestCases();
                    IOSPluginsConfiguration.AddBugReporting();
                    IOSPluginsConfiguration.AddValidateExtensionsBddLogging();
                    IOSPluginsConfiguration.AddValidateExtensionsDynamicTestCases();
                    IOSPluginsConfiguration.AddValidateExtensionsBugReporting();
                    IOSPluginsConfiguration.AddLayoutAssertionExtensionsBddLogging();
                    IOSPluginsConfiguration.AddLayoutAssertionExtensionsDynamicTestCases();
                    IOSPluginsConfiguration.AddLayoutAssertionExtensionsBugReporting();
                    IOSPluginsConfiguration.AddLifecycle();
                    IOSPluginsConfiguration.AddLogExecutionLifecycle();

                    _arePluginsAlreadyInitialized = true;
                }
            }
        }
Exemple #2
0
        public override void Configure()
        {
            lock (_lockObject)
            {
                if (!_arePluginsAlreadyInitialized)
                {
                    NUnitPluginConfiguration.Add();
                    ExecutionTimePlugin.Add();
                    VideoRecorderPluginConfiguration.AddNUnit();
                    ScreenshotsPluginConfiguration.AddNUnit();
                    DynamicTestCasesPlugin.Add();
                    AllurePlugin.Add();
                    BugReportingPlugin.Add();

                    WebPluginsConfiguration.AddBrowserLifecycle();
                    WebPluginsConfiguration.AddLogExecutionLifecycle();
                    WebPluginsConfiguration.AddControlDataHandlers();
                    WebPluginsConfiguration.AddValidateExtensionsBddLogging();
                    WebPluginsConfiguration.AddValidateExtensionsDynamicTestCases();
                    WebPluginsConfiguration.AddValidateExtensionsBugReporting();
                    WebPluginsConfiguration.AddLayoutAssertionExtensionsBddLogging();
                    WebPluginsConfiguration.AddLayoutAssertionExtensionsDynamicTestCases();
                    WebPluginsConfiguration.AddLayoutAssertionExtensionsBugReporting();
                    WebPluginsConfiguration.AddElementsBddLogging();
                    WebPluginsConfiguration.AddDynamicTestCases();
                    WebPluginsConfiguration.AddBugReporting();
                    WebPluginsConfiguration.AddHighlightComponents();
                    WebPluginsConfiguration.AddNUnitGoogleLighthouse();
                    WebPluginsConfiguration.AddJavaScriptErrorsPlugin();

                    APIPluginsConfiguration.AddAssertExtensionsBddLogging();
                    APIPluginsConfiguration.AddApiAssertExtensionsDynamicTestCases();
                    APIPluginsConfiguration.AddAssertExtensionsBugReporting();
                    APIPluginsConfiguration.AddApiAuthenticationStrategies();
                    APIPluginsConfiguration.AddRetryFailedRequests();
                    APIPluginsConfiguration.AddLogExecution();

                    if (ConfigurationService.GetSection <WebSettings>().FullPageScreenshotsEnabled)
                    {
                        WebScreenshotPluginConfiguration.UseFullPageScreenshotsOnFail();
                    }
                    else
                    {
                        WebScreenshotPluginConfiguration.UseVanillaWebDriverScreenshotsOnFail();
                    }

                    _arePluginsAlreadyInitialized = true;
                }
            }
        }
Exemple #3
0
        public override void Configure()
        {
            lock (_lockObject)
            {
                if (!_arePluginsAlreadyInitialized)
                {
                    NUnitPluginConfiguration.Add();
                    ExecutionTimePlugin.Add();
                    DynamicTestCasesPlugin.Add();
                    AllurePlugin.Add();
                    BugReportingPlugin.Add();
                    APIPluginsConfiguration.AddAssertExtensionsBddLogging();
                    APIPluginsConfiguration.AddApiAssertExtensionsDynamicTestCases();
                    APIPluginsConfiguration.AddAssertExtensionsBugReporting();
                    APIPluginsConfiguration.AddApiAuthenticationStrategies();
                    APIPluginsConfiguration.AddRetryFailedRequests();
                    APIPluginsConfiguration.AddLogExecution();

                    _arePluginsAlreadyInitialized = true;
                }
            }
        }