Questions tagged [mftf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Missing folder _ouput in dev/test/acceptance/test/ in magento 2.3

After I run finished the test and I want to see the allure report in folder _ouput but it does not exist in dev/test/acceptance/test/, I do not know why? and in the Allure frame do not have test step
0
votes
0answers
20 views

Can not run vendor/bin/mftf generate:tests on Command line in Magento 2.3

When I run this command line vendor/bin/mftf generate:tests in Magento root it shows me an error : in ModuleReSovlver.php line 444: Could not retrieve API from Magento instance <403 ...
0
votes
0answers
16 views

MAGENTO2: HOW TO RUN TEST FILE .XML IN COMMAND LINE

I already have a file called StorefrontLockCustomerOnLoginPageTest.xmlplaced in the folder app\code\Magento\Customer\Test\Mftf\Test\StorefrontLockCustomerOnLoginPageTest.xml which following this code: ...
3
votes
0answers
21 views

How can run MFTF in parallel?

Is it possibe to run MFTF in parallel? If yes, could you guide me or show me documens related that? Thanks All
2
votes
1answer
28 views

How do I access a child entity field for reference in an MFTF Test

I need assistance trying to access a field of a required entity inside a parent entity created for a test Example I am trying to create a configurable product <createData entity="...
0
votes
0answers
9 views

Issues with MFTF installation Magento 2.3.1

I am facing issues during installation of MFTF unit testing framework. I am following the below link: https://www.vtnetzwelt.com/ecommerce-blog/magento-development-blog/magento-functional-testing-...
0
votes
1answer
49 views

PHP Fatal error: Class Mock_LoggerInterface contains 8 abstract >methods and must therefore be declared abstract or implement the remaining

Preconditions (*) Magento 2.3.1 upgraded from Magento 2.3.0 Php 7.2.15 OS : Ubuntu 18.04 Bionic Phpstorm 2019.1.1 Evnironemnt : Magento development PHPUnit 6.5.0 magento/magento2-functional-testing-...
0
votes
1answer
149 views

Error: Class “Yandex\Allure\Adapter\AllureAdapter” does not exist

Preconditions (*) Magento 2.3.1 upgraded from Magento 2.3.0 Php 7.2.15 OS : Ubuntu 18.04 Bionic Phpstorm 2019.1.1 Evnironemnt : Magento development Steps to reproduce (*) Issue appears after ...
1
vote
0answers
41 views

Magento 2.3.1 MFTF command error Permissin denied

I am working on the MFTF concept in Magento 2.3 community version. I am trying to run commands like vendor/bin/mftf --version and vendor/bin/mftf build:project, but getting error every time as: -"...
0
votes
0answers
124 views

Magento 2.3.1 MFTF is not generated core tests

Currently, I upgraded Magento to version 2.3.1, and the new version comes with a new version of Magento Functional Testing Framework version 2.3.14. Now when we need to generate the functional tests, ...
3
votes
1answer
88 views

MFTF stand alone - Could not retrieve API token from Magento Instance (302 Found) error

I installed MFTF stand alone and have a magento instance. Just following the getting started document before I write tests of my own. When generated/run the test it gives error - Could not retrieve ...
2
votes
0answers
25 views

Getting undefined index sampleData when trying to use generate:tests command in MFTF

I am working to use MFTF, it went well upto build:project and changes in .env file but when trying to generate tests I am getting ERROR Undefined index: SampleData in C:\xampp2\htdocs\magento2\dev\...
0
votes
0answers
14 views

In mftf, iframe elements are not getting identified

In Test folder <amOnPage url="test-page-5" stepKey="navigateToTimeoutPage"/> <waitForPageLoad stepKey="waitForPageLoad3"/> <switchToIFrame stepKey="switchToIFrame2"/> ...
0
votes
0answers
36 views

In mftf, popup elements are not getting identified

In Test folder xsi:noNamespaceSchemaLocation="../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Test/etc/testSchema.xsd"> <...
0
votes
0answers
25 views

Magento2 Functional Testing Framework (MFTF) - URL not redirecting properly

I want to redirect below page - <amOnPage url="admin/system_config/edit/section/adminconf/" stepKey="navigateToIncommCartTimeout"/> But it is redirecting only admin/system_config/edit/...