Преглед на файлове

Update script for the Qt installer

AcceptLicenseRadioButton is replaced by AcceptLicenseCheckBox
Alexey Edelev преди 3 години
родител
ревизия
a80b213193
променени са 1 файла, в които са добавени 11 реда и са изтрити 11 реда
  1. 11 11
      .ci/qt_installer_windows.qs

+ 11 - 11
.ci/qt_installer_windows.qs

@@ -1,7 +1,7 @@
 function Controller() {
     installer.autoRejectMessageBoxes();
     installer.installationFinished.connect(function() {
-        gui.clickButton(buttons.NextButton);
+        gui.clickButton(buttons.NextButton, 2000);
     })
 }
 
@@ -16,18 +16,18 @@ Controller.prototype.CredentialsPageCallback = function() {
 }
 
 Controller.prototype.IntroductionPageCallback = function() {
-    gui.clickButton(buttons.NextButton);
+    gui.clickButton(buttons.NextButton, 5000);
 }
 
 Controller.prototype.TargetDirectoryPageCallback = function() {
     gui.currentPageWidget().TargetDirectoryLineEdit.setText("C:/Qt");
-    gui.clickButton(buttons.NextButton);
+    gui.clickButton(buttons.NextButton, 5000);
 }
 
 Controller.prototype.DynamicTelemetryPluginFormCallback = function() {
     var page = gui.pageWidgetByObjectName("DynamicTelemetryPluginForm");
     page.statisticGroupBox.disableStatisticRadioButton.setChecked(true);
-    gui.clickButton(buttons.NextButton);
+    gui.clickButton(buttons.NextButton, 2000);
 }
 
 Controller.prototype.ComponentSelectionPageCallback = function() {
@@ -35,7 +35,7 @@ Controller.prototype.ComponentSelectionPageCallback = function() {
     widget.deselectAll();
     widget.selectComponent("qt.qt5.5152.win64_msvc2019_64");
 
-    gui.clickButton(buttons.NextButton);
+    gui.clickButton(buttons.NextButton, 2000);
 }
 
 Controller.prototype.ObligationsPageCallback = function()
@@ -43,21 +43,21 @@ Controller.prototype.ObligationsPageCallback = function()
     var page = gui.pageWidgetByObjectName("ObligationsPage");
     page.obligationsAgreement.setChecked(true);
     page.completeChanged();
-    gui.clickButton(buttons.NextButton);
+    gui.clickButton(buttons.NextButton, 2000);
 }
 
 Controller.prototype.LicenseAgreementPageCallback = function() {
-    gui.currentPageWidget().AcceptLicenseRadioButton.setChecked(true);
-    gui.clickButton(buttons.NextButton);
+    gui.currentPageWidget().AcceptLicenseCheckBox.setChecked(true);
+    gui.clickButton(buttons.NextButton, 2000);
 }
 
 Controller.prototype.StartMenuDirectoryPageCallback = function() {
-    gui.clickButton(buttons.NextButton);
+    gui.clickButton(buttons.NextButton, 2000);
 }
 
 Controller.prototype.ReadyForInstallationPageCallback = function()
 {
-    gui.clickButton(buttons.NextButton);
+    gui.clickButton(buttons.NextButton, 2000);
 }
 
 Controller.prototype.FinishedPageCallback = function() {
@@ -65,5 +65,5 @@ var checkBoxForm = gui.currentPageWidget().LaunchQtCreatorCheckBoxForm
 if (checkBoxForm && checkBoxForm.launchQtCreatorCheckBox) {
     checkBoxForm.launchQtCreatorCheckBox.checked = false;
 }
-    gui.clickButton(buttons.FinishButton);
+    gui.clickButton(buttons.FinishButton, 2000);
 }