Esempio n. 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;
                }
            }
        }
Esempio n. 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;
                }
            }
        }
Esempio n. 3
0
 public override void Configure()
 {
     NUnitPluginConfiguration.Add();
     ExecutionTimePlugin.Add();
     VideoRecorderPluginConfiguration.AddNUnit();
     ScreenshotsPluginConfiguration.AddNUnit();
     AndroidPluginsConfiguration.AddAndroidDriverScreenshotsOnFail();
     AndroidPluginsConfiguration.AddElementsBddLogging();
     AndroidPluginsConfiguration.AddDynamicTestCases();
     AndroidPluginsConfiguration.AddBugReporting();
     AndroidPluginsConfiguration.AddValidateExtensionsBddLogging();
     AndroidPluginsConfiguration.AddValidateExtensionsDynamicTestCases();
     AndroidPluginsConfiguration.AddValidateExtensionsBugReporting();
     AndroidPluginsConfiguration.AddLayoutAssertionExtensionsBddLogging();
     AndroidPluginsConfiguration.AddLayoutAssertionExtensionsDynamicTestCases();
     AndroidPluginsConfiguration.AddLayoutAssertionExtensionsBugReporting();
     AndroidPluginsConfiguration.AddLifecycle();
     AndroidPluginsConfiguration.AddLogExecutionLifecycle();
 }
Esempio n. 4
0
        public override void Configure()
        {
            MSTestPluginConfiguration.Add();
            ExecutionTimePlugin.Add();
            VideoRecorderPluginConfiguration.AddMSTest();
            ScreenshotsPluginConfiguration.AddMSTest();
            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.AddHighlightElements();

            WebScreenshotPluginConfiguration.UseFullPageScreenshotsOnFail();
        }