-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jakub Raczek
committed
Dec 4, 2024
1 parent
9d34ab4
commit d8e789f
Showing
68 changed files
with
4,156 additions
and
4,156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,122 +1,122 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<configSections> | ||
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" /> | ||
<section name="FirefoxPreferences" type="System.Configuration.NameValueSectionHandler" /> | ||
<section name="FirefoxExtensions" type="System.Configuration.NameValueSectionHandler" /> | ||
<section name="ChromePreferences" type="System.Configuration.NameValueSectionHandler" /> | ||
<section name="ChromeExtensions" type="System.Configuration.NameValueSectionHandler" /> | ||
<section name="DriverCapabilities" type="System.Configuration.NameValueSectionHandler" /> | ||
<section name="ChromeArguments" type="System.Configuration.NameValueSectionHandler" /> | ||
<section name="InternetExplorerPreferences" type="System.Configuration.NameValueSectionHandler" /> | ||
</configSections> | ||
<appSettings> | ||
<!--mandatory keys--> | ||
<add key="protocol" value="http" /> | ||
<add key="host" value="www.protractortest.org" /> | ||
<add key="url" value="" /> | ||
<!--<add key="browser" value="Chrome" />--> | ||
<!--<add key="browser" value="InternetExplorer" />--> | ||
<!--<add key="browser" value="Firefox" />--> | ||
<!--<add key="browser" value="Safari" />--> | ||
<!--<add key="browser" value="Edge" />--> | ||
<!--<add key="browser" value="RemoteWebDriver" />--> | ||
<add key="browser" value="Chrome" /> | ||
<!--Set path to the directory containing Drivers, leave it empty for default locations \bin--> | ||
<add key="PathToChromeDriverDirectory" value="" /> | ||
<add key="PathToFirefoxDriverDirectory" value="" /> | ||
<add key="PathToInternetExplorerDriverDirectory" value="" /> | ||
<!--Set path and file name of the browsers executable, leave it empty for default locations--> | ||
<add key="ChromeBrowserExecutableLocation" value="" /> | ||
<add key="FireFoxBrowserExecutableLocation" value="" /> | ||
<add key="FirefoxUseLegacyImplementation" value="false" /> | ||
<!--Set path path to firefox profile, leave it empty for default--> | ||
<add key="PathToFirefoxProfile" value="" /> | ||
<add key="RemoteWebDriverHub" value="http://localhost:4444/wd/hub" /> | ||
<add key="DriverCapabilities" value="Chrome" /> | ||
<!-- sets all proxies (http, ftp, ssl, socks) to given value--> | ||
<!--<add key="proxy" value="127.0.0.1:9999" />--> | ||
<!-- sets specifc proxy to value - overides value from proxy--> | ||
<!--<add key="httpProxy" value="127.0.0.1:9999" />--> | ||
<!--<add key="ftpProxy" value="127.0.0.1:9999" />--> | ||
<!--<add key="sslProxy" value="127.0.0.1:9999" />--> | ||
<!--<add key="socksproxy" value="127.0.0.1:9999" />--> | ||
|
||
<!--Timeouts--> | ||
<add key="longTimeout" value="30" /> | ||
<add key="mediumTimeout" value="10" /> | ||
<add key="shortTimeout" value="3" /> | ||
<add key="ImplicitlyWaitMilliseconds" value="200" /> | ||
<!--nlog trace level must be set to "trace" for at least one logger to see EventFiringWebDriver logs--> | ||
<add key="EnableEventFiringWebDriver" value="true" /> | ||
<!--User credentials--> | ||
<add key="username" value="admin" /> | ||
<add key="password" value="admin" /> | ||
<!--Downloaded files, screenshots and page source location--> | ||
<add key="UseCurrentDirectory" value="true" /> | ||
<add key="DownloadFolder" value="TestOutput" /> | ||
<add key="ScreenShotFolder" value="TestOutput" /> | ||
<add key="PageSourceFolder" value="TestOutput" /> | ||
<!--Screenshots and logging--> | ||
<add key="FullDesktopScreenShotEnabled" value="true" /> | ||
<add key="SeleniumScreenShotEnabled" value="true" /> | ||
<add key="GetPageSourceEnabled" value="true" /> | ||
<!--DataDrivenFile--> | ||
<add key="DataDrivenFile" value="\DataDriven\DataDriven.xml" /> | ||
<add key="ClientSettingsProvider.ServiceUri" value="" /> | ||
</appSettings> | ||
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd" autoReload="true" throwExceptions="false" internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log"> | ||
<targets> | ||
<target name="logfile" xsi:type="File" fileName="${basedir}\TestAngular.log" layout="${longdate}|${level}|${callsite}|${message}" /> | ||
<target name="console" xsi:type="ColoredConsole" layout="${longdate}|${level}|${callsite}|${message}" /> | ||
</targets> | ||
<rules> | ||
<logger name="*" minlevel="Trace" writeTo="logfile" /> | ||
<logger name="*" minlevel="Trace" writeTo="console" /> | ||
</rules> | ||
</nlog> | ||
<FirefoxPreferences> | ||
<add key="browser.download.folderList" value="2" /> | ||
<add key="browser.download.managershowWhenStarting" value="false" /> | ||
</FirefoxPreferences> | ||
<FirefoxExtensions> | ||
<!-->add key="FirefoxPluginName.xpi" value=""/--> | ||
</FirefoxExtensions> | ||
<ChromePreferences> | ||
<!--add key="PreferenceToBeOverride" value="NewValue" /--> | ||
</ChromePreferences> | ||
<ChromeExtensions> | ||
<!-->add key="ChromePluginName.crx" value=""/--> | ||
</ChromeExtensions> | ||
<DriverCapabilities> | ||
<!-->add key="CapabilityName" value=""/--> | ||
</DriverCapabilities> | ||
<ChromeArguments> | ||
<!--<add key="ChromeArgument" value=""/>--> | ||
</ChromeArguments> | ||
<InternetExplorerPreferences> | ||
<add key="EnsureCleanSession" value="false" /> | ||
<add key="EnablePersistentHover" value="false" /> | ||
<add key="IntroduceInstabilityByIgnoringProtectedModeSettings" value="true" /> | ||
</InternetExplorerPreferences> | ||
<startup> | ||
<supportedRuntime version="v4.7.2" sku=".NETFramework,Version=v4.7.2"/> | ||
</startup> | ||
|
||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly> | ||
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="9.0.0.0" /> | ||
</dependentAssembly> | ||
<dependentAssembly> | ||
<assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="9.0.0.0" /> | ||
</dependentAssembly> | ||
<dependentAssembly> | ||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="6.0.0.0" /> | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
</runtime> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<configSections> | ||
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" /> | ||
<section name="FirefoxPreferences" type="System.Configuration.NameValueSectionHandler" /> | ||
<section name="FirefoxExtensions" type="System.Configuration.NameValueSectionHandler" /> | ||
<section name="ChromePreferences" type="System.Configuration.NameValueSectionHandler" /> | ||
<section name="ChromeExtensions" type="System.Configuration.NameValueSectionHandler" /> | ||
<section name="DriverCapabilities" type="System.Configuration.NameValueSectionHandler" /> | ||
<section name="ChromeArguments" type="System.Configuration.NameValueSectionHandler" /> | ||
<section name="InternetExplorerPreferences" type="System.Configuration.NameValueSectionHandler" /> | ||
</configSections> | ||
<appSettings> | ||
<!--mandatory keys--> | ||
<add key="protocol" value="http" /> | ||
<add key="host" value="www.protractortest.org" /> | ||
<add key="url" value="" /> | ||
<!--<add key="browser" value="Chrome" />--> | ||
<!--<add key="browser" value="InternetExplorer" />--> | ||
<!--<add key="browser" value="Firefox" />--> | ||
<!--<add key="browser" value="Safari" />--> | ||
<!--<add key="browser" value="Edge" />--> | ||
<!--<add key="browser" value="RemoteWebDriver" />--> | ||
<add key="browser" value="Chrome" /> | ||
<!--Set path to the directory containing Drivers, leave it empty for default locations \bin--> | ||
<add key="PathToChromeDriverDirectory" value="" /> | ||
<add key="PathToFirefoxDriverDirectory" value="" /> | ||
<add key="PathToInternetExplorerDriverDirectory" value="" /> | ||
<!--Set path and file name of the browsers executable, leave it empty for default locations--> | ||
<add key="ChromeBrowserExecutableLocation" value="" /> | ||
<add key="FireFoxBrowserExecutableLocation" value="" /> | ||
<add key="FirefoxUseLegacyImplementation" value="false" /> | ||
<!--Set path path to firefox profile, leave it empty for default--> | ||
<add key="PathToFirefoxProfile" value="" /> | ||
<add key="RemoteWebDriverHub" value="http://localhost:4444/wd/hub" /> | ||
<add key="DriverCapabilities" value="Chrome" /> | ||
<!-- sets all proxies (http, ftp, ssl, socks) to given value--> | ||
<!--<add key="proxy" value="127.0.0.1:9999" />--> | ||
<!-- sets specifc proxy to value - overides value from proxy--> | ||
<!--<add key="httpProxy" value="127.0.0.1:9999" />--> | ||
<!--<add key="ftpProxy" value="127.0.0.1:9999" />--> | ||
<!--<add key="sslProxy" value="127.0.0.1:9999" />--> | ||
<!--<add key="socksproxy" value="127.0.0.1:9999" />--> | ||
|
||
<!--Timeouts--> | ||
<add key="longTimeout" value="30" /> | ||
<add key="mediumTimeout" value="10" /> | ||
<add key="shortTimeout" value="3" /> | ||
<add key="ImplicitlyWaitMilliseconds" value="200" /> | ||
<!--nlog trace level must be set to "trace" for at least one logger to see EventFiringWebDriver logs--> | ||
<add key="EnableEventFiringWebDriver" value="true" /> | ||
<!--User credentials--> | ||
<add key="username" value="admin" /> | ||
<add key="password" value="admin" /> | ||
<!--Downloaded files, screenshots and page source location--> | ||
<add key="UseCurrentDirectory" value="true" /> | ||
<add key="DownloadFolder" value="TestOutput" /> | ||
<add key="ScreenShotFolder" value="TestOutput" /> | ||
<add key="PageSourceFolder" value="TestOutput" /> | ||
<!--Screenshots and logging--> | ||
<add key="FullDesktopScreenShotEnabled" value="true" /> | ||
<add key="SeleniumScreenShotEnabled" value="true" /> | ||
<add key="GetPageSourceEnabled" value="true" /> | ||
<!--DataDrivenFile--> | ||
<add key="DataDrivenFile" value="\DataDriven\DataDriven.xml" /> | ||
<add key="ClientSettingsProvider.ServiceUri" value="" /> | ||
</appSettings> | ||
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd" autoReload="true" throwExceptions="false" internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log"> | ||
<targets> | ||
<target name="logfile" xsi:type="File" fileName="${basedir}\TestAngular.log" layout="${longdate}|${level}|${callsite}|${message}" /> | ||
<target name="console" xsi:type="ColoredConsole" layout="${longdate}|${level}|${callsite}|${message}" /> | ||
</targets> | ||
<rules> | ||
<logger name="*" minlevel="Trace" writeTo="logfile" /> | ||
<logger name="*" minlevel="Trace" writeTo="console" /> | ||
</rules> | ||
</nlog> | ||
<FirefoxPreferences> | ||
<add key="browser.download.folderList" value="2" /> | ||
<add key="browser.download.managershowWhenStarting" value="false" /> | ||
</FirefoxPreferences> | ||
<FirefoxExtensions> | ||
<!-->add key="FirefoxPluginName.xpi" value=""/--> | ||
</FirefoxExtensions> | ||
<ChromePreferences> | ||
<!--add key="PreferenceToBeOverride" value="NewValue" /--> | ||
</ChromePreferences> | ||
<ChromeExtensions> | ||
<!-->add key="ChromePluginName.crx" value=""/--> | ||
</ChromeExtensions> | ||
<DriverCapabilities> | ||
<!-->add key="CapabilityName" value=""/--> | ||
</DriverCapabilities> | ||
<ChromeArguments> | ||
<!--<add key="ChromeArgument" value=""/>--> | ||
</ChromeArguments> | ||
<InternetExplorerPreferences> | ||
<add key="EnsureCleanSession" value="false" /> | ||
<add key="EnablePersistentHover" value="false" /> | ||
<add key="IntroduceInstabilityByIgnoringProtectedModeSettings" value="true" /> | ||
</InternetExplorerPreferences> | ||
<startup> | ||
<supportedRuntime version="v4.7.2" sku=".NETFramework,Version=v4.7.2"/> | ||
</startup> | ||
|
||
<runtime> | ||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> | ||
<dependentAssembly> | ||
<assemblyIdentity name="System.Text.Json" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="9.0.0.0" /> | ||
</dependentAssembly> | ||
<dependentAssembly> | ||
<assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="9.0.0.0" /> | ||
</dependentAssembly> | ||
<dependentAssembly> | ||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> | ||
<bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="6.0.0.0" /> | ||
</dependentAssembly> | ||
</assemblyBinding> | ||
</runtime> | ||
</configuration> |
Oops, something went wrong.