Test 006: Configuration edit conflict |
|
---|---|
Objective | IF someone opens the configuration editor page and later saves a configuration change AND another person has saved a configuration change in the mean time THEN the configuration change is saved but a warning is displayed. |
Test Status | Stable |
Prerequisite | Access to the webinterface with right repository_status_permission. |
# | Action | User input | Expected result |
---|---|---|---|
1 | Open website | Open Commit Stop's web interface in a browser. | The current configuration is displayed in full and a list of configuration changes below. |
2 | Open website in a second tabl | Open Commit Stop's web interface again in a new browser tab. | The current configuration is displayed in full and a list of configuration changes below. |
3 | Switch to first browser tab | Click on the original browser tab to activate it again. | The current configuration is visible in the text area. |
5 | Change configuration | Add this line at the top of the configuration: # Test 006a |
The modified configuration is visible in the text area. |
6 | Comment change | In the comment field, enter: Test 006a. | The modified comment is visible in the input field. |
7 | Save changes | Click "Submit" button. | The configuration is saved. And # Test 006a is visible in the configuration field. |
8 | Switch to second browser tab | Click on the second browser tab to activate it again. | The old configuration is visible in the text area. |
9 | Change configuration | Add this line at the top of the configuration: # Test 006b |
The modified configuration is visible in the text area. |
10 | Comment change | In the comment field, enter: Test 006b. | The modified comment is visible in the input field. |
11 | Save changes | Click "Submit" button. | The configuration is saved and a popup message is displayed saying: "Changes have been submitted concurrently. Please revisit the configuration". |