aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/system/shared
Commit message (Collapse)AuthorAgeFilesLines
* Squish: Truncate productDisplayVersion's suffixHEADdevRobert Löhning2025-07-291-1/+1
| | | | | | | | | | | | | It used to only contain the version number, e.g. "17.14.5". Now it may contain a number-readable suffix, e.g. "17.14.9 (July 2025)". The old code crashed because it expected only integers separated by dots. The handling of the suffices is applied unconditionally because it is backward compatible with the old format. Change-Id: I12d20440bb917aef6ee23a0c2be0c6d41e7461f5 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Fix crashing tests after updating MSVSRobert Löhning2025-06-121-2/+9
| | | | | | Change-Id: Ief7b663f1fc3145b4359506bf5be8502e99b8918 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Log MSVS' versionRobert Löhning2025-03-241-0/+1
| | | | | | | Task-number: QTVSADDINBUG-1307 Change-Id: I5abab75397248058a7599dc71cb1724bd0c9d797 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Update copyright comments to 2025Ali Demiralp2025-03-183-9/+3
| | | | | Change-Id: I9ab1f8919a3d28cb546cd71bfdc8da1f6ae9e123 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Update for account creation dialogRobert Löhning2025-03-041-1/+1
| | | | | | | | The button now reads "Skip and add accounts later" Change-Id: I7db50b7a6deb5738f48cb90c3a5f28819b223627 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Make identification of main window more strictRobert Löhning2024-10-181-1/+2
| | | | | | | | The list of properties was very generic, so it could accidentally be used for other windows. Change-Id: Ifcb8f1874ca76c1ae28b4d249ae0b64bee2ec765 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Use proper object for the workflowHostViewRobert Löhning2024-10-181-0/+1
| | | | | | | | | Instead of that view, the main window's properties were used. This worked because the main window's identification is ambiguous. That will be fixed in a follow-up patch. Change-Id: Ica53235ea9d989e834111ea319ebafca825422eb Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Use correct container for "Continue without code"Robert Löhning2024-10-181-1/+5
| | | | | | | | | Instead of the Quick Start window's, the main window's properties were used. This worked because the main window's identification is ambiguous. That will be fixed in a follow-up patch. Change-Id: Ifefa4d969a121fca05f52b4d7a70a176dc9c3154 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Use correct object for "Services.SignIn.WizardFrame"Robert Löhning2024-10-081-3/+8
| | | | | Change-Id: Idb9d813f5d7006771e1ea5efffb0f4cbb58336dd Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Don't pass MSVS product line around when it's not neededRobert Löhning2024-09-051-4/+11
| | | | | | | | | | | | Since we're not testing MSVS2017 anymore, there are much less differences between the product lines of MSVS. Most functions which still got the product line as a parameter didn't use it anymore. Instead, this now calls a function to get the product line only if, when and where it's needed. The called function stores the information so there is hardly any overhead but the code is cleaner. Change-Id: Ib9b4f53e9f1b5fcd7e09a6ea7dddf487b4b6d8c2 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Handle MSVS' build directory regressionRobert Löhning2024-09-051-0/+12
| | | | | | | | | | MSVS 2022 17.10.0 and higher only build the first project in the location which used to be the default. After that, every following msbuild-based project will by default be built one level further down in the folder hierarchy. Change-Id: Ib0641a0bc1edbe3225496ad05cbd7e4ef4c7b195 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Allow switching app context to other than devenvRobert Löhning2024-07-101-4/+4
| | | | | Change-Id: I89a247c64495caa35e5c5e836f566bdd294878ec Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Update "Initializing" placeholder in menuRobert Löhning2024-05-271-1/+1
| | | | | | | | The readable text is now followed by a couple of line breaks and white spaces. Change-Id: I4034d43fa1123d089f5e1f0c305011b9e5b127df Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Fix application context to avoid exceptionRobert Löhning2024-05-271-1/+17
| | | | | Change-Id: If63dd0dbd5b9ad42af1cdb05c4cca138b9b0bf8a Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Clear Qt VS Tools' settings before running any testRobert Löhning2024-05-271-3/+19
| | | | | | | | Except for installation tests which expect the Qt VS Tools to not be installed. Change-Id: Ie7f5dbf3c5c0f77673bb9e207c4d40f78223a2f5 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Move OK button to globalnamesRobert Löhning2024-04-101-0/+2
| | | | | | | ...so it can be used anywhere. Change-Id: I0790e893363c91512fb75c5494f041d958b8c0a7 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Replace wait condition strings with lambdasRobert Löhning2024-04-081-1/+1
| | | | | Change-Id: I36519c083648e13b296d3ca9968f9146335862ae Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Test handling of invalid path to QtRobert Löhning2024-04-081-0/+1
| | | | | Change-Id: Ib806833c134677e5cfea7af4753522592515f312 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Adjust timingsRobert Löhning2024-04-051-1/+1
| | | | | | | | | | | | | | | | | - When opening the "Qt VS Tools" menu while the add-on is still initializing, the "Initializing" placeholder might not appear immediately. Wait a moment for it to appear before assuming that initializing finished. - The "You must select a Qt version" message might need a couple of seconds to appear. Give it some more. - When creating a new project, the automatically opened editor never took longer than four seconds to appear here. Waiting for ten seconds should be sufficient before assuming it won't show. Change-Id: I4cc56452412639dd342e8805d642347bce73613f Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Change source license to LicenseRef-Qt-Commercial or GPL-3.0-onlyAli Can Demiralp2024-02-283-3/+3
| | | | | | | | ... WITH Qt-GPL-exception. Fixes: QTVSADDINBUG-1179 Change-Id: I74fe451eec352af13436548cfd9a28f832fc0757 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Use objects recorded by Squish 7.2.1Robert Löhning2024-01-152-5/+5
| | | | | | | | | | | They provide better readability and also look more stable. Squish 7.1.0 can use these new objects while Squish 7.2.1 cannot handle the old ones. Task-number: SQUISH-16829 Change-Id: I4214eee31699b7e90eff67d37119102c068e36ca Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io> Reviewed-by: Katarina Behrens <katarina.behrens@qt.io>
* Update license year from 2023 to 2024Ali Can Demiralp2024-01-093-3/+3
| | | | | Change-Id: I38700243f7ef55239b247945324e4e0a978b097f Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Handle the "Sign in" nagscreenRobert Löhning2023-11-302-0/+8
| | | | | Change-Id: I70657698b398fe5995eb7c5a7e206244aa6f968f Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Import Testsection instead of including the sourceRobert Löhning2023-06-281-0/+1
| | | | | Change-Id: Idd6a9dc482a2bd7e8b750d0f25f4a940237565b3 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Add class for MSVS' "New Project" dialogRobert Löhning2023-06-141-0/+2
| | | | | | | | - to make it reusable in further tests - to ensure it's being closed when exceptions happen Change-Id: I9ceda21c593ffd1d420a8e644a2d4bc62bdd8485 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Use TestSectionsRobert Löhning2023-06-141-0/+18
| | | | | | | | | | | | It improves the readability of the results because it groups the test results of each section under one tree node which can be expanded separately. TestSection class taken from Qt Creator's Squish tests. Change-Id: Ic4944c813dbf934eb9fea39fb0c947896039d930 Reviewed-by: Miguel Costa <miguel.costa@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Squish: Handle delayed initialization of Qt VS ToolsRobert Löhning2023-03-202-2/+8
| | | | | | | | | | When opening the "Qt VS Tools" menu very quickly, it might still show a dummy entry and won't update. In this situation close and open the menu until it shows proper content. Change-Id: I3aaab5d297c3fea545b04adb902b3190cc978ce4 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Add script for resetting MSVS' experimental instanceRobert Löhning2023-03-202-12/+27
| | | | | Change-Id: I3a07f16749c8ef924788cde27dc873ac8e5e1f5f Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Remove unused objectsRobert Löhning2023-03-151-1/+0
| | | | | | | They were only used for VS2017. Change-Id: I833ba585d29a351b763887913cf4e06f67e37270 Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Remove all references to VS2017Karsten Heimrich2023-03-151-7/+3
| | | | | Change-Id: I8cea82209422196ad0d9c4f25d614de5d997a64b Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Replace license headerMiguel Costa2023-02-232-54/+8
| | | | | Change-Id: I6e7667d0f6f1245b5b225e74120d289bf595423d Reviewed-by: Karsten Heimrich <karsten.heimrich@qt.io>
* Squish: Run in experimental environmentRobert Löhning2023-01-161-1/+1
| | | | | | | | This still does not separate the tests from each other, it only avoids messing up the user's main environment. Change-Id: I1785aff8d236bd5ee43fdece5db6e310bdc06c36 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Fix importRobert Löhning2023-01-161-1/+0
| | | | | Change-Id: Ibe1e99ae2740b964ad9be12eaa72e2869f7c301f Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Split off global object mapRobert Löhning2022-10-262-6/+47
| | | | | Change-Id: I3d5a1bdd9bde30562917e1c15b5de76fbc683a58 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Move installation specific code to separate fileRobert Löhning2022-10-261-54/+0
| | | | | Change-Id: I5825314625f97120e05975611fb9f31f92456dba Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Read expected Qt VS Tools version from environment variableRobert Löhning2022-10-261-3/+8
| | | | | Change-Id: Ic20ac7a26b0defa24f9108156f775e482e701a37 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Shorten long linesRobert Löhning2022-10-261-2/+2
| | | | | Change-Id: I0026c8e6233f2eca7d13bd85c2845d6d46922516 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Add test for verifying successful uninstallationRobert Löhning2022-10-261-2/+18
| | | | | Change-Id: Id8f4228d4024625bef43dceb8bbda1fa27edf8ec Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Test uninstalling Qt VS ToolsRobert Löhning2022-10-181-0/+15
| | | | | Change-Id: Ibd4bf148ade403a431d91d39debe6827f4cda909 Reviewed-by: Miguel Costa <miguel.costa@qt.io>
* Squish: Test installing Qt VS Tools from VS MarketplaceRobert Löhning2022-10-181-0/+81
Change-Id: I4ea127b9bd6c1c6b2aee5b7bc92f9456b637fe4a Reviewed-by: Slobodan Vrkacevic <slobodan.vrkacevic@qt.io> Reviewed-by: Miguel Costa <miguel.costa@qt.io>