Closed (fixed)
Project:
Rules
Version:
8.x-3.x-dev
Component:
User Interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Jan 2016 at 09:28 UTC
Updated:
19 Feb 2016 at 21:04 UTC
Jump to comment: Most recent
Comments
Comment #2
dasjoComment #3
kiranjoshi commentedComment #4
kiranjoshi commentedSubmitted pull request
https://github.com/fago/rules/pull/363
Comment #5
Sentei commentedComment #6
Sentei commentedThe cancel button works, the temporary changes are deleted when cancel is being clicked.
Comment #7
klausiCan you add a Functional test to TempStorageTest to check that the cancel button works? I think a new test method there should demonstrate that the cancel button works.
Comment #8
markie commentedAdded PR https://github.com/fago/rules/pull/370 to insert test as requested. Had to add result text to test.
Comment #9
dasjoComment #10
kiranjoshi commentedAdded Tests for:
* Clicking cancel displays the text "Canceled"
* Clicking cancel returns to the main Rules screen
* Clicking cancel does not cancel temporary changes if another user is editing and has lock the rule
I'm not sure if more tests should be added to verify the temp storage is actually removed.
PR https://github.com/fago/rules/pull/371
Comment #11
fagoThanks, I think that's fine as test coverage for now! Committed.
While testing I ran into #2659806: Warnings when adding an action, but that does not seem to be related to this change.
Comment #13
klausiThe test case added here was a bit wrong, I fixed it in #2659954: TempStorageTest::testLocking has random fails.