Commit d067ae8b authored by Denys Mishunov's avatar Denys Mishunov

Merge branch 'alert-table-classes-hotfix' into 'master'

Clean up bogus CSS classes

See merge request gitlab-org/gitlab!33038
parents 643dda71 8cd90285
...@@ -32,7 +32,7 @@ import Tracking from '~/tracking'; ...@@ -32,7 +32,7 @@ import Tracking from '~/tracking';
const tdClass = 'table-col d-flex d-md-table-cell align-items-center'; const tdClass = 'table-col d-flex d-md-table-cell align-items-center';
const bodyTrClass = const bodyTrClass =
'gl-border-1 gl-border-t-solid gl-border-gray-100 hover-bg-blue-50 hover-gl-cursor-pointer hover-gl-border-b-solid hover-gl-border-blue-200'; 'gl-border-1 gl-border-t-solid gl-border-gray-100 gl-hover-bg-blue-50 gl-hover-cursor-pointer gl-hover-border-b-solid gl-hover-border-blue-200';
const findDefaultSortColumn = () => document.querySelector('.js-started-at'); const findDefaultSortColumn = () => document.querySelector('.js-started-at');
export default { export default {
......
...@@ -142,7 +142,7 @@ describe('AlertManagementList', () => { ...@@ -142,7 +142,7 @@ describe('AlertManagementList', () => {
findAlerts() findAlerts()
.at(0) .at(0)
.classes(), .classes(),
).not.toContain('hover-bg-blue-50'); ).not.toContain('gl-hover-bg-blue-50');
}); });
it('error state', () => { it('error state', () => {
...@@ -159,7 +159,7 @@ describe('AlertManagementList', () => { ...@@ -159,7 +159,7 @@ describe('AlertManagementList', () => {
findAlerts() findAlerts()
.at(0) .at(0)
.classes(), .classes(),
).not.toContain('hover-bg-blue-50'); ).not.toContain('gl-hover-bg-blue-50');
}); });
it('empty state', () => { it('empty state', () => {
...@@ -176,7 +176,7 @@ describe('AlertManagementList', () => { ...@@ -176,7 +176,7 @@ describe('AlertManagementList', () => {
findAlerts() findAlerts()
.at(0) .at(0)
.classes(), .classes(),
).not.toContain('hover-bg-blue-50'); ).not.toContain('gl-hover-bg-blue-50');
}); });
it('has data state', () => { it('has data state', () => {
...@@ -192,7 +192,7 @@ describe('AlertManagementList', () => { ...@@ -192,7 +192,7 @@ describe('AlertManagementList', () => {
findAlerts() findAlerts()
.at(0) .at(0)
.classes(), .classes(),
).toContain('hover-bg-blue-50'); ).toContain('gl-hover-bg-blue-50');
}); });
it('displays status dropdown', () => { it('displays status dropdown', () => {
......
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