We can break up tests by component:

  • Dependent fields
  • The trigger & action Rules-type stuff
  • Other stuff: Not critical. Let's get the above 2 items done for now.

Comments

pratik_kamble created an issue. See original summary.

colan’s picture

Issue summary: View changes

Added component list.

pratik_kamble’s picture

Assigned: Unassigned » pratik_kamble

Starting work on it

pratik_kamble’s picture

Issue tags: +DIACWJuly2020
JayKandari’s picture

Issue tags: -DIACWJuly2020 +DIACWSep2020
colan’s picture

Version: 8.x-1.x-dev » 2.x-dev
Issue summary: View changes

Basic tests for dependent fields are now in.

PCate’s picture

I'm seeing Drupal CI test failures in some issues like https://www.drupal.org/project/business_rules/issues/3200711 and https://www.drupal.org/project/business_rules/issues/3202890

It seems to be related to the debug dependency not being installed:

Business_rules.Drupal\Tests\business_rules\FunctionalJavascript\ParagraphsAjaxSupport
Drupal\Tests\business_rules\FunctionalJavascript\ParagraphsAjaxSupport
fail: [Other] Line 0 of sites/default/files/simpletest/phpunit-1.xml:
PHPUnit Test failed to complete; Error: PHPUnit 6.5.14 by Sebastian Bergmann and contributors.

Testing Drupal\Tests\business_rules\FunctionalJavascript\ParagraphsAjaxSupport
F                                                                   1 / 1 (100%)

Time: 3.33 seconds, Memory: 4.00MB

There was 1 failure:

1) Drupal\Tests\business_rules\FunctionalJavascript\ParagraphsAjaxSupport::testTriggeringFieldCanAffectTargetFieldInParagraph
Unable to install modules: module 'business_rules_paragraphs_ajax_support' is missing its dependency module dbug.

/var/www/html/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php:481
/var/www/html/core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php:83
/var/www/html/core/tests/Drupal/Tests/BrowserTestBase.php:578
/var/www/html/core/tests/Drupal/Tests/BrowserTestBase.php:406
/var/www/html/modules/contrib/business_rules/tests/src/FunctionalJavascript/ParagraphsAjaxSupport.php:53

FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
1	Business_rules.Drupal\Tests\business_rules\FunctionalJavascript\DependentFieldsView	
Drupal\Tests\business_rules\FunctionalJavascript\DependentFieldsView
fail: [Other] Line 0 of sites/default/files/simpletest/phpunit-2.xml:
PHPUnit Test failed to complete; Error: PHPUnit 6.5.14 by Sebastian Bergmann and contributors.

Testing Drupal\Tests\business_rules\FunctionalJavascript\DependentFieldsView
F                                                                   1 / 1 (100%)

Time: 3.32 seconds, Memory: 4.00MB

There was 1 failure:

1) Drupal\Tests\business_rules\FunctionalJavascript\DependentFieldsView::testTriggeringFieldCanAffectTargetFieldInNode
Unable to install modules: module 'business_rules_dependent_fields_view' is missing its dependency module dbug.

/var/www/html/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php:481
/var/www/html/core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php:83
/var/www/html/core/tests/Drupal/Tests/BrowserTestBase.php:578
/var/www/html/core/tests/Drupal/Tests/BrowserTestBase.php:406
/var/www/html/modules/contrib/business_rules/tests/src/FunctionalJavascript/DependentFieldsView.php:53

FAILURES!
Tests: 1, Assertions: 1, Failures: 1.
1	Business_rules.Drupal\Tests\business_rules\Functional\ModuleInstallTest	
Drupal\Tests\business_rules\Functional\ModuleInstallTest
fail: [Other] Line 0 of sites/default/files/simpletest/phpunit-1.xml:
PHPUnit Test failed to complete; Error: PHPUnit 6.5.14 by Sebastian Bergmann and contributors.

Testing Drupal\Tests\business_rules\Functional\ModuleInstallTest
F                                                                   1 / 1 (100%)

Time: 3.35 seconds, Memory: 4.00MB

There was 1 failure:

1) Drupal\Tests\business_rules\Functional\ModuleInstallTest::testModuleInstalls
Unable to install modules: module 'business_rules' is missing its dependency module dbug.

/var/www/html/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php:481
/var/www/html/core/tests/Drupal/Tests/BrowserTestBase.php:578
/var/www/html/core/tests/Drupal/Tests/BrowserTestBase.php:406

FAILURES!
Tests: 1, Assertions: 1, Failures: 1.