9 use Magento\Integration\Test\Page\Adminhtml\IntegrationNew;
10 use Magento\Integration\Test\Fixture\Integration;
11 use Magento\Mtf\Constraint\AbstractConstraint;
26 IntegrationNew $integrationNew,
29 $errors = $integrationNew->getIntegrationForm()->getJsErrors(
"integration_info");
30 $emailJsError =
false;
32 if (strpos($error,
'Please enter a valid email address') !==
false) {
37 \PHPUnit\Framework\Assert::assertTrue(
39 'Failed to validate email address (' .
$integration->getEmail() .
') when saving integration.' 50 return 'Email address is properly validated when saving integration.';
processAssert(IntegrationNew $integrationNew, Integration $integration)