Add xhr and BigPipe assertions to PerformanceTestTrait

Created on 14 April 2023, over 1 year ago
Updated 15 June 2023, over 1 year ago

Problem/Motivation

via @Wim Leers:

I'm missing:

$xhrCount
$serverCachedXhrCount (see 📌 Allow AJAX to use GET requests Fixed )
$clientCachedXhrCount (i.e. transferSize === 0 — see \Drupal\Tests\entity_embed\FunctionalJavascript\MediaImageTest::getLastPreviewRequestTransferSize().)
$bigPipePlaceholderCount (see \Drupal\Tests\standard\FunctionalJavascript\StandardJavascriptTest)

From Add PerformanceTestBase for allowing browser performance assertions within FunctionalJavaScriptTests Fixed .

Ideally we should use any or most things we add.

https://www.drupal.org/project/drupal/issues/3346765#mr3617-note166229 Add PerformanceTestBase for allowing browser performance assertions within FunctionalJavaScriptTests Fixed

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component
PHPUnit 

Last updated about 20 hours ago

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024