Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
magento2-base
dev
tests
functional
tests
app
Magento
Swagger
Test
Constraint
AssertApiInfoTitleOnPage.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Swagger\Test\Constraint
;
8
9
use
Magento\Swagger\Test\Page\SwaggerUiPage
;
10
use Magento\Mtf\Constraint\AbstractConstraint;
11
15
class
AssertApiInfoTitleOnPage
extends
AbstractConstraint
16
{
22
protected
$titleSelector
=
'.title'
;
23
30
public
function
processAssert
(
SwaggerUiPage
$swaggerPage)
31
{
32
\PHPUnit\Framework\Assert::assertTrue(
33
$swaggerPage->
isElementVisible
($this->titleSelector),
34
'REST API info title on swagger page.'
35
);
36
}
37
43
public
function
toString
()
44
{
45
return
'REST API info title on swagger page.'
;
46
}
47
}
Magento\Swagger\Test\Constraint
Definition:
AssertApiInfoTitleOnPage.php:7
Magento\Swagger\Test\Constraint\AssertApiInfoTitleOnPage
Definition:
AssertApiInfoTitleOnPage.php:15
Magento\Swagger\Test\Constraint\AssertApiInfoTitleOnPage\processAssert
processAssert(SwaggerUiPage $swaggerPage)
Definition:
AssertApiInfoTitleOnPage.php:30
Magento\Swagger\Test\Constraint\AssertApiInfoTitleOnPage\$titleSelector
$titleSelector
Definition:
AssertApiInfoTitleOnPage.php:22
Magento\Swagger\Test\Page\SwaggerUiPage
Definition:
SwaggerUiPage.php:15
Magento\Swagger\Test\Constraint\AssertApiInfoTitleOnPage\toString
toString()
Definition:
AssertApiInfoTitleOnPage.php:43
Magento\Swagger\Test\Page\SwaggerUiPage\isElementVisible
isElementVisible($selector, $strategy=Locator::SELECTOR_CSS)
Definition:
SwaggerUiPage.php:84