Add settings menu by default
Change-Id: Iaa9ae78a425ae716a942356cdc57ec9d5eb1cfdf
diff --git a/t/doc.t b/t/doc.t
index 870dcff..15ca9d0 100644
--- a/t/doc.t
+++ b/t/doc.t
@@ -20,6 +20,7 @@
->status_is(200)
->text_like('title', qr/poliqarp/i)
->element_exists('aside.active')
+ ->element_exists_not('aside.settings')
->element_exists('main.tutorial')
->element_exists('header')
->element_exists('aside nav')
diff --git a/t/plugin/auth-oauth.t b/t/plugin/auth-oauth.t
index 653ea5c..20c9b64 100644
--- a/t/plugin/auth-oauth.t
+++ b/t/plugin/auth-oauth.t
@@ -202,8 +202,9 @@
->element_exists_not('div.notify-error')
->element_exists('div.notify-success')
->text_is('div.notify-success', 'Login successful')
- ->element_exists('aside.off')
- ->element_exists_not('aside.active')
+ ->element_exists_not('aside.off')
+ ->element_exists('aside.active')
+ ->element_exists('aside.settings')
;
# Now the user is logged in and should be able to
@@ -427,8 +428,9 @@
->element_exists_not('div.notify-error')
->element_exists('div.notify-success')
->text_is('div.notify-success', 'Login successful')
- ->element_exists('aside.off')
- ->element_exists_not('aside.active')
+ ->element_exists_not('aside.off')
+ ->element_exists('aside.active')
+ ->element_exists('aside.settings')
;
$t->get_ok('/settings/oauth')
diff --git a/t/plugin/auth.t b/t/plugin/auth.t
index 1d1a375..4ea6a2f 100644
--- a/t/plugin/auth.t
+++ b/t/plugin/auth.t
@@ -131,6 +131,7 @@
->text_is('div.notify-success', 'Login successful')
->element_exists('aside.off')
->element_exists_not('aside.active')
+ ->element_exists_not('aside.settings')
;
# Now the user is logged in and should be able to