Commit 80351981 authored by Phil Hughes's avatar Phil Hughes

Merge branch '52886-fix-broken-master' into 'master'

Fixes broken test in master for ci status bagde

Closes #52886

See merge request gitlab-org/gitlab-ce!22465
parents dfee19c4 d6b684e4
---
title: Fixes broken test in master
merge_request:
author:
type: fixed
...@@ -86,7 +86,7 @@ describe('CI Badge Link Component', () => { ...@@ -86,7 +86,7 @@ describe('CI Badge Link Component', () => {
expect(vm.$el.getAttribute('href')).toEqual(statuses[status].details_path); expect(vm.$el.getAttribute('href')).toEqual(statuses[status].details_path);
expect(vm.$el.textContent.trim()).toEqual(statuses[status].text); expect(vm.$el.textContent.trim()).toEqual(statuses[status].text);
expect(vm.$el.getAttribute('class')).toEqual(`ci-status ci-${statuses[status].group}`); expect(vm.$el.getAttribute('class')).toContain(`ci-status ci-${statuses[status].group}`);
expect(vm.$el.querySelector('svg')).toBeDefined(); expect(vm.$el.querySelector('svg')).toBeDefined();
return vm; return vm;
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment