Skip to content

Commit

Permalink
[apigee#487] Check for required class instead of attribute in functio…
Browse files Browse the repository at this point in the history
…nal js test.
  • Loading branch information
zakiya committed Oct 2, 2020
1 parent 8130530 commit 4e8fe1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/FunctionalJavascript/AppSettingsFormTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function testAppSettingsForm() {
$web_assert->assertWaitOnAjaxRequest();
$this->createScreenshot("AppSettingsFormTest-" . __FUNCTION__);
$product_list = $this->getSession()->getPage()->find('css', '#default-api-product-multiple fieldset');
$this->assertTrue($product_list->hasAttribute('required'));
$this->assertTrue($product_list->hasClass('required'));
$this->getSession()->getPage()->pressButton('edit-submit');
$this->assertSession()->pageTextContains('Default API Products field is required.');
$this->getSession()->getPage()->checkField("default_api_product_multiple[{$this->defaultApiProduct->getName()}]");
Expand Down

0 comments on commit 4e8fe1b

Please sign in to comment.