Commit Graph
58 Commits
Author SHA1 Message Date
Kenneth Skovhede 72d9e4a146 Testing wait for clickable elements 2024-07-19 11:59:27 +02:00
Kenneth Skovhede 823e641f1a Revert "More delay fixing"
This reverts commit 5c8237d504.
2024-07-19 11:57:48 +02:00
Kenneth Skovhede 5619b4dae7 Revert "More timing fiddle"
This reverts commit a43b5d9aa2.
2024-07-19 11:55:17 +02:00
Kenneth Skovhede 0f545da677 Revert "Yet another timing fix"
This reverts commit d2937538a1.
2024-07-19 11:54:25 +02:00
Kenneth Skovhede 6b4e6ff4de Revert "More waiting in failed area"
This reverts commit 9956c387e3.
2024-07-19 11:53:18 +02:00
Kenneth Skovhede 7361e65522 Revert "Probing to see if reloads fixes loading issues"
This reverts commit 71728840be.
2024-07-19 11:53:13 +02:00
Kenneth Skovhede 71728840be Probing to see if reloads fixes loading issues 2024-07-18 18:10:48 +02:00
Kenneth Skovhede 9956c387e3 More waiting in failed area 2024-07-18 17:58:11 +02:00
Kenneth Skovhede 029f494de8 Attempt to pinpoint the timing failures 2024-07-18 16:57:12 +02:00
Kenneth Skovhede d2937538a1 Yet another timing fix 2024-07-18 15:18:04 +02:00
Kenneth Skovhede 7304206ee6 More timing work 2024-07-18 14:42:45 +02:00
Kenneth Skovhede a43b5d9aa2 More timing fiddle 2024-07-18 14:38:45 +02:00
Kenneth Skovhede fde68493b7 Another timeout test 2024-07-18 14:15:50 +02:00
Kenneth Skovhede 5c8237d504 More delay fixing 2024-07-18 14:09:37 +02:00
Kenneth Skovhede be85297ace Another attempt at avoiding the request exhaustion in tests 2024-07-18 14:02:58 +02:00
Kenneth Skovhede 2b3fed2da1 Trying to work around resource issues 2024-07-18 11:22:53 +02:00
Kenneth Skovhede aa3a8556a9 Added some debug output and reload guards 2024-07-18 11:17:09 +02:00
Kenneth Skovhede 4e4fc50496 Add time for resources to load 2024-07-18 11:13:13 +02:00
Kenneth Skovhede 5d0d9fbc80 Simplified initial load fixing for Selenium tests 2024-07-01 22:40:36 +02:00
Kenneth Skovhede 4fe138097b Experiement to detect failed page load 2024-07-01 22:33:54 +02:00
Kenneth Skovhede d7345ad993 Double loading guard 2024-07-01 17:58:16 +02:00
Kenneth Skovhede 85368266ed Added two more loading guards 2024-07-01 14:54:47 +02:00
Kenneth Skovhede 5e9ec4ee98 Fixed selenium tests 2024-07-01 13:36:27 +02:00
Kenneth Skovhede 54237b1cbb Updated gui test, works locally, not in Docker 2024-06-28 16:03:54 +02:00
Kenneth Skovhede 8f56220f2f Added support for mandatory login 2024-06-28 11:37:16 +02:00
Kenneth Skovhede 5e62a33f2e Restored options to support different selenium configurations 2024-04-18 16:05:11 +02:00
Thomas Suckow a3bbf63561 Merge remote-tracking branch 'origin/feature/upgrade-to-sdk-style-projects' into feature/net5-kestrel
# Conflicts:
#	.appveyor.yml
#	.github/workflows/tests.yml
#	BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.csproj
#	BuildTools/DependencyFinder/DependencyFinder.csproj
#	BuildTools/GnupgSigningTool/GnupgSigningTool.csproj
#	BuildTools/UpdateVersionStamp/UpdateVersionStamp.csproj
#	Duplicati CommandLine Only.sln
#	Duplicati.Library.RestAPI/RESTMethods/RequestInfo.cs
#	Duplicati.Library.RestAPI/Runner.cs
#	Duplicati.sln
#	Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
#	Duplicati/CommandLine/BackendTester/app.config
#	Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
#	Duplicati/CommandLine/BackendTool/app.config
#	Duplicati/CommandLine/ConfigurationImporter/Duplicati.CommandLine.ConfigurationImporter.csproj
#	Duplicati/CommandLine/Duplicati.CommandLine.csproj
#	Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
#	Duplicati/CommandLine/app.config
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Assets/icons/normal-warning.png
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Program.cs
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/app.config
#	Duplicati/Library/AutoUpdater/Duplicati.Library.AutoUpdater.csproj
#	Duplicati/Library/Backend/AlternativeFTP/Duplicati.Library.Backend.AlternativeFTP.csproj
#	Duplicati/Library/Backend/AzureBlob/Duplicati.Library.Backend.AzureBlob.csproj
#	Duplicati/Library/Backend/Backblaze/Duplicati.Library.Backend.Backblaze.csproj
#	Duplicati/Library/Backend/Box/Duplicati.Library.Backend.Box.csproj
#	Duplicati/Library/Backend/CloudFiles/Duplicati.Library.Backend.CloudFiles.csproj
#	Duplicati/Library/Backend/Dropbox/Duplicati.Library.Backend.Dropbox.csproj
#	Duplicati/Library/Backend/FTP/Duplicati.Library.Backend.FTP.csproj
#	Duplicati/Library/Backend/File/Duplicati.Library.Backend.File.csproj
#	Duplicati/Library/Backend/GoogleServices/Duplicati.Library.Backend.GoogleServices.csproj
#	Duplicati/Library/Backend/HubiC/Duplicati.Library.Backend.HubiC.csproj
#	Duplicati/Library/Backend/Idrivee2/Duplicati.Library.Backend.Idrivee2.csproj
#	Duplicati/Library/Backend/Jottacloud/Duplicati.Library.Backend.Jottacloud.csproj
#	Duplicati/Library/Backend/Mega/Duplicati.Library.Backend.Mega.csproj
#	Duplicati/Library/Backend/OAuthHelper/Duplicati.Library.OAuthHelper.csproj
#	Duplicati/Library/Backend/OneDrive/Duplicati.Library.Backend.OneDrive.csproj
#	Duplicati/Library/Backend/OpenStack/Duplicati.Library.Backend.OpenStack.csproj
#	Duplicati/Library/Backend/Rclone/Duplicati.Library.Backend.Rclone.csproj
#	Duplicati/Library/Backend/S3/Duplicati.Library.Backend.S3.csproj
#	Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj
#	Duplicati/Library/Backend/SharePoint/Duplicati.Library.Backend.SharePoint.csproj
#	Duplicati/Library/Backend/Sia/Duplicati.Library.Backend.Sia.csproj
#	Duplicati/Library/Backend/Storj/Duplicati.Library.Backend.Storj.csproj
#	Duplicati/Library/Backend/TahoeLAFS/Duplicati.Library.Backend.TahoeLAFS.csproj
#	Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
#	Duplicati/Library/Backend/TencentCOS/Duplicati.Library.Backend.TencentCOS.csproj
#	Duplicati/Library/Backend/WEBDAV/Duplicati.Library.Backend.WEBDAV.csproj
#	Duplicati/Library/Common/Duplicati.Library.Common.csproj
#	Duplicati/Library/Compression/Duplicati.Library.Compression.csproj
#	Duplicati/Library/DynamicLoader/Duplicati.Library.DynamicLoader.csproj
#	Duplicati/Library/Encryption/Duplicati.Library.Encryption.csproj
#	Duplicati/Library/Interface/Duplicati.Library.Interface.csproj
#	Duplicati/Library/Localization/Duplicati.Library.Localization.csproj
#	Duplicati/Library/Logging/Duplicati.Library.Logging.csproj
#	Duplicati/Library/Main/Duplicati.Library.Main.csproj
#	Duplicati/Library/Modules/Builtin/CheckMonoSSL.cs
#	Duplicati/Library/Modules/Builtin/Duplicati.Library.Modules.Builtin.csproj
#	Duplicati/Library/Modules/Builtin/SendJabberMessage.cs
#	Duplicati/Library/SQLiteHelper/Duplicati.Library.SQLiteHelper.csproj
#	Duplicati/Library/Snapshots/Duplicati.Library.Snapshots.csproj
#	Duplicati/Library/UsageReporter/Duplicati.Library.UsageReporter.csproj
#	Duplicati/Library/Utility/Duplicati.Library.Utility.csproj
#	Duplicati/Library/Utility/HashAlgorithmHelper.cs
#	Duplicati/Library/Utility/Power/WindowsPowerSupplyState.cs
#	Duplicati/License/Duplicati.License.csproj
#	Duplicati/Server/Duplicati.Server.Serialization/Duplicati.Server.Serialization.csproj
#	Duplicati/Server/Duplicati.Server.csproj
#	Duplicati/Server/app.config
#	Duplicati/Service/Duplicati.Service.csproj
#	Duplicati/Service/app.config
#	Duplicati/Tools/Duplicati.Tools.csproj
#	Duplicati/UnitTest/Duplicati.UnitTest.csproj
#	Duplicati/UnitTest/GeneralBlackBoxTesting.cs
#	Duplicati/UnitTest/app.config
#	Duplicati/WindowsService/WindowsService.csproj
#	Installer/debian/docker/debian/control
#	Tools/SQLiteTool/SQLiteTool.csproj
#	Tools/ZipFileDebugger/ZipFileDebugger.csproj
#	guiTests/guiTest.py
#	thirdparty/UnixSupport/UnixSupport.csproj
#	thirdparty/alphavss/Homepage.txt
#	thirdparty/alphavss/License.txt
#	thirdparty/alphavss/licensedata.json
2024-02-29 21:55:17 -08:00
gpatel-fr 52c1222b24 add chrome driver to guitest, updates it and tests. 2023-05-04 10:46:40 +02:00
Thomas Suckow 78197453a1 Merge remote-tracking branch master into feature/net5-avalonia
# Conflicts:
#	Duplicati CommandLine Only.sln
#	Duplicati.sln
#	Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
#	Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
#	Duplicati/CommandLine/Duplicati.CommandLine.csproj
#	Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/app.config
#	Duplicati/Library/AutoUpdater/UpdaterManager.cs
#	Duplicati/Library/Backend/Jottacloud/Duplicati.Library.Backend.Jottacloud.csproj
#	Duplicati/Library/Main/Duplicati.Library.Main.csproj
#	Duplicati/Library/Utility/Duplicati.Library.Utility.csproj
#	Duplicati/Library/Utility/Utility.cs
#	Duplicati/Server/Duplicati.Server.csproj
#	Duplicati/Server/app.config
#	Duplicati/Service/app.config
#	Duplicati/UnitTest/BackendToolTests.cs
#	Duplicati/UnitTest/Duplicati.UnitTest.csproj
#	guiTests/guiTest.py
2022-11-11 21:40:08 -08:00
gpatel-fr 1041695c16 fix gui tests following Selenium removing find_elements_by_* methods in 4.3.0 2022-07-19 00:14:44 +02:00
Thomas Suckow 26dea45698 Fix bad merge of firefox options 2022-03-03 21:50:24 -08:00
Thomas Suckow bf5b9537d8 Merge remote-tracking branch 'thomas/feature/net5-freebsd' into feature/net5-unsplit
# Conflicts:
#	Duplicati.sln
#	Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
#	Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
#	Duplicati/CommandLine/CLI/Commands.cs
#	Duplicati/CommandLine/Duplicati.CommandLine.csproj
#	Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/ImageLoader.cs
#	Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj
#	Duplicati/Library/Backend/SSHv2/packages.config
#	Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
#	Duplicati/Library/Common/Duplicati.Library.Common.csproj
#	Duplicati/Library/SQLiteHelper/Duplicati.Library.SQLiteHelper.csproj
#	Duplicati/Library/Snapshots/Duplicati.Library.Snapshots.csproj
#	Duplicati/License/Duplicati.License.csproj
#	Duplicati/Server/Duplicati.Server.csproj
#	Duplicati/UnitTest/Duplicati.UnitTest.csproj
#	Duplicati/UnitTest/TestUtils.cs
#	Duplicati/UnixSupport/UnixSupport.csproj
#	Installer/Makefile/Makefile
#	guiTests/guiTest.py
2022-03-03 21:20:34 -08:00
samuel-w 5da43d89cf Add comment 2021-09-25 14:15:29 -05:00
samuel-w 0ea2033961 Shorten XPATH 2021-09-25 14:13:57 -05:00
samuel-w e0cf18c639 Add sleep before checkbox 2021-09-24 23:27:36 -05:00
samuel-w 89bbb4d32f Fix 2021-09-24 23:11:22 -05:00
samuel-w b71f4c274d Copied code wrong 2021-09-24 23:01:00 -05:00
samuel-w 89ef8e7e2d Explicit wait for all elements 2021-09-24 22:58:42 -05:00
samuel-w cb03e73dfe Add more delays, increase time 2021-09-22 01:03:41 -05:00
samuel-w ec78d9ddc5 Add delays between backup pages in test 2021-09-22 00:56:55 -05:00
Thomas Suckow 70727b9f68 Merge remote-tracking branch 'duplicati/master'
# Conflicts:
#	.appveyor.yml
#	Duplicati.sln
#	Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
#	Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
#	Duplicati/CommandLine/Duplicati.CommandLine.csproj
#	Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
#	Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
#	Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj
#	Duplicati/Library/Backend/SSHv2/packages.config
#	Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
#	Duplicati/Library/Backend/Telegram/Duplicati.Library.Backend.Telegram.csproj
#	Duplicati/Library/Backend/Telegram/Properties/AssemblyInfo.cs
#	Duplicati/License/Duplicati.License.csproj
#	Duplicati/Server/Duplicati.Server.csproj
#	Duplicati/UnitTest/Duplicati.UnitTest.csproj
#	Duplicati/UnitTest/PurgeTesting.cs
#	Installer/fedora/duplicati-binary.spec
#	Installer/fedora/duplicati.spec
#	guiTests/guiTest.py
#	pipeline/shared/duplicati.sh
#	pipeline/stage_build/trigger.sh
#	pipeline/stage_integrationtests/job.sh
#	pipeline/stage_integrationtests/trigger.sh
#	pipeline/stage_unittests/trigger.sh
2021-04-01 20:30:19 -07:00
Kenneth Hsu 683ec18df2 Always maximize window in selenium tests.
There are random times when the input fields cannot be found, and this
seems to help.
2021-01-09 18:55:21 -08:00
Kenneth Hsu e55662961c Update print statements to be compatible with Python 3.
The latest selenium/standalone-firefox image is based on Ubuntu 20.04,
which doesn't support Python 2.
2021-01-09 18:45:14 -08:00
Thomas Suckow 32c3eb3a0e Selenium Docker Actions 2021-01-07 21:43:58 -08:00
Thomas Suckow 47b3da1cd3 Python 3 2021-01-05 20:37:07 -08:00
Kenneth Hsu dd09bad2f2 Fix search for ellipsis in GUI tests.
The three periods were replaced by an ellipsis in revision 7ff50a30e1
(pull request #3885).
2019-09-20 10:17:50 -07:00
verhoek 06fe22f581 Allow headless testing in container. 2018-12-26 09:58:02 +01:00
Kenneth Skovhede 7d4f711370 Added robustness to GUI tests 2018-11-29 10:59:33 +01:00
Kenneth Skovhede fbd53dc377 Fixed GUI the unittest 2017-08-29 13:03:33 +02:00
Kenneth Skovhede 6d198768d6 Fixed some issues with the gui tests 2017-02-14 10:08:41 +01:00