aab_basic_urls_test.rb 1013 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # encoding: utf-8
  2. require 'browser_test_helper'
  3. class AABBasicUrlsTest < TestCase
  4. def test_logout
  5. @browser = browser_instance
  6. location(
  7. url: "#{browser_url}/#logout",
  8. )
  9. location_check(
  10. url: "#{browser_url}/#login",
  11. )
  12. end
  13. def test_session
  14. @browser = browser_instance
  15. location(
  16. url: "#{browser_url}/#system/sessions",
  17. )
  18. location_check(
  19. url: "#{browser_url}/#login",
  20. )
  21. end
  22. def test_profile
  23. @browser = browser_instance
  24. location(
  25. url: "#{browser_url}/#profile/linked",
  26. )
  27. location_check(
  28. url: "#{browser_url}/#login",
  29. )
  30. end
  31. def test_ticket
  32. @browser = browser_instance
  33. location(
  34. url: "#{browser_url}/#ticket/zoom/1",
  35. )
  36. location_check(
  37. url: "#{browser_url}/#login",
  38. )
  39. end
  40. def test_not_existing
  41. @browser = browser_instance
  42. location(
  43. url: "#{browser_url}/#not_existing",
  44. )
  45. location_check(
  46. url: "#{browser_url}/#not_existing",
  47. )
  48. end
  49. end