Corrected some linting errors.
This commit is contained in:
parent
9ffbee6e0d
commit
4f1a52a1b0
31 changed files with 179 additions and 178 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import {ConvertorizrPage} from "./app.po";
|
||||
import {ConvertorizrPage} from './app.po';
|
||||
|
||||
describe('convertorizr App', () => {
|
||||
let page: ConvertorizrPage;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import {browser, by, element} from "protractor";
|
||||
import {browser, by, element} from 'protractor';
|
||||
|
||||
export class ConvertorizrPage {
|
||||
navigateTo() {
|
||||
|
|
@ -6,19 +6,19 @@ export class ConvertorizrPage {
|
|||
}
|
||||
|
||||
public foo() {
|
||||
return "bar";
|
||||
return 'bar';
|
||||
}
|
||||
|
||||
public getInputfieldContent(index: number): Promise<any> {
|
||||
let css1 = by.css('app-root div.inputwrapper');
|
||||
const css1 = by.css('app-root div.inputwrapper');
|
||||
console.log(css1);
|
||||
let el1 = element.all(css1)[index];
|
||||
const el1 = element.all(css1)[index];
|
||||
console.log(el1);
|
||||
let css2 = by.css('.textwrapper textarea');
|
||||
const css2 = by.css('.textwrapper textarea');
|
||||
console.log(css2);
|
||||
let el2 = el1.findElement(css2);
|
||||
const el2 = el1.findElement(css2);
|
||||
console.log(el2);
|
||||
let t = el2.getText();
|
||||
const t = el2.getText();
|
||||
console.log(t);
|
||||
return t;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue