-
Notifications
You must be signed in to change notification settings - Fork 132
MQE-1257: MFTF Doctor command #500
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
Conversation
src/Magento/FunctionalTestingFramework/Console/TroubleShootCommand.php
Outdated
Show resolved
Hide resolved
src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add verification that you can open and access Magento storefront and Magento admin panel via browser.
The current implementation has already implicitly checked the connectivity to selenium (the ability to launch the browser) and Magento admin credentials. Do we still need to launch the browser to targeted urls? |
- config color for console output
docs/commands/mftf.md
Outdated
|
||
#### Description | ||
|
||
Diagnose MFTF configuration and setup |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add more description.
Make it more descriptive.
Like:
Command is checking Selenium is up and running
Selenium available for MFTF
Verify that new session of browser can access magento instance
MagentoCLI command setup properly
etc...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
const COLOR_LIGHT_GREEN = "\e[1;32m"; | ||
const COLOR_LIGHT_RED = "\e[1;31m"; | ||
const COLOR_LIGHT_DEFAULT = "\e[1;39m"; | ||
const COLOR_RESTORE = "\e[0m"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove those constants and make use of \Symfony\Component\Console\Style\SymfonyStyle
class.
here is more info how it work: https://symfony.com/doc/current/console/style.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed. However, the code does style the output but there is no color change in my environment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I install MFTF standalone all checks works fine.
But with embedded edition they fail.
Please check what can be wrong.
Missed / in the embedded bootstrap file. Fixed. |
Description
Fixed Issues (if relevant)
Contribution checklist