src/test-e2e/application/application-autoscaler-e2e.spec.ts
File application-autoscaler-e2e.spec.ts
has 503 lines of code (exceeds 250 allowed). Consider refactoring. Wontfix
Wontfix
import moment from 'moment-timezone';
import { browser, promise } from 'protractor';
import { timer } from 'rxjs';
import { switchMap } from 'rxjs/operators';
Function waitForRow
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function waitForRow() {
// Timeout after 32 attempts (each 5 seconds, which is just under 3 minutes)
let retries = 32;
const sub = timer(5000, 5000).pipe(
switchMap(() => promise.all<boolean | number | TableData[]>([