Commit bb5e92a0 authored by David O'Regan's avatar David O'Regan Committed by Illya Klymov

Increase page size default to 20

parent 25f85807
...@@ -64,4 +64,4 @@ export const trackAlertStatusUpdateOptions = { ...@@ -64,4 +64,4 @@ export const trackAlertStatusUpdateOptions = {
label: 'Status', label: 'Status',
}; };
export const DEFAULT_PAGE_SIZE = 10; export const DEFAULT_PAGE_SIZE = 20;
...@@ -34,4 +34,4 @@ export const INCIDENT_STATUS_TABS = [ ...@@ -34,4 +34,4 @@ export const INCIDENT_STATUS_TABS = [
]; ];
export const INCIDENT_SEARCH_DELAY = 300; export const INCIDENT_SEARCH_DELAY = 300;
export const DEFAULT_PAGE_SIZE = 10; export const DEFAULT_PAGE_SIZE = 20;
---
title: Increase default page size for Alert and Incident management to 20 from 10
merge_request: 40139
author:
type: changed
...@@ -47,11 +47,11 @@ describe('AlertManagementTable', () => { ...@@ -47,11 +47,11 @@ describe('AlertManagementTable', () => {
const findIssueFields = () => wrapper.findAll('[data-testid="issueField"]'); const findIssueFields = () => wrapper.findAll('[data-testid="issueField"]');
const findAlertError = () => wrapper.find('[data-testid="alert-error"]'); const findAlertError = () => wrapper.find('[data-testid="alert-error"]');
const alertsCount = { const alertsCount = {
open: 14, open: 24,
triggered: 10, triggered: 20,
acknowledged: 6, acknowledged: 16,
resolved: 1, resolved: 11,
all: 16, all: 26,
}; };
const selectFirstStatusOption = () => { const selectFirstStatusOption = () => {
findFirstStatusOption().vm.$emit('click'); findFirstStatusOption().vm.$emit('click');
......
...@@ -30,9 +30,9 @@ describe('Incidents List', () => { ...@@ -30,9 +30,9 @@ describe('Incidents List', () => {
const incidentTemplateName = 'incident'; const incidentTemplateName = 'incident';
const incidentType = 'incident'; const incidentType = 'incident';
const incidentsCount = { const incidentsCount = {
opened: 14, opened: 24,
closed: 1, closed: 10,
all: 16, all: 26,
}; };
const findTable = () => wrapper.find(GlTable); const findTable = () => wrapper.find(GlTable);
......
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