Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SimplifiedselectElement extends SelectElement
protected $optionGroupValue = ".//*[@data-title='%s' or contains(normalize-space(.), %s)]";

/**
* Select value in ropdown which has option groups.
* Select value in dropdown which has option groups.
*
* @param string $value
* @return void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class SwitcherElement extends SimpleElement
protected $parentContainer = 'parent::div[@data-role="switcher"]';

/**
* XPath selector for label text on swticher element.
* XPath selector for label text on switcher element.
*
* @var string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* 3. Open the created order.
* 4. Create partial invoice
* 4. Do cancel Order.
* 5. Perform all assetions.
* 5. Perform all assertions.
*
* @group Order_Management
* @ZephyrId MAGETWO-67787
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Search extends SuggestElement
protected $actionToggle = '.action-toggle';

/**
* Saerch result dropdown.
* Search result dropdown.
*
* @var string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class AssertProductAttributeIsHtmlAllowed extends AbstractConstraint

/**
* Check whether html tags are using in attribute value.
* Checked tag structure <b><i>atttribute_default_value</p></i></b>
* Checked tag structure <b><i>attribute_default_value</p></i></b>
*
* @param InjectableFixture $product
* @param CatalogProductAttribute $attribute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class WebsiteIds extends DataSource
private $fixtureFactory;

/**
* Rought fixture field data.
* Rough fixture field data.
*
* @var array
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
* 1. Login to backend.
* 2. Create a product with invalid from and To dates
* 3. Save the product which generates an error messsage
* 3. Save the product which generates an error message
* 4. Modify the dates to valid values
* 5. Save the product again
* 6. Product is saved successfully
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function processAssert(CheckoutOnepage $checkoutOnepage, $billingCheckbox
}

/**
* Returns a string representation of successfull assertion.
* Returns a string representation of successful assertion.
*
* @return string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Steps:
* 1. Log in to Admin.
* 2. Go to Stores>Configuration>Advanced>admin>Security.
* 3. * 7. Verify admin Acoount Sharing option availability.
* 3. Verify admin Account Sharing option availability.
*
* @group Config_(PS)
* @ZephyrId MAGETWO-47822
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Magento\ConfigurableProduct\Test\Block\Product\View\ConfigurableOptions;

/**
* Open created configurble product on frontend and choose variation with tier price
* Open created configurable product on frontend and choose variation with tier price
*/
class AssertProductTierPriceOnProductPage extends AssertProductPage
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class WebsiteId extends DataSource
private $fixtureFactory;

/**
* Rought fixture field data.
* Rough fixture field data.
*
* @var array
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function __prepare(FixtureFactory $fixtureFactory)
}

/**
* Prepare VAT ID confguration.
* Prepare VAT ID configuration.
*
* @param ConfigData $vatConfig
* @param string $customerGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class ReAuthorizeTokensIntegrationEntityTest extends Injectable
*
* @param FixtureFactory $fixtureFactory
* @param IntegrationIndex $integrationIndex
* @retun void
* @return void
*/
public function __inject(IntegrationIndex $integrationIndex, FixtureFactory $fixtureFactory)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ abstract class Sidebar extends Block
protected $addToOrderProductName = './/tr/td[.="%s"]';

/**
* Add productz to order.
* Add products to order.
*
* @param array $products
* @return void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* 2. Sales > Orders.
* 3. Open the created order.
* 4. Do cancel Order.
* 5. Perform all assetions.
* 5. Perform all assertions.
*
* @group Order_Management
* @ZephyrId MAGETWO-28191
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class CreateCustomOrderStatusEntityTest extends Injectable
/* end tags */

/**
* Order staus page.
* Order status page.
*
* @var OrderStatusIndex
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Magento\Mtf\Constraint\AbstractConstraint;

/**
* Assert sales rule delte message.
* Assert sales rule delete message.
*/
class AssertCartPriceRuleSuccessDeleteMessage extends AbstractConstraint
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use Magento\Shipping\Test\Constraint\AssertCityBasedShippingRateChanged;

/**
* Fill shipping addresses and assert rates relouding.
* Fill shipping addresses and assert rates reloading.
*/
class FillShippingAddressesStep implements TestStepInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function selectStoreGroup(Store $store)
}

