Skip to content

Commit

Permalink
moved scripts to subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Raczek committed Dec 4, 2024
1 parent 9d34ab4 commit d8e789f
Show file tree
Hide file tree
Showing 68 changed files with 4,156 additions and 4,156 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
sudo apt-get install docker-compose -y
- run: docker-compose -f docker-compose.yml up -d
- shell: pwsh
run: ./ExecutingTestsOnDockerGithubActions.ps1
run: ./scripts/ExecutingTestsOnDockerGithubActions.ps1
if: true
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/linux@v2
Expand All @@ -143,7 +143,7 @@ jobs:
sed -i '/Documentation/,+5 d' ./Ocaramba.sln
- run: dotnet build ./Ocaramba.sln --configuration ${{ env.buildConfiguration }}
- shell: pwsh
run: ./ExecutingTestsOnLinuxAzure.ps1
run: ./scripts/ExecutingTestsOnLinuxAzure.ps1
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/linux@v2
if: true
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
MAPPED_ENV_TESTINGBOTSECRET: ${{ secrets.testingbotsecret }}
MAPPED_ENV_SAUCELABSACCESSKEY: ${{ secrets.saucelabsaccessKey }}
MAPPED_ENV_SAUCELABSUSERNAME: ${{ secrets.saucelabsusername }}
run: ./ExecutingTestsOnLinuxBrowserStackGithubActions.ps1
run: ./scripts/ExecutingTestsOnLinuxBrowserStackGithubActions.ps1
- name: 'Start BrowserStackLocal Tunnel'
uses: 'browserstack/github-actions/setup-local@master'
with:
Expand All @@ -211,7 +211,7 @@ jobs:
with:
name: OcarambaBuild
- run: Expand-Archive -Path OcarambaBuild.zip -DestinationPath ./
- run: ./ExecutingTestsOnWindowsGithubActions1.ps1
- run: ./scripts/ExecutingTestsOnWindowsGithubActions1.ps1
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/windows@v2
if: always()
Expand All @@ -238,7 +238,7 @@ jobs:
with:
name: OcarambaBuild
- run: Expand-Archive -Path OcarambaBuild.zip -DestinationPath ./
- run: ./ExecutingTestsOnWindowsGithubActions2.ps1
- run: ./scripts/ExecutingTestsOnWindowsGithubActions2.ps1
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/windows@v2
if: always()
Expand All @@ -259,7 +259,7 @@ jobs:
with:
name: OcarambaBuild
- run: Expand-Archive -Path OcarambaBuild.zip -DestinationPath ./
- run: ./ExecutingTestsOnWindowsGithubActions3.ps1
- run: ./scripts/ExecutingTestsOnWindowsGithubActions3.ps1
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/windows@v2
if: always()
Expand All @@ -279,7 +279,7 @@ jobs:
with:
name: OcarambaBuild
- run: Expand-Archive -Path OcarambaBuild.zip -DestinationPath ./
- run: ./ExecutingTestsOnWindowsGithubActions4.ps1
- run: ./scripts/ExecutingTestsOnWindowsGithubActions4.ps1
env:
MAPPED_ENV_BROWSERSTACKKEY: ${{ secrets.BROWSERSTACKKEY }}
MAPPED_ENV_BROWSERSTACKUSER: ${{ secrets.BROWSERSTACKUSER }}
Expand All @@ -306,7 +306,7 @@ jobs:
with:
name: OcarambaBuild
- run: Expand-Archive -Path OcarambaBuild.zip -DestinationPath ./
- run: ./ExecutingTestsOnWindowsGithubActions5.ps1
- run: ./scripts/ExecutingTestsOnWindowsGithubActions5.ps1
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/windows@v2
if: always()
Expand All @@ -327,7 +327,7 @@ jobs:
with:
name: OcarambaBuild
- run: Expand-Archive -Path OcarambaBuild.zip -DestinationPath ./
- run: ./ExecutingTestsOnWindowsGithubActions6.ps1
- run: ./scripts/ExecutingTestsOnWindowsGithubActions6.ps1
env:
MAPPED_ENV_BROWSERSTACKKEY: ${{ secrets.BROWSERSTACKKEY }}
MAPPED_ENV_BROWSERSTACKUSER: ${{ secrets.BROWSERSTACKUSER }}
Expand Down
242 changes: 121 additions & 121 deletions Ocaramba.Tests.Angular/App.config
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>
Loading

0 comments on commit d8e789f

Please sign in to comment.