Fixes sub-task #308: folder clearing paths #316
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes #308
Adds directory existence/emptiness checks and two new Self-host Google Fonts scenarios to verify cache folders cleanup when toggling Self-host GF with RUCSS on/off.
Type of change
Detailed scenario
What was tested
Ran
npm run test:testfor the newly added scenarios under self-host-google-fonts.feature:Test results screenshot:

How to test
Add @test to the two new scenarios in
src/features/self-host-google-fonts.feature, then runnpm run test:test.Or run the whole feature with
npm run test:selfhostgooglefonts(no tags needed).Technical description
Documentation
E2E coverage was updated with two new self-host GF scenarios and added folder existence/emptiness checks
New dependencies
N/A
Risks
List possible performance & security issues or risks, and explain how they have been mitigated.
Mandatory Checklist
Code validation
Code style
Unticked items justification
N/A
Additional Checks