msgid "ContainerRegistry|If you are not already logged in, you need to authenticate to the Container Registry by using your GitLab username and password. If you have %{twofaDocLinkStart}Two-Factor Authentication%{twofaDocLinkEnd} enabled, use a %{personalAccessTokensDocLinkStart}Personal Access Token%{personalAccessTokensDocLinkEnd} instead of a password."
msgid "ContainerRegistry|If you are not already logged in, you need to authenticate to the Container Registry by using your GitLab username and password. If you have %{twofaDocLinkStart}Two-Factor Authentication%{twofaDocLinkEnd} enabled, use a %{personalAccessTokensDocLinkStart}Personal Access Token%{personalAccessTokensDocLinkEnd} instead of a password."
@@ -226,4 +237,39 @@ describe('tags list row', () => {
...
@@ -226,4 +237,39 @@ describe('tags list row', () => {
expect(wrapper.emitted('delete')).toEqual([[]]);
expect(wrapper.emitted('delete')).toEqual([[]]);
});
});
});
});
describe('details rows',()=>{
beforeEach(()=>{
mountComponent();
returnwrapper.vm.$nextTick();
});
it('has 3 details rows',()=>{
expect(findDetailsRows().length).toBe(3);
});
describe.each`
name | finderFunction | text | icon | clipboard
${'published date detail'} | ${findPublishedDateDetail} | ${'Published to the bar image repository at 10:23 GMT+0000 on 2020-06-29'} | ${'clock'} | ${false}