mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-24 05:02:24 +08:00
Downgraded the version of `@types/node` used for the knobs addon. There's a well known issue with TS + lerna repositories (hoisted deps and symlinks). This fixes the issue for the time being. Signed-off-by: Carlos Vega <clmvega@gmail.com>
12 lines
208 B
TypeScript
12 lines
208 B
TypeScript
import { browser, by, element } from 'protractor';
|
|
|
|
export class AppPage {
|
|
navigateTo() {
|
|
return browser.get('/');
|
|
}
|
|
|
|
getParagraphText() {
|
|
return element(by.css('app-root h1')).getText();
|
|
}
|
|
}
|