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

Unified Diff: appengine/config_service/ui/test/config-ui/config-set_test.html

Issue 2989833002: config_service: include type of config to the config-set card (Closed)
Patch Set: Change config-set cards. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/config_service/ui/src/config-ui/config-set-card.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/config_service/ui/test/config-ui/config-set_test.html
diff --git a/appengine/config_service/ui/test/config-ui/config-set_test.html b/appengine/config_service/ui/test/config-ui/config-set_test.html
index 6259abdff2eb82b5f6addea76b55366d98a25dc8..0ff6a861c190408eab9eb7bbc371e3698b96e698 100644
--- a/appengine/config_service/ui/test/config-ui/config-set_test.html
+++ b/appengine/config_service/ui/test/config-ui/config-set_test.html
@@ -290,19 +290,20 @@
);
}
- test('displays error if fetch failed due to error 403 when not signed in', function (done) {
+ test('displays error on 403 when not signed in', function (done) {
setserver(403);
request = ajax.generateRequest();
server.respond();
assert.equal(request.status, 403);
config_set.addEventListener('fetchError', function() {
assert.equal(config_set.isLoading, false);
- assert.equal(config_set.errorMessage, "Access denied, please sign in.");
+ assert.equal(config_set.errorMessage,
+ "Access denied, please sign in.");
done();
}.bind(config_set));
});
- test('displays error if fetch failed due to error 403 when signed in', function (done) {
+ test('displays error on 403 when signed in', function (done) {
setserver(403);
config_set.auth_headers = {};
config_set.profile = {
@@ -313,7 +314,8 @@
assert.equal(request.status, 403);
config_set.addEventListener('fetchError', function() {
assert.equal(config_set.isLoading, false);
- assert.equal(config_set.errorMessage, "Access denied, some_email@google.com" +
+ assert.equal(config_set.errorMessage,
+ "Access denied, some_email@google.com" +
" is not authorized to access this config set." +
" Request access or sign in as a different user.");
done();
« no previous file with comments | « appengine/config_service/ui/src/config-ui/config-set-card.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698