summaryrefslogtreecommitdiffstats
path: root/cucumber/features/install.feature
blob: 4ea97b33ea8e42eef5e45a9c020d50cfe16ad43c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
@product
Feature: Doing variations on d-i installs
  As a normal user
  I should be able to install Debian

  Scenario Outline: Install Debian, and boot to a login prompt
    Given I install a <target_ui> Debian system, in <install_ui> mode
    When I start the computer
    Then I should see a <login> Login prompt

    Examples:
      | install_ui | target_ui | login |
      | gui        | minimal   | VT    |
      | gui        | Gnome     | Gnome |
      | gui        | LXDE      | LXDE  |
      | gui        | XFCE      | XFCE  |
      | gui        | KDE       | KDE   |
#      | text       | non-GUI   | VT    |

  @broken
  Scenario: Attempt to Install Gnome, expecting it to fail because X doesn't start for some reason
    Given I have started Debian Installer in text mode and stopped at the Tasksel prompt
    And I intend to use text mode
    And I select the Gnome task
    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

#  Scenario: Get a useful error from a bogus HTTP proxy
#    Given I get d-i to the HTTP proxy prompt
#    When I set the proxy to "127.23.23.23"
#    Then I should get an error message that mentions the proxy

  # this is useful for just proving that the d-i image is able to boot
  @trivial
  Scenario: Minimal Boot test
    Given a disk is created for Debian Installer tests
    And I intend to use gui mode
    When I start the computer
    Then I select the install mode

  @preseed
  Scenario: Preseed using hands.com with checksum
    Given a disk is created for Debian Installer tests
    And I intend to use gui mode
    And I intend to boot with options "auto=true priority=critical url=hands.com classes=jenkins.debian.org/pb10;loc/gb;hands.com/general-tweaks;setup/users;partition/atomic;desktop/lxde hands-off/checksigs=true DEBCONF_DEBUG=5"
    And I start the computer
    And I select the install mode
    And I expect package installation to start
    And I wait while the bulk of the packages are installed
    And the VM shuts down within 20 minutes
    When the computer is set to boot from ide drive
    And I start the computer
    Then I should see a LXDE Login prompt