[Qa-jenkins-scm] [jenkins.debian.net] 04/18: lvc: first cut at a Debian-Edu install
Holger Levsen
holger at layer-acht.org
Sat Nov 26 22:57:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 715efaab8bd4d0061f135cabccb955c8dc336c84
Author: Philip Hands <phil at hands.com>
Date: Sat Nov 26 12:10:57 2016 +0100
lvc: first cut at a Debian-Edu install
---
.../features/images/d-i_gui_Edu-AutoPartition.png | Bin 0 -> 8408 bytes
cucumber/features/images/d-i_gui_Edu-Profile.png | Bin 0 -> 210566 bytes
cucumber/features/images/d-i_text_Edu-Profile.png | Bin 0 -> 80161 bytes
cucumber/features/install.feature | 21 ++++++++++++++
cucumber/features/step_definitions/common_steps.rb | 32 +++++++++++++++++++++
job-cfg/lvc.yaml | 1 +
6 files changed, 54 insertions(+)
diff --git a/cucumber/features/images/d-i_gui_Edu-AutoPartition.png b/cucumber/features/images/d-i_gui_Edu-AutoPartition.png
new file mode 100644
index 0000000..9bef4d3
Binary files /dev/null and b/cucumber/features/images/d-i_gui_Edu-AutoPartition.png differ
diff --git a/cucumber/features/images/d-i_gui_Edu-Profile.png b/cucumber/features/images/d-i_gui_Edu-Profile.png
new file mode 100644
index 0000000..d9d1df8
Binary files /dev/null and b/cucumber/features/images/d-i_gui_Edu-Profile.png differ
diff --git a/cucumber/features/images/d-i_text_Edu-Profile.png b/cucumber/features/images/d-i_text_Edu-Profile.png
new file mode 100644
index 0000000..9c4cdc1
Binary files /dev/null and b/cucumber/features/images/d-i_text_Edu-Profile.png differ
diff --git a/cucumber/features/install.feature b/cucumber/features/install.feature
index cb061fd..2fa3238 100644
--- a/cucumber/features/install.feature
+++ b/cucumber/features/install.feature
@@ -82,3 +82,24 @@ Feature: Doing variations on d-i installs
When the computer is set to boot from ide drive
And I start the computer
Then I should see a LXDE Login prompt
+
+ @debedu
+ Scenario: Install default Debedu
+ Given a disk is created for Debian Installer tests
+ And I intend to use gui mode
+ And I start the computer
+ And I select the install mode
+ And I select British English
+ And I select Standalone Debian-Edu profile
+ And I use the Debian-Edu Automatic Partitioning
+ And I ignore Popcon
+ And I set the root password to "rootme"
+ And I set the password for "Philip Hands" to be "verysecret"
+ And I wait while the bulk of the packages are installed
+ And I install GRUB
+ And I allow reboot after the install is complete
+ And I wait for the reboot
+ And I power off the computer
+ And the computer is set to boot from ide drive
+ When I start the computer
+ Then I should see a Gnome Login prompt
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index b7f46a7..6dac688 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -459,6 +459,38 @@ Given /^I select the non-GUI task$/ do
@screen.type(Sikuli::Key.ENTER)
end
+Given /^I select Standalone Debian-Edu profile$/ do
+ @screen.wait(diui_png("Edu-Profile"), 2 * 60 * PATIENCE)
+ @screen.type(Sikuli::Key.SPACE)
+ @screen.type(Sikuli::Key.DOWN)
+ @screen.type(Sikuli::Key.SPACE)
+ @screen.type(Sikuli::Key.DOWN)
+ @screen.type(Sikuli::Key.DOWN)
+ @screen.type(Sikuli::Key.SPACE)
+ @screen.type(Sikuli::Key.DOWN)
+ @screen.type(Sikuli::Key.SPACE)
+
+ if "gui" == @ui_mode
+ @screen.wait(diui_png("CONTINUEunselected"), 10 * PATIENCE)
+ @screen.type(Sikuli::Key.TAB)
+ @screen.wait(diui_png("CONTINUEselected"), 10 * PATIENCE)
+ end
+ @screen.type(Sikuli::Key.ENTER)
+end
+
+Given /^I use the Debian-Edu Automatic Partitioning$/ do
+ @screen.wait(diui_png("Edu-AutoPartition"), 10 * PATIENCE)
+ # prompt about Writing Partitions to disk:
+ @screen.wait(diui_png("No"), 10 * PATIENCE)
+ if "gui" == @ui_mode
+ @screen.type(Sikuli::Key.DOWN)
+ else
+ @screen.type(Sikuli::Key.TAB)
+ end
+ @screen.wait(diui_png("Yes"), 10 * PATIENCE)
+ @screen.type(Sikuli::Key.ENTER)
+end
+
Given /^I select the minimal task$/ do
@screen.wait(diui_png("DesktopTask_Yes"), 2 * 60 * PATIENCE)
diff --git a/job-cfg/lvc.yaml b/job-cfg/lvc.yaml
index 81acd12..3066b88 100644
--- a/job-cfg/lvc.yaml
+++ b/job-cfg/lvc.yaml
@@ -92,6 +92,7 @@
dist_name: 'Debian-Edu Testing Netinst'
my_iso: 'http://ftp.skolelinux.org/cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso'
my_time: 'H H * * H'
+ my_opts: '--tags @debedu'
#- 'debian-testing-daily-broken':
# dist_name: 'Debian-Installer Stretch alpha8 -- Broken Scenarios'
# my_iso: 'http://cdimage.debian.org/cdimage/stretch_di_alpha8/amd64/iso-cd/debian-stretch-DI-alpha8-amd64-netinst.iso'
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list