Skip to content

Commit d81a3e6

Browse files
committed
Fixed linter error
1 parent 3f811fd commit d81a3e6

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

ui-tests/cypress/lib/dashboard/manage/sdk/requestStats.js

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const verifyStaticElementsOfPage = () => {
7474
element: requestStatsPageElements.CANCELED_REQUEST_BREAKDOWN_BY_REASON_AS_TYPE_SELECT,
7575
elementText: "percentage",
7676
});
77-
}
77+
};
7878

7979
const verifyEmptyPageElements = () => {
8080

@@ -179,7 +179,8 @@ const verifyRequestStatsMetricCard = ({
179179
elementText: "NA",
180180
});
181181

182-
} else {
182+
}
183+
else {
183184
cy.verifyElement({
184185
shouldNot: !isEmpty,
185186
element: requestStatsMetricCardElements.REQUESTS_RECEIVED_NUMBER,
@@ -239,7 +240,8 @@ const verifyRequestsEChart = ({
239240
labelText: "No data found",
240241
});
241242

242-
} else {
243+
}
244+
else {
243245

244246
cy.verifyElement({
245247
element: requestsEChartElements.SELECT_REQUESTS_CHART_TYPE,
@@ -277,7 +279,7 @@ const verifyRequestsEChart = ({
277279
labelText: "Queued requests",
278280
});
279281
}
280-
}
282+
};
281283

282284
const verifyDelaysEChart = ({
283285
isEmpty = false,
@@ -298,7 +300,8 @@ const verifyDelaysEChart = ({
298300
labelText: "No data found",
299301
});
300302

301-
} else {
303+
}
304+
else {
302305

303306
cy.verifyElement({
304307
element: delaysEChartElements.SELECT_DELAYS_CHART_TYPE,
@@ -336,7 +339,7 @@ const verifyDelaysEChart = ({
336339
labelText: "Maximum Delay",
337340
});
338341
}
339-
}
342+
};
340343

341344
const verifyReceivedRequestEChart = ({
342345
isEmpty = false,
@@ -357,7 +360,8 @@ const verifyReceivedRequestEChart = ({
357360
labelText: "No data found",
358361
});
359362

360-
} else {
363+
}
364+
else {
361365

362366
cy.verifyElement({
363367
element: receivedRequestEChartElements.CHART_RECEIVED_REQUESTS,
@@ -421,7 +425,7 @@ const verifyReceivedRequestEChart = ({
421425
labelText: "user_details",
422426
});
423427
}
424-
}
428+
};
425429

426430
const verifyCanceledRequestEChart = ({
427431
isEmpty = false,
@@ -442,7 +446,8 @@ const verifyCanceledRequestEChart = ({
442446
labelText: "No data found",
443447
});
444448

445-
} else {
449+
}
450+
else {
446451

447452
//TODO : Data is not being generated with the populator. Need to generate the data
448453
// cy.verifyElement({
@@ -453,7 +458,7 @@ const verifyCanceledRequestEChart = ({
453458
// element: canceledRequestEChartElements.CHART_MORE_BUTTON,
454459
// });
455460
}
456-
}
461+
};
457462

458463
const clickSdkStatsTab = () => {
459464
cy.scrollPageToTop();

0 commit comments

Comments
 (0)