From 71809aeeae22f7b097c1c67ee459ad1835ae7680 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 19 Aug 2013 23:03:16 +0200 Subject: [PATCH] Moved to BS3. --- test/browser/manage_test.rb | 16 ++++++++-------- test/browser/prefereces_test.rb | 5 ----- test/browser/setting_test.rb | 2 +- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/test/browser/manage_test.rb b/test/browser/manage_test.rb index 1d4ae7584..1ece0ac39 100644 --- a/test/browser/manage_test.rb +++ b/test/browser/manage_test.rb @@ -13,11 +13,11 @@ class ManageTest < TestCase :action => [ { :execute => 'click', - :css => 'a[href="#admin"]', + :css => 'a[href="#manage"]', }, { :execute => 'click', - :css => 'a[href="#users"]', + :css => 'a[href="#manage/users"]', }, { :execute => 'wait', @@ -117,11 +117,11 @@ class ManageTest < TestCase :action => [ { :execute => 'click', - :css => 'a[href="#admin"]', + :css => 'a[href="#manage"]', }, { :execute => 'click', - :css => 'a[href="#slas"]', + :css => 'a[href="#manage/slas"]', }, { :execute => 'wait', @@ -223,11 +223,11 @@ class ManageTest < TestCase }, { :execute => 'click', - :css => 'a[href="#admin"]', + :css => 'a[href="#manage"]', }, { :execute => 'click', - :css => 'a[href="#slas"]', + :css => 'a[href="#manage/slas"]', }, { :execute => 'wait', @@ -252,11 +252,11 @@ class ManageTest < TestCase }, { :execute => 'click', - :css => 'a[href="#admin"]', + :css => 'a[href="#manage"]', }, { :execute => 'click', - :css => 'a[href="#slas"]', + :css => 'a[href="#manage/slas"]', }, { :execute => 'wait', diff --git a/test/browser/prefereces_test.rb b/test/browser/prefereces_test.rb index 6046ad92e..59afd0918 100644 --- a/test/browser/prefereces_test.rb +++ b/test/browser/prefereces_test.rb @@ -19,11 +19,6 @@ class PreferencesTest < TestCase :execute => 'click', :css => 'a[href="#profile/language"]', }, - { - :execute => 'check', - :css => '#language', - :result => true, - }, { :execute => 'select', :css => '.language_item select[name="locale"]', diff --git a/test/browser/setting_test.rb b/test/browser/setting_test.rb index e7c42f324..3d31b5bc9 100644 --- a/test/browser/setting_test.rb +++ b/test/browser/setting_test.rb @@ -17,7 +17,7 @@ class SettingTest < TestCase }, { :execute => 'click', - :css => 'a[href="#settings/security/third_party_auth"]', + :css => 'a[href="#third_party_auth"]', }, { :execute => 'check',