Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Issue 2959833002: config_service: add last import validation and tests (Closed)

Created:
3 years, 5 months ago by ayanaadylova
Modified:
3 years, 5 months ago
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

config_service: add last import validation and tests In the front page user can see whether last import was successful or failed. In the config set page the appropriate error message is displayed if the last import failed. Added tests for front-page and config-set page. BUG=730832 Review-Url: https://codereview.chromium.org/2959833002 Committed: https://github.com/luci/luci-py/commit/56121b33d24c5a9fb2a8aff8247cf52f749a6952

Patch Set 1 #

Patch Set 2 : Remove test file from this CL. #

Patch Set 3 : Add test files. #

Total comments: 4

Patch Set 4 : config_service: add last import validation #

Patch Set 5 : Add tests to front-page and config-set page. #

Total comments: 15

Patch Set 6 : Add some test files. #

Patch Set 7 : Add tests for config-set page and front-page. #

Total comments: 10

Patch Set 8 : Fix some test files. #

Total comments: 10

Patch Set 9 : Include a bug number for making the element call on-response handler automatically. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+483 lines, -26 lines) Patch
M appengine/config_service/app.yaml View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M appengine/config_service/ui/src/config-ui/config-file-card.html View 1 2 3 2 chunks +20 lines, -4 lines 0 comments Download
M appengine/config_service/ui/src/config-ui/config-set.html View 1 2 3 4 5 6 7 7 chunks +75 lines, -11 lines 0 comments Download
M appengine/config_service/ui/src/config-ui/config-set-card.html View 1 2 3 4 5 6 2 chunks +34 lines, -4 lines 0 comments Download
M appengine/config_service/ui/src/config-ui/config-ui.html View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M appengine/config_service/ui/src/config-ui/front-page.html View 1 2 3 4 5 6 3 chunks +14 lines, -2 lines 0 comments Download
A appengine/config_service/ui/static/elements.html View 1 chunk +17 lines, -0 lines 0 comments Download
M appengine/config_service/ui/static/index.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A appengine/config_service/ui/test/config-ui/config-set_test.html View 1 2 3 4 5 6 7 8 1 chunk +179 lines, -0 lines 0 comments Download
M appengine/config_service/ui/test/config-ui/front-page_test.html View 1 2 3 4 5 6 7 8 1 chunk +108 lines, -2 lines 0 comments Download
A appengine/config_service/ui/test/index.html View 1 2 3 4 5 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
ayanaadylova
I am not sure why, but for config-set-card and config-set files diff shows that I ...
3 years, 5 months ago (2017-06-26 21:28:58 UTC) #3
Sergey Berezin
On 2017/06/26 at 21:28:58, ayanaadylova wrote: > I am not sure why, but for config-set-card ...
3 years, 5 months ago (2017-06-26 22:57:08 UTC) #4
Sergey Berezin
Overall seems good. For this CL, let's write some tests for the new functionality. Thanks! ...
3 years, 5 months ago (2017-06-26 23:16:26 UTC) #5
ayanaadylova
On 2017/06/26 21:28:58, ayanaadylova wrote: > I am not sure why, but for config-set-card and ...
3 years, 5 months ago (2017-06-26 23:57:11 UTC) #7
ayanaadylova
Added some tests for front-page and config-set page. I also have not yet figured out ...
3 years, 5 months ago (2017-06-28 15:37:28 UTC) #8
Sergey Berezin
This is great progress! One more set of comments to polish up the tests. Thanks! ...
3 years, 5 months ago (2017-06-28 19:11:36 UTC) #9
ayanaadylova
Ryan asked me to upload these tests but some of them are still failing. https://codereview.chromium.org/2959833002/diff/80001/appengine/config_service/app.yaml ...
3 years, 5 months ago (2017-07-05 18:02:45 UTC) #10
ayanaadylova
Added tests for config-set page and front page. Link to the staging version: https://2951-32c3d35-tainted-ayanaadylova-dot-luci-config.appspot.com/newui All ...
3 years, 5 months ago (2017-07-06 22:51:44 UTC) #11
Ryan Tseng
this looks great, i have a few small comments but mostly questions. https://codereview.chromium.org/2959833002/diff/120001/appengine/config_service/ui/src/config-ui/config-set.html File appengine/config_service/ui/src/config-ui/config-set.html ...
3 years, 5 months ago (2017-07-10 19:37:01 UTC) #15
ayanaadylova
PTAL https://codereview.chromium.org/2959833002/diff/120001/appengine/config_service/ui/src/config-ui/config-set.html File appengine/config_service/ui/src/config-ui/config-set.html (right): https://codereview.chromium.org/2959833002/diff/120001/appengine/config_service/ui/src/config-ui/config-set.html#newcode104 appengine/config_service/ui/src/config-ui/config-set.html:104: <template is="dom-if" if="[[_not(isLoading)]]"> On 2017/07/10 19:37:01, Ryan Tseng ...
3 years, 5 months ago (2017-07-10 20:33:34 UTC) #16
Sergey Berezin
LGTM with a few nits and cosmetic comments. Thanks! https://codereview.chromium.org/2959833002/diff/140001/appengine/config_service/ui/test/config-ui/config-set_test.html File appengine/config_service/ui/test/config-ui/config-set_test.html (right): https://codereview.chromium.org/2959833002/diff/140001/appengine/config_service/ui/test/config-ui/config-set_test.html#newcode38 appengine/config_service/ui/test/config-ui/config-set_test.html:38: ...
3 years, 5 months ago (2017-07-10 23:53:33 UTC) #17
Ryan Tseng
lgtm + what sergey said
3 years, 5 months ago (2017-07-11 00:19:55 UTC) #18
ayanaadylova
https://codereview.chromium.org/2959833002/diff/140001/appengine/config_service/ui/test/config-ui/config-set_test.html File appengine/config_service/ui/test/config-ui/config-set_test.html (right): https://codereview.chromium.org/2959833002/diff/140001/appengine/config_service/ui/test/config-ui/config-set_test.html#newcode38 appengine/config_service/ui/test/config-ui/config-set_test.html:38: '- has correct category' + On 2017/07/10 23:53:33, Sergey ...
3 years, 5 months ago (2017-07-11 00:23:21 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2959833002/160001
3 years, 5 months ago (2017-07-11 00:24:07 UTC) #22
commit-bot: I haz the power
3 years, 5 months ago (2017-07-11 00:26:45 UTC) #25
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://github.com/luci/luci-py/commit/56121b33d24c5a9fb2a8aff8247cf52f749a6952

Powered by Google App Engine
This is Rietveld 408576698