9 use Magento\Mtf\Constraint\AbstractConstraint;
10 use Magento\Mtf\TestStep\TestStepFactory;
11 use Magento\Backend\Test\Page\Adminhtml\Dashboard;
27 TestStepFactory $stepFactory,
32 \
Magento\Backend\Test\TestStep\GetDashboardOrderStep::class,
33 [
'argumentsList' => $argumentsList]
36 \PHPUnit\Framework\Assert::assertTrue(
37 $dashboard->getMainBlock()->isGraphImageVisible(),
38 'Graph image is not visible on admin dashboard.' 49 return 'Order graph image is visible on the dashboard.';
processAssert(TestStepFactory $stepFactory, Dashboard $dashboard, array $argumentsList)