src/test-e2e/po/form.po.ts
Function fill
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
fill(fields: { [fieldKey: string]: string | boolean | number[] }, expectFailure = false): promise.Promise<void> {
return this.getControlsMapFormFill().then(ctrls => {
Object.keys(fields).forEach(field => {
const ctrl = ctrls[field] as FormItem;
const value: any = fields[field];
File form.po.ts
has 269 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { browser, by, element, promise } from 'protractor';
import { ElementArrayFinder, ElementFinder, protractor } from 'protractor/built';
import { Key } from 'selenium-webdriver';
import { Component } from './component.po';
TODO found Open
Open
// TODO: These should be detected by browser/locale?
- Exclude checks
TODO found Open
Open
// TODO: These should be detected by browser/locale?
- Exclude checks