1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- # encoding: utf-8
- 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
|