Beispiel #1
0
def testPrefPaneNav():
  "Test arrow-key navigaiton of preference panes."
  util.open_preferences()
  t=_prefTitleRegion()
  firstPrefPane(t, p("EditorPaneTitle.png"))
  nextPrefPane(t, p("FontsPaneTitle.png"))
  nextPrefPane(t, p("HintsPaneTitle.png"))
  nextPrefPane(t, p("KeyBindingsPaneTitle.png"))
  nextPrefPane(t, p("RunandDebugPaneTitle.png"))
  nextPrefPane(t, p("UpdatePaneTitle.png"))
  nextPrefPane(t, p("VisualThemePaneTitle.png"))
  wait(2)
  util.dismiss_dialog()
Beispiel #2
0
def testPrefPaneNav():
    "Test arrow-key navigaiton of preference panes."
    util.open_preferences()
    t = _prefTitleRegion()
    firstPrefPane(t, p("EditorPaneTitle.png"))
    nextPrefPane(t, p("FontsPaneTitle.png"))
    nextPrefPane(t, p("HintsPaneTitle.png"))
    nextPrefPane(t, p("KeyBindingsPaneTitle.png"))
    nextPrefPane(t, p("RunandDebugPaneTitle.png"))
    nextPrefPane(t, p("UpdatePaneTitle.png"))
    nextPrefPane(t, p("VisualThemePaneTitle.png"))
    wait(2)
    util.dismiss_dialog()
Beispiel #3
0
def testPrefPaneSelection():
  "Test preference pane selection by name."
  util.open_preferences()
  wait(5) # In case we start with Visual Theme, which we do
  selectEditorPrefPane() # Still in size large panes
  util.dismiss_dialog()
  util.open_preferences() # Back to size small panes
  selectFontsPrefPane()
  selectHintsPrefPane()
  selectKeyBindingsPane()
  selectRunandDebugPrefPane() # Medium size
  selectUpdatePrefPane()
  selectVisualThemePrefPane() # Large size
  util.dismiss_dialog()
  util.open_preferences()
  selectEditorPrefPane() # Start with small size next time
  util.dismiss_dialog()
Beispiel #4
0
def testPrefPaneSelection():
    "Test preference pane selection by name."
    util.open_preferences()
    wait(5)  # In case we start with Visual Theme, which we do
    selectEditorPrefPane()  # Still in size large panes
    util.dismiss_dialog()
    util.open_preferences()  # Back to size small panes
    selectFontsPrefPane()
    selectHintsPrefPane()
    selectKeyBindingsPane()
    selectRunandDebugPrefPane()  # Medium size
    selectUpdatePrefPane()
    selectVisualThemePrefPane()  # Large size
    util.dismiss_dialog()
    util.open_preferences()
    selectEditorPrefPane()  # Start with small size next time
    util.dismiss_dialog()