Test books display options.
This commit is contained in:
		
							parent
							
								
									770f30c3a8
								
							
						
					
					
						commit
						0c70416b5c
					
				| 
						 | 
				
			
			@ -99,7 +99,7 @@ class UserProfileTest extends BrowserKitTest
 | 
			
		|||
    {
 | 
			
		||||
        $this->asAdmin()
 | 
			
		||||
            ->visit('/settings/users/' . $this->user->id)
 | 
			
		||||
            ->select('grid', '#books_display')
 | 
			
		||||
            ->select('list', '#books_display')
 | 
			
		||||
            ->press('Save')
 | 
			
		||||
            ->visit('/books')
 | 
			
		||||
            ->pageNotHasElement('.gallery-item')
 | 
			
		||||
| 
						 | 
				
			
			@ -110,7 +110,7 @@ class UserProfileTest extends BrowserKitTest
 | 
			
		|||
    {
 | 
			
		||||
        $this->asAdmin()
 | 
			
		||||
            ->visit('/settings/users/' . $this->user->id)
 | 
			
		||||
            ->select('list', '#books_display')
 | 
			
		||||
            ->select('grid', '#books_display')
 | 
			
		||||
            ->press('Save')
 | 
			
		||||
            ->visit('/books')
 | 
			
		||||
            ->pageNotHasElement('.entity-list-item')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue