Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e2e test "test_browsingContext_reload_ignoreCache" is flaky #1928

Open
OrKoN opened this issue Mar 4, 2024 · 0 comments
Open

e2e test "test_browsingContext_reload_ignoreCache" is flaky #1928

OrKoN opened this issue Mar 4, 2024 · 0 comments

Comments

@OrKoN
Copy link
Collaborator

OrKoN commented Mar 4, 2024

See https://github.com/GoogleChromeLabs/chromium-bidi/actions/runs/8099020160/job/22133809636

FAILED tests/browsing_context/test_reload.py::test_browsingContext_reload_ignoreCache[websocket0-False] - assert equals failed
  {                                {                               
    'method': 'network.responseCo    'method': 'network.responseCo 
  mpleted',                        mpleted',                       
    'params': {                      'params': {                   
      'context': '1C8B0C0280DF3F8      'context': '1C8B0C0280DF3F8 
  E818113EDEEA40EA4',              E818113EDEEA40EA4',             
      'isBlocked': False,              'isBlocked': False,         
      'navigation': '0FF60CCDFA2A      'navigation': ANY_STR,      
  733F7705CCAABC0D7788',                                           
      'redirectCount': 0,              'redirectCount': 0,         
      'request': {                     'request': ANY_DICT,        
        'bodySize': 0,                 'response': AnyWithEntries( 
                                   {'status': 304}),               
        'cookies': [],                 'timestamp': AnyAnd(ANY_NUM 
                                   BER, AnyGT(1577833200000), AnyL 
                                   T(4102441200000)),              
        'headers': [                                               
          {                                                        
            'name': 'Upgrade-Inse                                  
  cure-Requests',                                                  
            'value': {                                             
              'type': 'string',                                    
              'value': '1',                                        
            },                                                     
          },                                                       
          {                                                        
            'name': 'User-Agent',                                  
            'value': {                                             
              'type': 'string',                                    
              'value': 'Mozilla/5                                  
  .0 (Macintosh; Intel Mac OS X 1                                  
  0_15_7) AppleWebKit/537.36 (KHT                                  
  ML, like Gecko) Chrome/124.0.0.                                  
  0 Safari/537.36',                                                
            },                                                     
          },                                                       
          {                                                        
            'name': 'sec-ch-ua',                                   
            'value': {                                             
              'type': 'string',                                    
              'value': '"Not-A.Br                                  
  and";v="99", "Chromium";v="124"                                  
  ',                                                               
            },                                                     
          },                                                       
          {                                                        
            'name': 'sec-ch-ua-mo                                  
  bile',                                                           
            'value': {                                             
              'type': 'string',                                    
              'value': '?0',                                       
            },                                                     
          },                                                       
          {                                                        
            'name': 'sec-ch-ua-pl                                  
  atform',                                                         
            'value': {                                             
              'type': 'string',                                    
              'value': '"macOS"',                                  
            },                                                     
          },                                                       
        ],                                                         
        'headersSize': 265,                                        
        'method': 'GET',                                           
        'request': '0FF60CCDFA2A7                                  
  33F7705CCAABC0D7788',                                            
        'timings': {                                               
          'connectEnd': 0,                                         
          'connectStart': 0,                                       
          'dnsEnd': 0,                                             
          'dnsStart': 0,                                           
          'fetchStart': 0,                                         
          'redirectEnd': 0,                                        
          'redirectStart': 0,                                      
          'requestStart': 0,                                       
          'requestTime': 0,                                        
          'responseEnd': 0,                                        
          'responseStart': 0,                                      
          'timeOrigin': 0,                                         
          'tlsStart': 0,                                           
        },                                                         
        'url': 'http://localhost:                                  
  49250/cacheable',                                                
      },                                                           
      'response': {                                                
        'bodySize': 0,                                             
        'bytesReceived': 237,                                      
        'content': {                                               
          'size': 0,                                               
        },                                                         
        'fromCache': False,                                        
        'headers': [                                               
          {                                                        
            'name': 'Cache-Contro                                  
  l',                                                              
            'value': {                                             
              'type': 'string',                                    
              'value': 'public, m                                  
  ax-age=31536000',                                                
            },                                                     
          },                                                       
          {                                                        
            'name': 'Connection',                                  
            'value': {                                             
              'type': 'string',                                    
              'value': 'close',                                    
            },                                                     
          },                                                       
          {                                                        
            'name': 'Content-Leng                                  
  th',                                                             
            'value': {                                             
              'type': 'string',                                    
              'value': '143',                                      
            },                                                     
          },                                                       
          {                                                        
            'name': 'Content-Type                                  
  ',                                                               
            'value': {                                             
              'type': 'string',                                    
              'value': 'text/html                                  
  ',                                                               
            },                                                     
          },                                                       
          {                                                        
            'name': 'Date',                                        
            'value': {                                             
              'type': 'string',                                    
              'value': 'Thu, 29 F                                  
  eb 2024 16:09:33 GMT',                                           
            },                                                     
          },                                                       
          {                                                        
            'name': 'Last-Modifie                                  
  d',                                                              
            'value': {                                             
              'type': 'string',                                    
              'value': '2024-02-2                                  
  9T16:09:33Z',                                                    
            },                                                     
          },                                                       
          {                                                        
            'name': 'Server',                                      
            'value': {                                             
              'type': 'string',                                    
              'value': 'Werkzeug/                                  
  3.0.1 Python/3.11.8',                                            
            },                                                     
          },                                                       
        ],                                                         
        'headersSize': 218,                                        
        'mimeType': 'text/html',                                   
        'protocol': 'http/1.0',                                    
        'status': 200,                                             
        'statusText': 'OK',                                        
        'url': 'http://localhost:                                  
  49250/cacheable',                                                
      },                                                           
      'timestamp': 1709222973759,                                  
    },                               },                            
    'type': 'event',                 'type': 'event',              
  }                                }
  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants