Skip to content

Commit

Permalink
passes locally, so try to see what's happening
Browse files Browse the repository at this point in the history
  • Loading branch information
demeritcowboy committed Aug 12, 2024
1 parent c9584ef commit be876e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
run: |
mkdir -p $BROWSERTEST_OUTPUT_DIRECTORY
cd ~/drupal/web
../vendor/bin/phpunit --display-skipped -c core modules/contrib/webform_civicrm
../vendor/bin/phpunit -c core --filter testRenderingOfExistingContactElement modules/contrib/webform_civicrm/tests/src/FunctionalJavascript/ExistingContactElementTest.php
env:
SYMFONY_DEPRECATIONS_HELPER: 999999
SIMPLETEST_DB: mysql://root:@127.0.0.1:${{ job.services.mysql.ports[3306] }}/db
Expand Down
1 change: 1 addition & 0 deletions tests/src/FunctionalJavascript/WebformCivicrmTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ protected function editContactElement($params) {
$this->assertSession()->waitForElementVisible('css', "[data-drupal-selector=\"{$params['selector']}\"] a.webform-ajax-link");

$contactElementEdit = $this->assertSession()->elementExists('css', "[data-drupal-selector=\"{$params['selector']}\"] a.webform-ajax-link");
$this->createScreenshot($this->htmlOutputDirectory . '/pic' . hrtime(true) . '.png');
$contactElementEdit->click();

$this->assertSession()->waitForElementVisible('css', "button.webform-details-toggle-state");
Expand Down

0 comments on commit be876e4

Please sign in to comment.