Extracted text from page views & standardised breadcrumbs

This commit is contained in:
Dan Brown
2016-12-03 18:35:40 +00:00
parent 066adf3cea
commit 96075dee7b
31 changed files with 266 additions and 175 deletions

View File

@ -28,7 +28,7 @@ class SortTest extends TestCase
$currentBook = $page->book;
$newBook = \BookStack\Book::where('id', '!=', $currentBook->id)->first();
$this->asAdmin()->visit($page->getUrl() . '/move')
->see('Move Page')->see($page->name)
->see('Move Page')
->type('book:' . $newBook->id, 'entity_selection')->press('Move Page');
$page = \BookStack\Page::find($page->id);

View File

@ -64,7 +64,7 @@ class PublicActionTest extends TestCase
$this->visit($chapter->book->getUrl());
$this->visit($chapter->getUrl())
->click('New Page')
->see('Create Page')
->see('New Page')
->seePageIs($chapter->getUrl('/create-page'));
$this->submitForm('Continue', [