Skip to content

Commit

Permalink
ACMS-4288: Fix GitLab CI pipelines of Drupal Starter Kit Headless Mod…
Browse files Browse the repository at this point in the history
…ule.
  • Loading branch information
rajeshreeputra authored and DDEV User committed Oct 24, 2024
1 parent bce5555 commit 450615d
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,10 @@ protected function assertNextJsEntityTypeConfigure(): void {
$assert = $this->assertSession();
$page = $this->getSession()->getPage();
$this->drupalGet("admin/config/services/next/entity-types/add");
$assert->selectExists('id')->selectOption('node.test');
$assert->waitForElementVisible('css', '.settings-container');
$this->assertTrue($assert->optionExists('id', 'node.test')->isSelected());
$assert->selectExists('Entity type')->selectOption('node.test');
$this->assertTrue($assert->optionExists('Entity type', 'node.test')->isSelected());
$assert->waitForText('Settings');
$assert->waitForText('Configure draft mode for this entity type.');
$assert->selectExists('site_resolver')->selectOption('site_selector');
$assert->assertWaitOnAjaxRequest();
$assert->waitForText('Next.js sites');
Expand Down

0 comments on commit 450615d

Please sign in to comment.