{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla/testpilot/issues/1446","repository_url":"https://api.github.com/repos/mozilla/testpilot","labels_url":"https://api.github.com/repos/mozilla/testpilot/issues/1446/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/testpilot/issues/1446/comments","events_url":"https://api.github.com/repos/mozilla/testpilot/issues/1446/events","html_url":"https://github.com/mozilla/testpilot/issues/1446","id":179222978,"number":1446,"title":"\"Enabling...\" state wrongly displayed when disabling an experiment and vice versa if the page is not refreshed between actions","user":{"login":"SoftVision-CosminMuntean","id":19226534,"avatar_url":"https://avatars.githubusercontent.com/u/19226534?v=3","gravatar_id":"","url":"https://api.github.com/users/SoftVision-CosminMuntean","html_url":"https://github.com/SoftVision-CosminMuntean","followers_url":"https://api.github.com/users/SoftVision-CosminMuntean/followers","following_url":"https://api.github.com/users/SoftVision-CosminMuntean/following{/other_user}","gists_url":"https://api.github.com/users/SoftVision-CosminMuntean/gists{/gist_id}","starred_url":"https://api.github.com/users/SoftVision-CosminMuntean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SoftVision-CosminMuntean/subscriptions","organizations_url":"https://api.github.com/users/SoftVision-CosminMuntean/orgs","repos_url":"https://api.github.com/users/SoftVision-CosminMuntean/repos","events_url":"https://api.github.com/users/SoftVision-CosminMuntean/events{/privacy}","received_events_url":"https://api.github.com/users/SoftVision-CosminMuntean/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/testpilot/labels/status:%20in%20progress","name":"status: in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"chuckharmston","id":23885,"avatar_url":"https://avatars.githubusercontent.com/u/23885?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckharmston","html_url":"https://github.com/chuckharmston","followers_url":"https://api.github.com/users/chuckharmston/followers","following_url":"https://api.github.com/users/chuckharmston/following{/other_user}","gists_url":"https://api.github.com/users/chuckharmston/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckharmston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckharmston/subscriptions","organizations_url":"https://api.github.com/users/chuckharmston/orgs","repos_url":"https://api.github.com/users/chuckharmston/repos","events_url":"https://api.github.com/users/chuckharmston/events{/privacy}","received_events_url":"https://api.github.com/users/chuckharmston/received_events","type":"User","site_admin":false},"assignees":[{"login":"chuckharmston","id":23885,"avatar_url":"https://avatars.githubusercontent.com/u/23885?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckharmston","html_url":"https://github.com/chuckharmston","followers_url":"https://api.github.com/users/chuckharmston/followers","following_url":"https://api.github.com/users/chuckharmston/following{/other_user}","gists_url":"https://api.github.com/users/chuckharmston/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckharmston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckharmston/subscriptions","organizations_url":"https://api.github.com/users/chuckharmston/orgs","repos_url":"https://api.github.com/users/chuckharmston/repos","events_url":"https://api.github.com/users/chuckharmston/events{/privacy}","received_events_url":"https://api.github.com/users/chuckharmston/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mozilla/testpilot/milestones/15","html_url":"https://github.com/mozilla/testpilot/milestones/TXP-0:%20Code%20Quality,%20Bug%20Fixes,%20Technical%20Debt","labels_url":"https://api.github.com/repos/mozilla/testpilot/milestones/15/labels","id":1867931,"number":15,"title":"TXP-0: Code Quality, Bug Fixes, Technical Debt","description":"Ongoing milestone to track high priority bug fixes, technical debt, etc.","creator":{"login":"ckprice","id":8632184,"avatar_url":"https://avatars.githubusercontent.com/u/8632184?v=3","gravatar_id":"","url":"https://api.github.com/users/ckprice","html_url":"https://github.com/ckprice","followers_url":"https://api.github.com/users/ckprice/followers","following_url":"https://api.github.com/users/ckprice/following{/other_user}","gists_url":"https://api.github.com/users/ckprice/gists{/gist_id}","starred_url":"https://api.github.com/users/ckprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckprice/subscriptions","organizations_url":"https://api.github.com/users/ckprice/orgs","repos_url":"https://api.github.com/users/ckprice/repos","events_url":"https://api.github.com/users/ckprice/events{/privacy}","received_events_url":"https://api.github.com/users/ckprice/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":22,"state":"open","created_at":"2016-07-06T15:50:08Z","updated_at":"2016-09-26T18:20:06Z","due_on":"2016-10-07T00:00:00Z","closed_at":null},"comments":0,"created_at":"2016-09-26T13:05:54Z","updated_at":"2016-09-26T18:20:06Z","closed_at":"2016-09-26T18:20:06Z","body":"[Affected versions]:\r\n- Nightly 52.0a1\r\n\r\n[Affected Platforms]:\r\n- All Windows\r\n\r\n[Prerequisites]:\r\n- The \"testpilot.env\" string pref was manually added with \"dev\" value on a new clean profile in \"about:config\" page.\r\n- Test Pilot add-on was previously installed on the profile.\r\n\r\n[Steps to reproduce]:\r\n1. Open the browser with the profile from prerequisite and navigate to testpilot.dev.mozaws.net/experiments/.\r\n2. Click on one of the available experiments and choose to \"Enable\" it.\r\n3. Without refreshing the page, while observing the button state, choose to \"Disable\" it.\r\n4. Refresh the page and enable it again.\r\n5. Refresh the page again and choose to \"Disable\" it.\r\n6. Without refreshing the page, while observing the button state, choose to \"Enable\" it again.\r\n\r\n[Expected results]:\r\n- Step 3: The button changes into \"Disabling...\" and after experiment is enabled, it changes into \"Enable <experiment_name>\".\r\n- Step 6:  The button changes into \"Enabling...\" and after the experiment is enabled, it changes into \"Disable <experiment_name>\".\r\n\r\n[Actual results]:\r\n- Step 3: The button wrongly changes into \"Enabling...\" and remains in that state together with the barberpole animation.\r\n- Step 6: The button first changes into \"Enabling...\" with the barbarpole animation, but after it changes into a static \"Disabling...\" one.\r\n\r\n[Notes]:\r\n- Added a screen recording with the issue: https://goo.gl/lbXavI."}}
{"actor":{"display_login":"dannycoates"}}