Sha256: 0237d657682fbdc4180cb504f30a076ed825bb2dabb6da59b4b26f4ff6ff4366

Contents?: true

Size: 844 Bytes

Versions: 41

Compression:

Stored size: 844 Bytes

Contents

Feature: Previewing how a file will appear in a browser

  Scenario: Previewing an untitled tab
    When I open a new edit tab
    And I replace the contents with "<html>test 1-2-3</html>"
    And I open a web preview
    Then my active tab should be "Preview"
    And the HTML tab should say "test 1-2-3"

  Scenario: Previewing a saved file
    Given I will choose "plugins/html_view/features/fixtures/sample.html" from the "open_file" dialog
    When I open a file
    And I replace the contents with "<html>test 1-2-3</html>"
    And I open a web preview
    Then my active tab should be "Preview: sample.html"
    And the HTML tab should say "Hello!!"
    When I close the focussed tab
    And I save the tab
    And I open a web preview
    Then my active tab should be "Preview: sample.html"
    And the HTML tab should say "test 1-2-3"

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
redcar-0.9.0 plugins/html_view/features/web_preview.feature