class TestActMenu

Public Instance Methods

test_plg_hmenu() click to toggle source
# File vendor/qwik/lib/qwik/act-menu.rb, line 125
    def test_plg_hmenu
      t_add_user
      page = @site.create_new
      page.store("{{hmenu
- t
-- s
}}")
      res = session('/test/1.html')
      menu = [:div, {:class=>'hmenu'},
        [:ul, {:class=>'m1'},
          [:li, {:onmouseover=>"this.className='on'",
              :onmouseout=>"this.className='off'",
              :class=>'off'}, 't'],
          [:ul, {:class=>'m2'}, [:li, 's']]]]
      ok_xp(menu, "//div[@class='hmenu']")
    end