/**
* Check if correspondent "Store" is present in "Store" swither or not.
* Check if correspondent "Store" is present in "Store" switcher or not.
*
* @param Store $store
* @return bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ public function selectMassAction($massActionSelection)
}

/**
* Peform action using the dropdown above the grid.
* Perform action using the dropdown above the grid.
*
* @param array|string $action [array -> key = value from first select; value => value from subselect]
* @return void
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function setAlertText($text)
}

/**
* Wait until modal window will disapper.
* Wait until modal window will disappear.
*
* @return void
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* Steps:
* 1. Navigate to backend.
* 2. Go to grid page
* 3. Perfrom full text search
* 5. Perform Asserts
* 3. Perform full text search
* 4. Perform Asserts
*
* @group Ui
* @ZephyrId MAGETWO-41330
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected function prepareData(FixtureInterface $fixture)
*
* @param array $data
* @param SimpleElement $context
* @retun void
* @return void
*/
protected function fillFields(array $data, SimpleElement $context)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Magento\Mtf\Constraint\AbstractConstraint;

/**
* Check that created widget displayed on frontent on Home page and on Advanced Search and
* Check that created widget displayed on frontend on Home page and on Advanced Search and
* after click on widget link on frontend system redirects you to cms page.
*/
class AssertWidgetCmsPageLink extends AbstractConstraint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ abstract public function cleanup();
abstract protected function getSetupDbDumpFilename();

/**
* Is dump esxists
* Is dump exists
*
* @return bool
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ protected function getSetupDbDumpFilename()
}

/**
* Is dump esxists
* Is dump exists
*
* @return bool
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function setUp()
\Magento\Framework\App\Arguments\FileResolver\Primary::class
)->disableOriginalConstructor()->getMock();

/* Enable Validation regardles of MAGE_MODE */
/* Enable Validation regardless of MAGE_MODE */
$validateStateMock = $this->getMockBuilder(
\Magento\Framework\Config\ValidationStateInterface::class
)->disableOriginalConstructor()->getMock();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ protected function setUp()
}

/**
* @param sring|null $typeId
* @param string|null $typeId
* @param string $expectedClass
* @dataProvider factoryDataProvider
*/
Expand Down Expand Up @@ -52,7 +52,7 @@ public function factoryDataProvider()
}

/**
* @param sring|null $typeId
* @param string|null $typeId
* @dataProvider factoryReturnsSingletonDataProvider
*/
public function testFactoryReturnsSingleton($typeId)
Expand Down Expand Up @@ -82,7 +82,7 @@ public function factoryReturnsSingletonDataProvider()
}

/**
* @param sring|null $typeId
* @param string|null $typeId
* @param string $expectedClass
* @dataProvider priceFactoryDataProvider
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
require dirname(dirname(__DIR__)) . '/Catalog/_files/category.php';
/** Create fixture store */
require dirname(dirname(__DIR__)) . '/Store/_files/second_store.php';
/** Create product with mulselect attribute */
/** Create product with multiselect attribute */
require dirname(dirname(__DIR__)) . '/Catalog/_files/products_with_multiselect_attribute.php';

$productModel = \Magento\TestFramework\Helper\Bootstrap::getObjectManager()->create(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public function testGetCustomAttributesMetadataWithCustomAttributes()
);

// Verify the consistency of custom attribute metadata from two services
// after getAttrbiuteCode was called
// after getAttributeCode was called
foreach ($customAttributesMetadata2 as $attribute) {
$attribute->getAttributeCode();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public function getSubFieldsetDataProvider()
$fieldsetField = $textField;
$fieldsetField[1] = 'fieldset';
$advancedFieldsetFld = $fieldsetField;
// set isAdvenced flag
// set isAdvanced flag
$advancedFieldsetFld[4] = true;
$result = [[[$fieldsetField, $textField, $advancedFieldsetFld], 1]];
return $result;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public function deleteExpiredTokensDataProvider()
}

/**
* Make that only exired tokens were cleaned up
* Make that only expired tokens were cleaned up
*
* @param array $expectedRemovedTokenNumbers
* @param array $expectedPreservedTokenNumbers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ protected function setUp()
$xmlPath = __DIR__ . '/../../_files/search_engine.xml';
$objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();

// Clear out the clache
// Clear out the cache
$cacheManager = $objectManager->create(\Magento\Framework\App\Cache\Manager::class);
/** @var \Magento\Framework\App\Cache\Manager $cacheManager */
$cacheManager->clean($cacheManager->getAvailableTypes());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ZeroUnitsSniff implements Sniff
const CSS_PROPERTY_UNIT_REM = 'rem';

/**
* List of available CSS Propery units
* List of available CSS Property units
*
* @var array
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/Magento/Framework/App/DeploymentConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function resetData()
}

/**
* Check if data from deploy files is avaiable
* Check if data from deploy files is available
*
* @return bool
* @since 100.1.3
Expand Down