[ARVADOS] updated: 7700e669ad387f5570e0cfe21b5c9d6655fd7e94

Git user git at public.curoverse.com
Tue Aug 23 14:57:57 EDT 2016


Summary of changes:
 .../test/integration/container_requests_test.rb    | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 apps/workbench/test/integration/container_requests_test.rb

       via  7700e669ad387f5570e0cfe21b5c9d6655fd7e94 (commit)
      from  b520aced3c945de5be62e4aa27561029263c742e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 7700e669ad387f5570e0cfe21b5c9d6655fd7e94
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Tue Aug 23 14:57:52 2016 -0400

    9043: Initial commit testing for container request editing

diff --git a/apps/workbench/test/integration/container_requests_test.rb b/apps/workbench/test/integration/container_requests_test.rb
new file mode 100644
index 0000000..232f33c
--- /dev/null
+++ b/apps/workbench/test/integration/container_requests_test.rb
@@ -0,0 +1,26 @@
+require 'integration_helper'
+
+class ContainerRequestsTest < ActionDispatch::IntegrationTest
+  setup do
+    need_javascript
+  end
+
+  test "enter a float for a number workflow input" do
+    # Poltergeist either does not support the HTML 5 <input
+    # type="number">, or interferes with the associated X-Editable
+    # validation code.  If the input field has type=number (forcing an
+    # integer), this test will yield a false positive under
+    # Poltergeist.  --Brett, 2015-02-05
+    need_selenium "for strict X-Editable input validation"
+    request_uuid = api_fixture("container_requests", "uncommitted", "uuid")
+    visit page_with_token("active", "/container_requests/#{request_uuid}")
+    INPUT_SELECTOR =
+      ".editable[data-name='[mounts][/var/lib/cwl/cwl.input.json][content][ex_double]']"
+    find(INPUT_SELECTOR).click
+    find(".editable-input input").set("12.34")
+    find("#editable-submit").click
+    assert_no_selector(".editable-popup")
+    assert_selector(INPUT_SELECTOR, text: "12.34")
+  end
+
+end

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list