[ 
https://issues.apache.org/jira/browse/NETBEANS-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16375904#comment-16375904
 ] 

Gili commented on NETBEANS-295:
-------------------------------

Same here. That is odd. Why would this magically fix itself? :)

> Create/Update Tests dialog updates pom.xml even if operation is aborted
> -----------------------------------------------------------------------
>
>                 Key: NETBEANS-295
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-295
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Maven
>         Environment: Product Version: Apache NetBeans IDE Dev (Build 
> 20180117-unknown-revn)
> Updates: Updates available
> Java: 9.0.1; Java HotSpot(TM) 64-Bit Server VM 9.0.1+11
> Runtime: Java(TM) SE Runtime Environment 9.0.1+11
> System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
> User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
> Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
>            Reporter: Gili
>            Assignee: Anton V. Kirilchik
>            Priority: Major
>             Fix For: 9.0
>
>
> 1. Given a Maven project with a Java file open in the editor
> 2. The user mistakenly hits CTRL+SHIFT+U which opens the "Create/Update 
> Tests" dialog
> 3. User hits ESC to cancel the operation.
> 4. The following lines are added to pom.xml:
> {code}
>               <dependency>
>                       <groupId>org.seleniumhq.selenium</groupId>
>                       <artifactId>selenium-java</artifactId>
>                       <scope>test</scope>
>                       <version>2.44.0</version>
>               </dependency>
>               <dependency>
>                       <groupId>com.opera</groupId>
>                       <artifactId>operadriver</artifactId>
>                       <scope>test</scope>
>                       <version>1.5</version>
>                       <exclusions>
>                               <exclusion>
>                                       
> <groupId>org.seleniumhq.selenium</groupId>
>                                       
> <artifactId>selenium-remote-driver</artifactId>
>                               </exclusion>
>                       </exclusions>
>               </dependency>
>               <dependency>
>                       <groupId>junit</groupId>
>                       <artifactId>junit</artifactId>
>                       <scope>test</scope>
>                       <version>4.11</version>
>               </dependency>
> {code}
> Expected behavior: pom.xml should not be modified if operation is aborted



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to