Sha256: 06484f1b1e7aea5f1f914340d1152fe771db1266ec474372bed91d16bb7118fb

Contents?: true

Size: 1.63 KB

Versions: 6

Compression:

Stored size: 1.63 KB

Contents

Feature: HTML validity
  In order to verify that the application in HTML5 valid
  As a user
  I want to the pages to conform to the W3C HTML5 validation
  
  Scenario: Home page (unauthenticated)
    When I am on the home page
    Then the page should be HTML5 valid
    
  Scenario: Home page (authenticated)
    Given I am logged in as "archivist1@example.com" 
    When I am on the home page
    Then the page should be HTML5 valid
    
  Scenario: Search Results (unauthenticated)
    Given I am on the home page
    When I follow "Article"
    Then I should see "TITLE OF HOST JOURNAL"
    And the page should be HTML5 valid
    
  Scenario: Search Results (authenticated)
    Given I am logged in as "archivist1@example.com" 
    When I am on the home page
    And I follow "Article"
    Then I should see "TITLE OF HOST JOURNAL"
    And the page should be HTML5 valid
    
  Scenario: Record view browse (unauthenticated)
    Given I am on the show document page for hydrangea:fixture_mods_article2
    Then I should see "TITLE OF HOST JOURNAL"
    And the page should be HTML5 valid
    
  Scenario: Record view browse (authenticated)
    Given I am logged in as "archivist1@example.com" 
    When I am on the show document page for hydrangea:fixture_mods_article2
    Then I should see "TITLE OF HOST JOURNAL"
    And the page should be HTML5 valid
    
  Scenario: Record view edit (authenticated)
    Given I am logged in as "archivist1@example.com" 
    When I am on the edit publication page for hydrangea:fixture_mods_article1
    Then the "journal_0_title_info_main_title" field should contain "TITLE OF HOST JOURNAL" 
    And the page should be HTML5 valid

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hydra-head-3.0.1 test_support/features/html_validity.feature
hydra-head-3.1.0.pre2 test_support/features/html_validity.feature
hydra-head-3.1.0.pre1 test_support/features/html_validity.feature
hydra-head-3.0.0.rc2 test_support/features/html_validity.feature
hydra-head-3.0.0.rc1 test_support/features/html_validity.feature
hydra-head-3.0.0pre4 test_support/features/html_validity.feature