当前位置: 首页>>代码示例>>TypeScript>>正文


TypeScript scenarioo-js.step函数代码示例

本文整理汇总了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');
            });
开发者ID:,项目名称:,代码行数:28,代码来源:


注:本文中的scenarioo-js.step函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。