Skip to content
Snippets Groups Projects

Resolve #3463875 "Bigpipe loadjs errors isdefined"

3 unresolved threads

Closes #3463875

Merge request reports

Merge request pipeline passed with warnings for f6a15739

Code Quality is loading
Test summary results are being parsed

Closed by Théodore BiadalaThéodore Biadala 6 months ago (Oct 8, 2024 8:37am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
4
5 namespace Drupal\Tests\config\FunctionalJavascript;
6
7 use Drupal\FunctionalJavascriptTests\WebDriverTestBase;
8
9 /**
10 * Tests the user interface for importing configuration.
11 *
12 * @group config
13 */
14 class ConfigImportUIAjaxTest extends WebDriverTestBase {
15
16 /**
17 * Modules to install.
18 *
19 * @var array
  • 49 $sync->write('system.site', $config_data);
    50 $this->assertTrue($sync->exists($name), $name . ' found.');
    51
    52 // Verify that system.site appears as ready to import.
    53 $this->drupalGet('admin/config/development/configuration');
    54 $this->assertSession()->responseContains('<td>' . $name);
    55 $this->assertSession()->buttonExists('Import all');
    56
    57 // Click the dropbutton to show the differences in a modal and close it.
    58 $page->find('css', '.dropbutton-action')->click();
    59 $assert_session->waitForElementVisible('css', '.ui-dialog');
    60 $assert_session->assertVisibleInViewport('css', '.ui-dialog .ui-dialog-content');
    61 $page->pressButton('Close');
    62 $assert_session->assertNoElementAfterWait('css', '.ui-dialog');
    63
    64 // Click the dropbutton again.
  • assigned to @quietone

  • spokje added 1 commit

    added 1 commit

    • bf0215c5 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • spokje added 1 commit

    added 1 commit

    Compare with previous version

  • spokje added 79 commits

    added 79 commits

    Compare with previous version

  • spokje added 6 commits

    added 6 commits

    • 7716ae8d - Issue #3463875: Add, use counter for making bundle IDs passed to loadjs unique.
    • ebbc150f - Added test
    • ac3eeade - Check if loadjs bundle already defined.
    • bf0215c5 - Apply 1 suggestion(s) to 1 file(s)
    • 2a901cac - Clean-up
    • 32294ebd - Merge branch '3463875-bigpipe-loadjs-errors-isdefined' of...

    Compare with previous version

  • spokje added 1 commit

    added 1 commit

    • f6a15739 - Nope, that was making it unclear on where the test failed.

    Compare with previous version

  • 1720 1720 */
    1721 1721 add_css(ajax, response, status) {
    1722 1722 const allUniqueBundleIds = response.data.map(function (style) {
    1723 const uniqueBundleId = style.href + ajax.instanceIndex;
    1723 const uniqueBundleId = style.href;
  • unassigned @quietone

  • Please register or sign in to reply
    Loading