diff --git a/polygerrit-ui/app/elements/admin/gr-project-detail-list/gr-project-detail-list.html b/polygerrit-ui/app/elements/admin/gr-project-detail-list/gr-project-detail-list.html
index 7e1fe4859b..193e48d724 100644
--- a/polygerrit-ui/app/elements/admin/gr-project-detail-list/gr-project-detail-list.html
+++ b/polygerrit-ui/app/elements/admin/gr-project-detail-list/gr-project-detail-list.html
@@ -39,7 +39,6 @@ limitations under the License.
.editing .editBtn,
.canEdit .revisionNoEditing,
.editing .revisionWithEditing,
- .repositoryBrowser:not(.show),
.revisionEdit {
display: none;
}
@@ -72,7 +71,7 @@ limitations under the License.
@@ -113,7 +112,7 @@ limitations under the License.
-
+ |
{ flush(done); });
});
- test('test for test branch in the list', done => {
+ test('test for branch in the list', done => {
flush(() => {
assert.equal(element._items[2].ref, 'refs/heads/test2');
done();
});
});
- test('test for test web links in the branches list', done => {
+ test('test for web links in the branches list', done => {
flush(() => {
assert.equal(element._items[2].web_links[0].url,
'https://git.example.org/branch/test;refs/heads/test2');
@@ -332,13 +338,21 @@ limitations under the License.
element._paramsChanged(params).then(() => { flush(done); });
});
- test('test for test tag in the list', done => {
+ test('test for tag in the list', done => {
flush(() => {
assert.equal(element._items[1].ref, 'refs/tags/test2');
done();
});
});
+ test('test for web links in the tags list', done => {
+ flush(() => {
+ assert.equal(element._items[1].web_links[0].url,
+ 'https://git.example.org/tag/test;refs/tags/test2');
+ done();
+ });
+ });
+
test('test for refs/tags/ being striped from ref', done => {
flush(() => {
assert.equal(element._stripRefs(element._items[1].ref,
|