@javascript
Feature: DNS
  Background:
    Given Test user has accepted terms of use
    Given I visit domain path "identity/home"
    And I log in as test_user
    Then I am redirected to domain path "identity/home"

  Scenario: The DNS page is reachable
    When I visit project path "dns-service/zones"
    Then the page status code is successful
    And I see "DNS"

  
  Scenario: Request New Domain Button is visible
    When I visit project path "dns-service/zones"
    Then I see a "Request New Domain" button


  Scenario: The Request Domain Dialog comes up
    When I visit project path "dns-service/zones"
    And I click on "Request New Domain"
    Then I see "Request New Domain"


  Scenario: Form for subdomain in Request Domain Dialog
    When I visit project path "dns-service/zones"
    And I click on "Request New Domain"
    And I choose "Subdomain" radiobutton
    Then I see active panel "subdomain_panel"

  Scenario: Form for custom domain in Request Domain Dialog
    When I visit project path "dns-service/zones"
    And I click on "Request New Domain"
    And I choose "Custom Domain" radiobutton
    Then I see active panel "rootdomain_panel"

Revert "because Cucumber pukes on a file without commands"
Revert "because Cucumber pukes on a file without commands"

This reverts commit da5f17ed0c027a419f02bfc1391d8dc0060dddcc.
