Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade:tests references nonexistent class #900

Open
lfolco opened this issue Apr 28, 2023 · 2 comments
Open

upgrade:tests references nonexistent class #900

lfolco opened this issue Apr 28, 2023 · 2 comments

Comments

@lfolco
Copy link
Contributor

lfolco commented Apr 28, 2023

Preconditions

  1. Be on v4.2.1

Steps to reproduce

  1. Run vendor/bin/mftf upgrade:tests

Expected result

Tests get upgrade

Actual result

Fatal error:

Fatal error: Uncaught Error: Class "Magento\FunctionalTestingFramework\StaticCheck\ActionGroupArgumentsCheck" not found in /Users/lfolco/Sites/myproject/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Upgrade/RemoveUnusedArguments.php:43
Stack trace:
#0 /Users/lfolco/Sites/myproject/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Console/UpgradeTestsCommand.php(60): Magento\FunctionalTestingFramework\Upgrade\RemoveUnusedArguments->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 /Users/lfolco/Sites/myproject/vendor/symfony/console/Command/Command.php(298): Magento\FunctionalTestingFramework\Console\UpgradeTestsCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 /Users/lfolco/Sites/myproject/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /Users/lfolco/Sites/myproject/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand(Object(Magento\FunctionalTestingFramework\Console\UpgradeTestsCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /Users/lfolco/Sites/myproject/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 /Users/lfolco/Sites/myproject/vendor/magento/magento2-functional-testing-framework/bin/mftf(40): Symfony\Component\Console\Application->run()
#6 /Users/lfolco/Sites/myproject/vendor/bin/mftf(117): include('/Users/lfolco/S...')
#7 {main}
  thrown in /Users/lfolco/Sites/myproject/vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Upgrade/RemoveUnusedArguments.php on line 43
@m2-assistant
Copy link

m2-assistant bot commented Apr 28, 2023

Hi @lfolco. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this


Join Magento Community Engineering Slack and ask your questions in #github channel.

@nborgawkar
Copy link

Is there any update on this? Facing same issue while executing sudo vendor/bin/mftf build:project --upgrade command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants