mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	test_home: Change requiring pygments.css to requiring app-styles.js.
This commit changes the tests based on the fact that pygments.css will no longer be found in the template during testing. pygemnts.css is being compiled by webpack under app-styles and so we look for the stubentry for app-styles instead. Tweaked by tabbott to do a cleaner test.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							5f7b47e20c
						
					
				
				
					commit
					8fe54a533a
				
			@@ -37,7 +37,8 @@ class HomeTest(ZulipTestCase):
 | 
			
		||||
            'Next message',
 | 
			
		||||
            'Search streams',
 | 
			
		||||
            'Welcome to Zulip',
 | 
			
		||||
            'pygments.css',
 | 
			
		||||
            # Verify that the app styles get included
 | 
			
		||||
            'app-styles-stubentry.js',
 | 
			
		||||
            'var page_params',
 | 
			
		||||
        ]
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user