當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。