Skip to content

Commit

Permalink
NMS-7118: Use correct xpath expression to identify 'Edit and Clone' f…
Browse files Browse the repository at this point in the history
…oreign source button
  • Loading branch information
Markus von Rüden committed Oct 30, 2014
1 parent 7e7c16d commit 53ddd38
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -115,7 +115,7 @@ public void testRequisitionUI() throws Exception {

selenium.type("css=form[name=takeAction] > div > input[name=groupName]", REQUISITION_NAME);
clickAndWait("css=input[type=submit]");
clickAndWait("//a[contains(@href, 'editForeignSource(\""+ REQUISITION_NAME+"\")')]");
clickAndWait("//button[contains(@onclick, 'editForeignSource(\""+ REQUISITION_NAME+"\")')]");
clickAndWait("//input[@value='Add Detector']");

String detectorNode = setTreeFieldsAndSave("foreignSourceEditForm", type("name", "HTTP-8080"), select("pluginClass", "HTTP"));
Expand Down

0 comments on commit 53ddd38

Please sign in to comment.