12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- require 'browser_test_helper'
- class AABBasicUrlsTest < TestCase
- def test_logout
- @browser = browser_instance
- location(
- url: "#{browser_url}/#logout",
- )
- location_check(
- url: "#{browser_url}/#login",
- )
- end
- def test_session
- @browser = browser_instance
- location(
- url: "#{browser_url}/#system/sessions",
- )
- location_check(
- url: "#{browser_url}/#login",
- )
- end
- def test_profile
- @browser = browser_instance
- location(
- url: "#{browser_url}/#profile/linked",
- )
- location_check(
- url: "#{browser_url}/#login",
- )
- end
- def test_ticket
- @browser = browser_instance
- location(
- url: "#{browser_url}/#ticket/zoom/1",
- )
- location_check(
- url: "#{browser_url}/#login",
- )
- end
- def test_not_existing
- @browser = browser_instance
- location(
- url: "#{browser_url}/#not_existing",
- )
- location_check(
- url: "#{browser_url}/#not_existing",
- )
- end
- end
|