com.atlassian.confluence.webdriver.editor
Class EditorSharedDraftsTest

java.lang.Object
  extended by com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
      extended by com.atlassian.confluence.webdriver.editor.base.AbstractEditorDraftsTest
          extended by com.atlassian.confluence.webdriver.editor.EditorSharedDraftsTest

public class EditorSharedDraftsTest
extends AbstractEditorDraftsTest


Field Summary
 org.junit.rules.ExpectedException expectedException
           
 
Fields inherited from class com.atlassian.confluence.webdriver.editor.base.AbstractEditorDraftsTest
editorPage
 
Fields inherited from class com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
darkFeaturesHelper, methodRules, name, product, rpc, serverStateManager, testData, userHelper
 
Constructor Summary
EditorSharedDraftsTest()
           
 
Method Summary
 void allowQuickEdit()
           
 void disableSharedDrafts()
           
 void enableSharedDrafts()
           
 void testPublishButtonIsDisabledWhenThereAreNoChanges()
           
 void testThatTheUnpublishedLozengeGetShownWhenThereAreChangesInThEditor()
           
 void testThatUserCanNotSaveADraftWhenTheyHaveTheEditorOpenedButDontHaveEditPermissionsForTheDraft()
          We should write a test restricting draft permissions instead of space permissions once per page drafts are ready.
 
Methods inherited from class com.atlassian.confluence.webdriver.editor.base.AbstractEditorDraftsTest
discardDraftAndVerifySuccess, makeChangesAndCreateDraft, makeChangesAndResumeDraft, navigateAwayAndAcceptAlert, resumeDraftFromEditor
 
Methods inherited from class com.atlassian.confluence.webdriver.AbstractInjectableWebDriverTest
start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expectedException

public org.junit.rules.ExpectedException expectedException
Constructor Detail

EditorSharedDraftsTest

public EditorSharedDraftsTest()
Method Detail

allowQuickEdit

public void allowQuickEdit()

enableSharedDrafts

public void enableSharedDrafts()

disableSharedDrafts

public void disableSharedDrafts()

testThatTheUnpublishedLozengeGetShownWhenThereAreChangesInThEditor

public void testThatTheUnpublishedLozengeGetShownWhenThereAreChangesInThEditor()

testPublishButtonIsDisabledWhenThereAreNoChanges

public void testPublishButtonIsDisabledWhenThereAreNoChanges()

testThatUserCanNotSaveADraftWhenTheyHaveTheEditorOpenedButDontHaveEditPermissionsForTheDraft

public void testThatUserCanNotSaveADraftWhenTheyHaveTheEditorOpenedButDontHaveEditPermissionsForTheDraft()
We should write a test restricting draft permissions instead of space permissions once per page drafts are ready.



Copyright © 2003–2015 Atlassian. All rights reserved.