Test for grid and list layout selection.
This commit is contained in:
parent
fd36978c13
commit
1ed74b8598
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue