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
This commit is contained in:
commit
80351981d2
2 changed files with 6 additions and 1 deletions
5
changelogs/unreleased/52886-fix-broken-master.yml
Normal file
5
changelogs/unreleased/52886-fix-broken-master.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fixes broken test in master
|
||||
merge_request:
|
||||
author:
|
||||
type: fixed
|
|
@ -86,7 +86,7 @@ describe('CI Badge Link Component', () => {
|
|||
|
||||
expect(vm.$el.getAttribute('href')).toEqual(statuses[status].details_path);
|
||||
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();
|
||||
return vm;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue