From: Nilesh Deepak Date: Sat, 15 Jul 2017 07:49:49 +0000 (+0530) Subject: Test for grid and list layout selection. X-Git-Tag: v0.19.0~1^2~15^2~21^2 X-Git-Url: http://source.bookstackapp.com/bookstack/commitdiff_plain/1ed74b859866cda9c65b931481069bf2f3294673 Test for grid and list layout selection. --- diff --git a/tests/UserProfileTest.php b/tests/UserProfileTest.php index 5f402273d..25edfbf5e 100644 --- a/tests/UserProfileTest.php +++ b/tests/UserProfileTest.php @@ -99,7 +99,7 @@ class UserProfileTest extends BrowserKitTest { $this->asAdmin() ->visit('/settings/users/' . $this->user->id) - ->select('books_display', 'List') + ->select('#books_display', 'List') ->press('Save') ->visit('/books') ->pageHasElement('.entity-list-item'); @@ -109,7 +109,7 @@ class UserProfileTest extends BrowserKitTest { $this->asAdmin() ->visit('/settings/users/' . $this->user->id) - ->select('books_display', 'Grid') + ->select('#books_display', 'Grid') ->press('Save') ->visit('/books') ->pageHasElement('.gallery-item');