9 use Magento\Variable\Test\Page\Adminhtml\SystemVariableIndex;
10 use Magento\Mtf\Constraint\AbstractConstraint;
25 public function processAssert(SystemVariableIndex $systemVariableIndexPage)
27 $actualMessage = $systemVariableIndexPage->getMessagesBlock()->getSuccessMessage();
28 \PHPUnit\Framework\Assert::assertEquals(
29 self::SUCCESS_DELETE_MESSAGE,
31 'Wrong success message is displayed.' 32 .
"\nExpected: " . self::SUCCESS_DELETE_MESSAGE
33 .
"\nActual: " . $actualMessage
44 return 'Custom System Variable success delete message is correct.';
const SUCCESS_DELETE_MESSAGE
processAssert(SystemVariableIndex $systemVariableIndexPage)