[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-20 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer resolved as Fixed  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36048  
 
 
  ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
Change By: 
 Andrew Bayer  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-20 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 PR merged, verifying it now.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-20 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 In my defense, I am an idiot. =)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-20 Thread stephenconno...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 stephenconnolly updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36048  
 
 
  ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
Change By: 
 stephenconnolly  
 
 
Component/s: 
 credentials-plugin  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-20 Thread stephenconno...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 stephenconnolly commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 Andrew Bayer I told you so but did you listen? Anyway glad we found the bug in your xpath  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-20 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 And PR is up at https://github.com/jenkinsci/acceptance-test-harness/pull/134  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-20 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 ok! There were two elements - but my freakin' xpath was selecting the wrong one. Sigh. Fixed, I think, PR incoming.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-20 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 Yup, Firefox as well.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-20 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 And fwiw, I've verified that when I click the Add button by hand, not only does the YUI menu item actually become visible, its visibility style updates to visible as well, at least in Chrome...I need to verify on Firefox as well.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-18 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 Nope, turns out Selenium is only seeing one button, and it's the right one. The YUI menu item just refuses to change visibility from hidden to visible...  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-18 Thread stephenconno...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 stephenconnolly commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 Then there are two buttons and you are clicking the wrong button... each button has a contextualised set of links (because one button might allow user stores while another may not)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-17 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 I think it may have something to do with the fact that there are, in fact, two sets of these on the page, one of which is always hidden. Wuh.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-17 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 Yes, but via Selenium at least, the "visibility" CSS style attribute is still set to "hidden" at that point! It's freakin' weird - like I said, it becomes actually visible (from the recording, I can see it appear when "Add" gets clicked) but Selenium doesn't think it's visible. Guh.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-17 Thread stephenconno...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 stephenconnolly commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 Clicking on the button makes the div visible  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-17 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 id isn't needed, as it turns out - I'm able to get the element, but it's not "visible" so I can't interact with it. The "Jenkins" span shows up in the video, but it's got "visibility" set to "hidden" in its CSS style.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-17 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 Ok, lemme see if I can work around it - will update later today.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-17 Thread stephenconno...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 stephenconnolly commented on  JENKINS-36048  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 I can add an id, but it would have to be generated... could inject the id into a data field in the select for you... (I have to roll 2.1.2 with a fix for ssh-credentials unit tests soon  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-17 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36048  
 
 
  ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
 Just to make it more fun, the "dropdown" isn't a real dropdown, it's a YUI Menu. So normal Selenium behavior for clicking in the dropdown won't work. I've found some examples of using YUI Menus in Selenium, but they rely on there the div having a meaningful id, which isn't the case for credentials. I guess I need to learn enough xpath to be able to check the text within the span to find the right element... stephenconnolly - any ideas?  
 

  
 
 
 
 

 
Change By: 
 Andrew Bayer  
 
 
Component/s: 
 credentials-plugin  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups 

[JIRA] (JENKINS-36048) ATH - Agent/Slave creation tests fail when multiple credentials providers are available

2016-06-17 Thread andrew.ba...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Andrew Bayer created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36048  
 
 
  ATH - Agent/Slave creation tests fail when multiple credentials providers are available   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Andrew Bayer  
 
 
Components: 
 acceptance-test-harness  
 
 
Created: 
 2016/Jun/17 4:54 PM  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Andrew Bayer  
 

  
 
 
 
 

 
 If multiple credentials providers are installed and applicable, the "add" button for credentials doesn't pop up a form right away - instead, there's a dropdown of providers to choose from. So in that scenario, a test that's trying to add credentials will fail like: 

 

unableToConnectWrongCredentials(plugins.SshSlavesPluginTest)  Time elapsed: 79.733 sec  <<< ERROR!
org.openqa.selenium.NoSuchElementException: Unable to locate By.xpath: //*[@id='credentials-dialog-form']//*[@path='/'] in http://127.0.0.1:49680/computer/createItem
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
System info: host: 'ip-10-216-229-216', ip: '127.0.0.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.2.0-30-generic', java.version: '1.8.0_40'
Driver info: driver.version: unknown
	at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:292)
	at org.jenkinsci.test.acceptance.junit.Wait.timeoutException(Wait.java:143)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:261)
	at org.jenkinsci.test.acceptance.junit.Wait.until(Wait.java:74)
	at org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl.find(CapybaraPortingLayerImpl.java:177)
	at org.jenkinsci.test.acceptance.po.Control.resolve(Control.java:65)
	at org.jenkinsci.test.acceptance.po.Control.select(Control.java:222)
	at