Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update test TCP4-3218 in utils #356

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions pages/executionConnectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -735,9 +735,9 @@ export class ExecutionConnectors {
navHelper.navigateToProcessPage();
process.searchProcessAndSelectOptions(nameProcess,"Template");

//Step 1: Create process as a Template
//Step 1: Create Template
templates.createTemplatefromProcess(templateName, Description, version);

//Step 2: Review template created
cy.get("#nav-templates-tab").should('be.visible').click();
templates.searchTemplateAndSelectOptions(templateName,"edit");
Expand All @@ -760,15 +760,18 @@ export class ExecutionConnectors {
}

actionsAndAssertionsTCP43218(nameProcess, version){
let timeStamp = new Date().getTime();
let templateName = `TCP4-3218-Template-${timeStamp}`
let Description = new Date().getTime()+"Description TCP4-3218";
navHelper.navigateToProcessPage();
process.searchProcessAndSelectOptions(nameProcess,"Template");
var templateName = new Date().getTime()+"TCP4-3218";
var Description = new Date().getTime()+"TCP4-3218";
//Step 1: Create process as a Template
process.publishTemplate(templateName, Description, version);

//Step 1: Create Template
templates.createTemplatefromProcess(templateName, Description, version);

//Step 2: Review template created
cy.get("#nav-templates-tab").click();
templates.searchTemplateAndSelectOptions(templateName, "Config");
cy.get("#nav-templates-tab").should('be.visible').click();
templates.searchTemplateAndSelectOptions(templateName,"edit");
}
actionsAndAssertionsOfTCP43221() {
cy.reload();
Expand Down
Loading