atst/uitests/TO_Step_1.html
2020-02-28 11:40:38 -05:00

289 lines
5.9 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>TO Step 1</title>
<meta name="ghost-inspector-details" content="" />
<meta name="ghost-inspector-browser" content="chrome" />
<meta name="ghost-inspector-userAgent" content="" />
<meta name="ghost-inspector-region" content="us-east-1" />
<meta name="ghost-inspector-globalStepDelay" content="250" />
<meta name="ghost-inspector-maxWaitDelay" content="15000" />
<meta name="ghost-inspector-maxAjaxDelay" content="10000" />
<meta name="ghost-inspector-viewportSize" content="1920x1080" />
<meta name="ghost-inspector-screenshotTarget" content="" />
<meta name="ghost-inspector-screenshotExclusions" content="div.global-navigation, time" />
<meta name="ghost-inspector-screenshotCompareEnabled" content="true" />
<meta name="ghost-inspector-screenshotCompareThreshold" content="0.04" />
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr>
<td rowspan="1" colspan="3">TO Step 1</td>
</tr>
</thead>
<tbody>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<!--Imported from: AT-AT CI - New Portfolio
Imported from: AT-AT CI - login-->
<tr>
<td>open</td>
<td>/login-dev</td>
<td></td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<!--Imported from: AT-AT CI - New Portfolio
Imported from: AT-AT CI - login-->
<tr>
<td>waitForElementPresent</td>
<td>css=.home__content > h1</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>css=.home__content > h1</td>
<td>JEDI Cloud Services</td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<!--Imported from: AT-AT CI - New Portfolio-->
<tr>
<td>waitForElementPresent</td>
<td>css=a[href="/portfolios/new"]</td>
<td></td>
</tr>
<tr original-target="a[href="/portfolios/new"],xpath=//a[contains(text(), "Add New Portfolio")]">
<td>click</td>
<td>css=a[href="/portfolios/new"]</td>
<td></td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<!--Imported from: AT-AT CI - New Portfolio-->
<tr>
<td>waitForElementPresent</td>
<td>css=.portfolio-header__name > h1</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>css=.portfolio-header__name > h1</td>
<td>*New Portfolio*</td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<!--Imported from: AT-AT CI - New Portfolio-->
<tr>
<td>waitForElementPresent</td>
<td>css=.sticky-cta-text > h3</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>css=.sticky-cta-text > h3</td>
<td>*Name and Describe Portfolio*</td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<!--Imported from: AT-AT CI - New Portfolio-->
<tr>
<td>waitForElementPresent</td>
<td>css=#name</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>css=#name</td>
<td>Tatooine Energy Maintenance Systems ${alphanumeric}</td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<!--Imported from: AT-AT CI - New Portfolio-->
<tr>
<td>waitForElementPresent</td>
<td>css=fieldset.usa-input__choices > ul > li:nth-of-type(5) > label</td>
<td></td>
</tr>
<tr original-target="fieldset.usa-input__choices > ul > li:nth-of-type(5) > label,xpath=//label[contains(text(), "Other")]">
<td>click</td>
<td>css=fieldset.usa-input__choices > ul > li:nth-of-type(5) > label</td>
<td></td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<!--Imported from: AT-AT CI - New Portfolio-->
<tr>
<td>waitForElementPresent</td>
<td>css=input[type="submit"]</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>css=input[type="submit"]</td>
<td></td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<!--Imported from: AT-AT CI - New Portfolio-->
<tr>
<td>waitForElementPresent</td>
<td>css=.empty-state > h3</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>css=.empty-state > h3</td>
<td>*You dont have any Applications yet*</td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=.icon--funding</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>css=.icon--funding</td>
<td></td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=.sticky-cta-text h3</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>css=.sticky-cta-text h3</td>
<td>*Task Orders*</td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=.usa-button.usa-button-primary</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>css=.usa-button.usa-button-primary</td>
<td></td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=.sticky-cta-context</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>css=.sticky-cta-context</td>
<td>*Step 1 of 5*</td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=.upload-button</td>
<td></td>
</tr>
<tr>
<td>click</td>
<td>css=.upload-button</td>
<td></td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=#pdf</td>
<td></td>
</tr>
<tr>
<td>type</td>
<td>css=#pdf</td>
<td>https://ghostinspector-prod.s3.amazonaws.com/uploads/726e1c95-2d16-4793-85d8-b4d3ae9cd35d.pdf</td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<!--This is Ghost Inspector flow control. The test will wait until the file is uploaded, which in turn causes the button to be enabled (i.e., not disabled).-->
<tr>
<td>assertElementNotPresent</td>
<td>css=input[type="submit"][disabled="disabled"]</td>
<td></td>
</tr>
<tr>
<td>waitForPageToLoad</td>
<td></td>
<td></td>
</tr>
<tr>
<td>waitForElementPresent</td>
<td>css=a[href="#"].uploaded-file__remove</td>
<td></td>
</tr>
<tr>
<td>assertText</td>
<td>css=a[href="#"].uploaded-file__remove</td>
<td>*Remove*</td>
</tr>
</tbody>
</table>
</body>
</html>