mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-30 12:38:12 +08:00
Extracted text for remaining views
This commit is contained in:
@ -15,8 +15,8 @@ class EntitySearchTest extends TestCase
|
||||
->type($page->name, 'term')
|
||||
->press('header-search-box-button')
|
||||
->see('Search Results')
|
||||
->see($page->name)
|
||||
->click($page->name)
|
||||
->seeInElement('.entity-list', $page->name)
|
||||
->clickInElement('.entity-list', $page->name)
|
||||
->seePageIs($page->getUrl());
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,7 @@ class SortTest extends TestCase
|
||||
$newBook = \BookStack\Book::where('id', '!=', $currentBook->id)->first();
|
||||
|
||||
$this->asAdmin()->visit($chapter->getUrl() . '/move')
|
||||
->see('Move Chapter')->see($chapter->name)
|
||||
->see('Move Chapter')
|
||||
->type('book:' . $newBook->id, 'entity_selection')->press('Move Chapter');
|
||||
|
||||
$chapter = \BookStack\Chapter::find($chapter->id);
|
||||
|
Reference in New Issue
Block a user