magento / magento/magento2-functional-testing-framework
Provide Possibility To Reset Config Values
- Dominant language
- PHP
- Stars
- 154
- Forks
- 134
- PR merge metrics
- No merged PRs in 30d
Description
It is a good idea to properly isolate tests. However, this is currently not possible when working with configuration values.
### Preconditions
1. Magento 2.3.3
2. MFTF 2.4.3
### Steps to reproduce
1. Have a M2 installation of a client.
2. Write a test with config changes.
3. Run the test.
### Expected result
1. After the test has run, the configuration should be exactly like before.
### Actual result
1. It is currently not possible to reset config values to the values that were configured before the test was run. There should be a possibility to do so.
Contributor guide
Research direction
The issue provides no file, test, or entry point to begin with. Reproduce the behavior using Magento 2.3.3 and MFTF 2.4.3, then trace how a test applies configuration changes. Done means a test can finish with every configuration value restored to its pre-test state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100