magento2-functional-testing-framework icon indicating copy to clipboard operation
magento2-functional-testing-framework copied to clipboard

Magento2 Functional Testing Framework

Results 44 magento2-functional-testing-framework issues
Sort by recently updated
recently updated
newest added

### Preconditions 1. PHP 8.2 2. MFTF 4.7.2 Standalone 3. Magento 2.4.7 Latest MFTF version from master branch (https://github.com/magento/magento2-functional-testing-framework/tree/master) doesn't work with Magento 2.4.7, because M2.4.7 uses: ``` ┌──(kali㉿kali)-[~/magento2test] └─$...

### Preconditions 1. PHP8.2 2. latest MFTF Standalone (4.7.2) in /home/kali/mftf 3. unmodified Magento 2.4.7 in /var/www/html/magento2test Hello, I'm getting errors like: ``` [Magento\FunctionalTestingFramework\Exceptions\TestFrameworkException] Make sure cest files are generated...

Hello, I'm getting an error when running `vendor/bin/mftf build:project` I also managed to fix it my changing line 89 in vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Console/CleanProjectCommand.php from: `$fileSystem->remove($file);` to `$fileSystem->remove($file->getRealPath());` ### Preconditions 1. PHP 8.1.23...

There seems to be no documentation on how to set custom product attributes through entity data. I searched through the example tests and tried a few things to no avail....

Running the console command `build:project` with non-default PHP is not working as expected because the command runs sub-process `vendor/bin/codecept build` without specifying the PHP binary to run with, that in...

https://github.com/magento/magento2-functional-testing-framework/blob/0a5672871f31784e9a646bbd2ecb7d64173bbfd2/src/Magento/FunctionalTestingFramework/Util/TestGenerator.php#L1818 This feature is exploding the whole string inside the paranntheses. Its more or less impossible to use XPATH in this method as we cannot use //span[contains(@class,'class-to-search-for') and contains(@class,'has-another-class')] it...

When trying to run tests in newer version than 4.2.1 it gets an exception that it cant find AllureCodeception class. Referenced here with Namespace Yandex\Allure https://github.com/magento/magento2-functional-testing-framework/blob/develop/src/Magento/FunctionalTestingFramework/Allure/Adapter/MagentoAllureAdapter.php#L20 And in composer.lock Namespace...

The "time" argument has no effect with the waitForElementClickable action. **Example:** ```xml ``` **Result:** ``` [waitForAddToCartButtonClickable] wait for element clickable "button#product-addtocart-button" ``` Times out exactly after 10 seconds, ignoring both...

### Preconditions 1. PHP 8.2 2. Magento 2.4.6 3. MFTF 4.3.4 4. Selenium 3.141.59 ### Steps to reproduce 1. Have a test fail ### Expected result 1. A screenshot should...