Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21305

Create 'edit note' feature tests

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: WEBUI-0.9.0
    • Component/s: Web UI

      Description

      Create the following tests:

      Feature: Edit Note
      
        Note is editable and previewed on every format
      
        Background:
          Given I login as “Member User”
          And have a note with writing permission
      
        Scenario Outline: Note <format> editor
          When I change format to <format>
          And I click edit content button
          Then <editor> is the editor
          And current content is presented
          And preview height is equal to content
      
        Examples:
          |format   |editor             |
          |HTML     |Alloy              |
          |Text     |paper-textarea     |
          |XML      |Alloy no-toolbars  |
          |Markdown |paper-textarea     |
      
      
        Scenario Outline: Note <format> save
          When I change format to <format>
          And I click edit content button
          And change content
          And press save button
          Then edit content is shown
          And height is the same as content 
      
      
        Examples:
          |format   |
          |HTML     |
          |Text     |
          |XML      |
          |Markdown |
      

      Also add any relevant test missing from the above.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: