Issue #2809533 by Lendude, jibran: Convert AJAX part of \Drupal\system\Tests\Ajax\FrameworkTest to JavascriptTestBase (cherry picked from commit f762c6a7)