[hg] web-main: avoiding typo in context menu (#210917)

  • From: Vladimir Riha < >
  • To:
  • Subject: [hg] web-main: avoiding typo in context menu (#210917)
  • Date: Fri, 01 Feb 2013 05:50:57 -0800

changeset d22248acd66e in web-main ((none))
details: http://hg.netbeans.org/web-main/rev/d22248acd66e
description:
        avoiding typo in context menu (#210917)

diffstat:

 
php.editor/test/qa-functional/src/org/netbeans/test/php/navigation/testNavigation.java
 |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff --git 
a/php.editor/test/qa-functional/src/org/netbeans/test/php/navigation/testNavigation.java
 
b/php.editor/test/qa-functional/src/org/netbeans/test/php/navigation/testNavigation.java
--- 
a/php.editor/test/qa-functional/src/org/netbeans/test/php/navigation/testNavigation.java
+++ 
b/php.editor/test/qa-functional/src/org/netbeans/test/php/navigation/testNavigation.java
@@ -44,6 +44,7 @@
 
 package org.netbeans.test.php.navigation;
 
+import java.awt.event.InputEvent;
 import org.netbeans.jellytools.EditorOperator;
 import org.netbeans.jemmy.operators.JDialogOperator;
 import org.netbeans.junit.NbModuleSuite;
@@ -105,7 +106,7 @@
     EditorOperator eoPHP = new EditorOperator( "EmptyPHPWebPage.php" );
     eoPHP.clickForPopup( );
     JPopupMenuOperator menu = new JPopupMenuOperator( );
-    menu.pushMenuNoBlock( "Navigate|Go to Line or Bookmark ..." );
+    eoPHP.typeKey('g', InputEvent.CTRL_MASK);
     JDialogOperator jdGoto = new JDialogOperator( "Go to Line or Bookmark" );
     JComboBoxOperator jcLine = new JComboBoxOperator( jdGoto, 0 );
     JTextFieldOperator jtTemp = jcLine.getTextField( );

[hg] web-main: avoiding typo in context menu (#210917)

Vladimir Riha 02/01/2013

Project Features

About this Project

PHP was started in November 2009, is owned by Petr Jiricka, and has 236 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close