RedHatQE / katello.auto

Automated tests for katello
http://katello.org/
12 stars 15 forks source link

Fix search activation-keys #939

Closed kbidarkar closed 11 years ago

kbidarkar commented 11 years ago
[(katello.navigation/switch-org
  #katello.Organization{:id nil, :name "cv-org-1018-180705-269", :label nil, :description nil, :initial-env nil})
 [(katello.navigation/go-to :katello.navigation/top-level)
  [(webdriver/exists? :katello.ui/log-out) true]
  [(webdriver/exists? :katello.ui/confirmation-dialog) false]
  [(webdriver/execute-script "window.scrollTo(0,0)") nil]
  [(katello.notifications/dismiss-all-ui)
   [(webdriver/ajax-wait)
    #clj_webdriver.driver.Driver{:webdriver #<FirefoxDriver FirefoxDriver: firefox on LINUX (d1b55944-931f-4f80-94df-1464e0d46362)>, :capabilities nil, :cache-spec {:cache nil}, :actions #<Actions org.openqa.selenium.interactions.Actions@1a82b700>}]
   [(webdriver/locator-args :katello.ui/notification-close)
    (:lazy-items)]
   [(webdriver/sel-locator :katello.ui/notification-close)
    {:class "jnotify-close", :tag :a}]
   [(webdriver/ajax-wait)
    #clj_webdriver.driver.Driver

{:webdriver #<FirefoxDriver FirefoxDriver: firefox on LINUX (d1b55944-931f-4f80-94df-1464e0d46362)>, :capabilities nil, :cache-spec {:cache nil}, :actions #<Actions org.openqa.selenium.interactions.Actions@1a82b700>}] [(webdriver/locator-args :katello.ui/notification-close) (:lazy-items)] [(webdriver/sel-locator :katello.ui/notification-close) {:class "jnotify-close", :tag :a}]()] nil] [(katello.navigation/current-org) [(webdriver/attribute :katello.ui/active-org :title) [(webdriver/ajax-wait)

clj_webdriver.driver.Driver{:webdriver #<FirefoxDriver FirefoxDriver: firefox on LINUX (d1b55944-931f-4f80-94df-1464e0d46362)>, :capabilities nil, :cache-spec {:cache nil}, :actions #<Actions org.openqa.selenium.interactions.Actions@1a82b700>}]

   [(webdriver/locator-args :katello.ui/active-org) (:lazy-items)]
   [(webdriver/sel-locator :katello.ui/active-org)
    "//a[contains(@class,'organization-name')]"]
   "cv-org-1018-180705-269

"] "cv-org-1018-180705-269"] nil] [(webdriver/move-to :katello.menu/content-link)

clj_webdriver.driver.Driver{:webdriver #<FirefoxDriver FirefoxDriver: firefox on LINUX (d1b55944-931f-4f80-94df-1464e0d46362)>, :capabilities nil, :cache-spec {:cache nil}, :actions #<Actions org.openqa.selenium.interactions.Actions@1a82b700>}]

[(webdriver/move-to :katello.menu/changeset-management-link)
 #<IllegalArgumentException java.lang.IllegalArgumentException: Must provide a location for a move action.>]
#<IllegalArgumentException java.lang.IllegalArgumentException: Must provide a location for a move action.>]

]

]],

          :throwable
          #<IllegalArgumentException java.lang.IllegalArgumentException: Must provide a location for a move action.>,
          :object
          #<IllegalArgumentException java.lang.IllegalArgumentException: Must provide a location for a move action.>,
          :message "Must provide a location for a move action.",
          :cause nil,
          :stack-trace
          [#<StackTraceElement org.openqa.selenium.interactions.MoveMouseAction.<init>(MoveMouseAction.java:30)>,
           #<StackTraceElement org.openqa.selenium.interactions.Actions.moveToElement(Actions.java:251)>,
           #<StackTraceElement sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)>,
           #<StackTraceElement sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)>,
           #<StackTraceElement java.lang.reflect.Method.invoke(Method.java:606)>,
           #<StackTraceElement clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)>,
           #<StackTraceElement clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)>,
           #<StackTraceElement clj_webdriver.core$eval4511$fn__4514.invoke(core_driver.clj:368)

,

<StackTraceElement clj_webdriver.core$eval3952$fn4074$G3941__4089.invoke(core.clj:143)>,

           #<StackTraceElement webdriver$move_to.invoke(webdriver.clj:102)>,
           #<StackTraceElement clojure.lang.AFn.applyToHelper(AFn.java:163)>,
           #<StackTraceElement clojure.lang.AFn.applyTo(AFn.java:151)>,
           #<StackTraceElement clojure.core$apply.invoke(core.clj:617)>,
           #<StackTraceElement fn.trace$trace_fn_call.invoke(trace.clj:99)>,
           #<StackTraceElement fn.trace$rebind_map$iter__1580__1584$fn__1585$fn__1592.doInvoke(trace.clj:122)>,
           #<StackTraceElement clojure.lang.RestFn.invoke(RestFn.java:421)>,
           #<StackTraceElement webdriver$move_to.invoke(webdriver.clj:100)>,
           #<StackTraceElement clojure.lang.AFn.applyToHelper(AFn.java:161)>,
           #<StackTraceElement clojure.lang.AFn.applyTo(AFn.java:151)>,
           #<StackTraceElement clojure.core$apply.invoke(core.clj:617)>,

<StackTraceElement fn.trace$trace_fn_call$fn__1565.invoke(trace.clj:92)>,

           #<StackTraceElement fn.trace$trace_fn_call.invoke(trace.clj:92)>,
           #<StackTraceElement fn.trace$rebind_map$iter__1580__1584$fn__1585$fn__1592.doInvoke(trace.clj:122)>,
           #<StackTraceElement clojure.lang.RestFn.invoke(RestFn.java:408)>,
           #<StackTraceElement katello.menu$eval10526$fn__10527$fn__10571.invoke(menu.clj:109)>,
           #<StackTraceElement clojure.lang.AFn.applyToHelper(AFn.java:161)>,
           #<StackTraceElement clojure.lang.AFn.applyTo(AFn.java:151)>,
           #<StackTraceElement clojure.core$apply.invoke(core.clj:617)>,
           #<StackTraceElement ui.navigate$navigate.invoke(navigate.clj:48)>,
           #<StackTraceElement katello.navigation$eval10419$go_to_STAR___10420.invoke(navigation.clj:133)>,
           #<StackTraceElement katello.navigation$eval10419$go_to_STAR___10420.invoke(navigation.clj:135)>,
           #<StackTraceElement

katello.navigation$eval10388$fn10389$G10379__10404.invoke(navigation.clj:120)>,

<StackTraceElement clojure.lang.AFn.applyToHelper(AFn.java:163)>,

           #<StackTraceElement clojure.lang.AFn.applyTo(AFn.java:151)>,
           #<StackTraceElement clojure.core$apply.invoke(core.clj:617)>,
           #<StackTraceElement fn.trace$trace_fn_call$fn__1565.invoke(trace.clj:92)>,
           #<StackTraceElement fn.trace$trace_fn_call.invoke(trace.clj:92)>,
           #<StackTraceElement fn.trace$rebind_map$iter__1580__1584$fn__1585$fn__1592.doInvoke(trace.clj:122)>,
           #<StackTraceElement clojure.lang.RestFn.invoke(RestFn.java:421)>,
           #<StackTraceElement katello.changesets$create.invoke(changesets.clj:66)>,
           #<StackTraceElement katello.ui$eval9802$fn__9827$G__9793__9832.invoke(ui.clj:9)>,
           #<StackTraceElement clojure.lang.AFn.applyToHelper(AFn.java:161)>,
           #<StackTraceElement clojure.lang.AFn.applyTo(AFn.java:151)

,

<StackTraceElement clojure.core$apply.invoke(core.clj:617)>,

           #<StackTraceElement fn.trace$trace_fn_call$fn__1565.invoke(trace.clj:92)>,
           #<StackTraceElement fn.trace$trace_fn_call.invoke(trace.clj:92)>,
           #<StackTraceElement fn.trace$rebind_map$iter__1580__1584$fn__1585$fn__1592.doInvoke(trace.clj:122)>,
           #<StackTraceElement clojure.lang.RestFn.invoke(RestFn.java:408)>,
           #<StackTraceElement katello.changesets$promote_delete_content.invoke(changesets.clj:165)>,
           #<StackTraceElement clojure.lang.AFn.applyToHelper(AFn.java:161)>,
           #<StackTraceElement clojure.lang.AFn.applyTo(AFn.java:151)>,
           #<StackTraceElement clojure.core$apply.invoke(core.clj:617)>,
           #<StackTraceElement fn.trace$trace_fn_call$fn__1565.invoke(trace.clj:92)>,
           #<StackTraceElement fn.trace$trace_fn_call.invoke(trace.clj:92)>,
           #<StackTraceElement fn.trace$rebind_map$iter__1580__1584$fn__1585$fn__1592.doInvoke(trace.clj:122)

,

<StackTraceElement clojure.lang.RestFn.invoke(RestFn.java:408)>,

           #<StackTraceElement katello.tests.search$fn__17618.invoke(search.clj:240)>,
           #<StackTraceElement clojure.lang.AFn.applyToHelper(AFn.java:163)>,
           #<StackTraceElement clojure.lang.AFn.applyTo(AFn.java:151)>,
           #<StackTraceElement clojure.core$apply.invoke(core.clj:617)>,
           #<StackTraceElement test.tree$wrap_data_driven$fn__7225$fn__7230.invoke(tree.clj:57)>,
           #<StackTraceElement clojure.lang.AFn.applyToHelper(AFn.java:159)>,
           #<StackTraceElement clojure.lang.AFn.applyTo(AFn.java:151)>,
           #<StackTraceElement clojure.lang.AFunction$1.doInvoke(AFunction.java:29)>,
           #<StackTraceElement clojure.lang.RestFn.invoke(RestFn.java:397)>,
           #<StackTraceElement test.tree$execute.invoke(tree.clj:43)>,
           #<StackTraceElement test.tree.debug$wrap_tracing$fn__7392.invoke(debug.clj:37)>,

<StackTraceElement test.tree$wrap_blockers$fn__7235.invoke(tree.clj:69)>,

           #<StackTraceElement test.tree$wrap_timer$fn__7242.invoke(tree.clj:76)>,
           #<StackTraceElement test.tree$wrap_data_driven$fn__7225.invoke(tree.clj:58)>,
           #<StackTraceElement test.tree.debug$wrap_swank$fn__7409.invoke(debug.clj:58)>,
           #<StackTraceElement test.tree$run_test$fn__7251.invoke(tree.clj:115)>,
           #<StackTraceElement test.tree$run_test.invoke(tree.clj:112)>,
           #<StackTraceElement test.tree$queue$fn__7267$fn__7272.invoke(tree.clj:147)>,
           #<StackTraceElement test.tree$consume.invoke(tree.clj:131)>,
           #<StackTraceElement clojure.lang.AFn.applyToHelper(AFn.java:163)>,
           #<StackTraceElement clojure.lang.AFn.applyTo(AFn.java:151)>,
           #<StackTraceElement clojure.core$apply.invoke(core.clj:621)>,
           #<StackTraceElement clojure.core$partial$fn__4192.doInvoke(core.clj:2398)>,
           #<StackTraceElement

clojure.lang.RestFn.invoke(RestFn.java:397)>,

<StackTraceElement clojure.lang.AFn.run(AFn.java:24)>,

           #<StackTraceElement java.lang.Thread.run(Thread.java:724)>]}},
 :status :done,
 :lock #<Promise@63198870: :done>},
kbidarkar commented 11 years ago

Fails due to issue 944

kbidarkar commented 11 years ago

Fixed in https://github.com/RedHatQE/katello.auto/pull/945