本文整理汇总了TypeScript中scenarioo-js.step函数的典型用法代码示例。如果您正苦于以下问题:TypeScript step函数的具体用法?TypeScript step怎么用?TypeScript step使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了step函数的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1: step
.it(async () => {
const SCREENSHOT_SRC = 'rest/branch/wikipedia-docu-example/build/last%20successful/usecase/Donate/scenario/find_donate_page/image/001.png';
await Utils.navigateToRoute('/step/Donate/find_donate_page/startSearch.jsp/0/1?branch=wikipedia-docu-example&build=last%20successful&comparison=To%20Projectstart');
await step('Added Step is displayed');
await StepPage.openComparisonTab();
await StepPage.showSideBySideView();
await StepPage.assertStepComparisonSideBySideViewIsActive();
await StepPage.expectStepComparisonCurrentScreenTitle('Current: last successful: 2014-03-19', 'March 19, 2014, 12:00 AM F398DA3');
await StepPage.expectStepComparisonOtherScreenTitle('To Projectstart: 2014-01-20', 'January 20, 2014, 12:00 AM 1290FE2');
await StepPage.expectHighlightsButtonHidden();
await StepPage.assertStepNoComparisonScreenshot();
await StepPage.assertStepBaseScreenshotSrcEquals(SCREENSHOT_SRC);
await StepPage.expectSwitchComparisonSingleScreensButtonDisabled();
await StepPage.expectStepComparisonOtherScreenViewIsDisabled();
await StepPage.expectStepComparisonLegendText('Added Step: No Comparison');
await step('Screen Comparison Side by Side for added step is displayed');
await StepPage.showComparisonCurrentScreenView();
await StepPage.assertStepComparisonCurrentScreenViewIsActive();
await StepPage.expectStepComparisonCurrentScreenTitle('Current: last successful: 2014-03-19', 'March 19, 2014, 12:00 AM F398DA3');
await StepPage.expectSwitchComparisonSingleScreensButtonDisabled();
await StepPage.expectHighlightsButtonHidden();
await StepPage.assertStepNoComparisonScreenshot();
await StepPage.assertStepBaseScreenshotSrcEquals(SCREENSHOT_SRC);
await StepPage.expectStepComparisonOtherScreenViewIsDisabled();
await step('Current Screen displayed only for added step');
});