mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-06 18:54:33 +08:00
Test books display options.
This commit is contained in:
@ -99,7 +99,7 @@ class UserProfileTest extends BrowserKitTest
|
|||||||
{
|
{
|
||||||
$this->asAdmin()
|
$this->asAdmin()
|
||||||
->visit('/settings/users/' . $this->user->id)
|
->visit('/settings/users/' . $this->user->id)
|
||||||
->select('#books_display', 'List')
|
->select('grid', '#books_display')
|
||||||
->press('Save')
|
->press('Save')
|
||||||
->visit('/books')
|
->visit('/books')
|
||||||
->pageNotHasElement('.gallery-item')
|
->pageNotHasElement('.gallery-item')
|
||||||
@ -110,7 +110,7 @@ class UserProfileTest extends BrowserKitTest
|
|||||||
{
|
{
|
||||||
$this->asAdmin()
|
$this->asAdmin()
|
||||||
->visit('/settings/users/' . $this->user->id)
|
->visit('/settings/users/' . $this->user->id)
|
||||||
->select('#books_display', 'Grid')
|
->select('list', '#books_display')
|
||||||
->press('Save')
|
->press('Save')
|
||||||
->visit('/books')
|
->visit('/books')
|
||||||
->pageNotHasElement('.entity-list-item')
|
->pageNotHasElement('.entity-list-item')
|
||||||
|
Reference in New Issue
Block a user