139 lines
3.2 KiB
JavaScript
139 lines
3.2 KiB
JavaScript
$(document).ready(function() {var formatter = new CucumberHTML.DOMFormatter($('.cucumber-report'));formatter.uri("file:src/test/resources/Features/Organization.feature");
|
|
formatter.feature({
|
|
"name": "Organization tab functionality verification",
|
|
"description": "",
|
|
"keyword": "Feature"
|
|
});
|
|
formatter.scenarioOutline({
|
|
"name": "Verify user can download organization in excel format",
|
|
"description": "",
|
|
"keyword": "Scenario Outline",
|
|
"tags": [
|
|
{
|
|
"name": "@AddOrg"
|
|
}
|
|
]
|
|
});
|
|
formatter.step({
|
|
"name": "user login to hills application with \u003cusername\u003e and \u003cpassword\u003e",
|
|
"keyword": "Given "
|
|
});
|
|
formatter.step({
|
|
"name": "user click on Organization tab",
|
|
"keyword": "And "
|
|
});
|
|
formatter.step({
|
|
"name": "user click on New link to add organization",
|
|
"keyword": "And "
|
|
});
|
|
formatter.step({
|
|
"name": "user click on Save button without adding organization details",
|
|
"keyword": "And "
|
|
});
|
|
formatter.step({
|
|
"name": "user click on Cancel button in new organization form",
|
|
"keyword": "And "
|
|
});
|
|
formatter.step({
|
|
"name": "user should be taken to organization home tab",
|
|
"keyword": "Then "
|
|
});
|
|
formatter.examples({
|
|
"name": "",
|
|
"description": "",
|
|
"keyword": "Examples",
|
|
"rows": [
|
|
{
|
|
"cells": [
|
|
"username",
|
|
"password"
|
|
]
|
|
},
|
|
{
|
|
"cells": [
|
|
"hillmgr",
|
|
"Ss@hills2"
|
|
]
|
|
}
|
|
]
|
|
});
|
|
formatter.scenario({
|
|
"name": "Verify user can download organization in excel format",
|
|
"description": "",
|
|
"keyword": "Scenario Outline",
|
|
"tags": [
|
|
{
|
|
"name": "@AddOrg"
|
|
}
|
|
]
|
|
});
|
|
formatter.step({
|
|
"name": "user login to hills application with hillmgr and Ss@hills2",
|
|
"keyword": "Given "
|
|
});
|
|
formatter.match({
|
|
"location": "HillsCommonSteps.user_login_to_konector_application_with_username_and_password(String,String)"
|
|
});
|
|
formatter.result({
|
|
"status": "passed"
|
|
});
|
|
formatter.step({
|
|
"name": "user click on Organization tab",
|
|
"keyword": "And "
|
|
});
|
|
formatter.match({
|
|
"location": "OrganizationSteps.userclickonOrganizationtab()"
|
|
});
|
|
formatter.result({
|
|
"status": "passed"
|
|
});
|
|
formatter.step({
|
|
"name": "user click on New link to add organization",
|
|
"keyword": "And "
|
|
});
|
|
formatter.match({
|
|
"location": "OrganizationSteps.userclickonNewlinktoaddorganization()"
|
|
});
|
|
formatter.result({
|
|
"status": "passed"
|
|
});
|
|
formatter.step({
|
|
"name": "user click on Save button without adding organization details",
|
|
"keyword": "And "
|
|
});
|
|
formatter.match({
|
|
"location": "OrganizationSteps.userclickonSavebuttonwithoutaddingorganizationdetails()"
|
|
});
|
|
formatter.result({
|
|
"status": "passed"
|
|
});
|
|
formatter.step({
|
|
"name": "user click on Cancel button in new organization form",
|
|
"keyword": "And "
|
|
});
|
|
formatter.match({
|
|
"location": "OrganizationSteps.userclickonCancelbuttoninneworganizationform()"
|
|
});
|
|
formatter.result({
|
|
"status": "passed"
|
|
});
|
|
formatter.step({
|
|
"name": "user should be taken to organization home tab",
|
|
"keyword": "Then "
|
|
});
|
|
formatter.match({
|
|
"location": "OrganizationSteps.usershouldbetakentoorganizationhometab()"
|
|
});
|
|
formatter.result({
|
|
"status": "passed"
|
|
});
|
|
formatter.after({
|
|
"status": "passed"
|
|
});
|
|
formatter.after({
|
|
"status": "passed"
|
|
});
|
|
formatter.after({
|
|
"status": "passed"
|
|
});
|
|
}); |