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

Enhancement/refactor smoke test #142

Merged
merged 18 commits into from
Sep 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removed unneeded save step as save is already in disable/enable all s…
…ettings
  • Loading branch information
Mai-Saad committed Sep 17, 2024
commit da3a717f831066ae6c7a2bff388fc81ea60139a4
5 changes: 1 addition & 4 deletions src/features/settings-export-import.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@smoke @local @export @setup
@smoke @local @export @setup @only
Feature: C2148 - Should not change the content of existing fields

Background:
@@ -10,23 +10,20 @@ Feature: C2148 - Should not change the content of existing fields
And I disabled all settings
And I export data '1'
And I enable all settings
And I save settings 'cache' 'cacheLoggedUser'
When I import data
Then data is imported correctly

Scenario: Data exported correctly on previous version
Given plugin is installed 'previous_stable'
And plugin is activated
Given I disabled all settings
And I save settings 'media' 'lazyload'
When I export data '2'
Then data '2' is exported correctly

Scenario: Data exported correctly on latest version
Given plugin is installed 'previous_stable'
And plugin is activated
And I disabled all settings
And I save settings 'media' 'lazyload'
And I updated plugin to 'new_release'
And I save settings 'media' 'lazyload'
When I export data '3'