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-3237 in utils #364

Merged
merged 1 commit into from
Dec 19, 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
10 changes: 6 additions & 4 deletions pages/executionConnectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -907,12 +907,12 @@ export class ExecutionConnectors {
cy.get('.alert > span').contains('exported').should('be.visible');
}
actionsAndAssertionsOfTCP43238(templateName) {
var timeStamp = new Date().getTime();
var processName = "TCP4-3238 Template Threads"+timeStamp;
let timeStamp = new Date().getTime();
let processName = "TCP4-3238 Template Threads"+timeStamp;
//Ste 1: Search template imported
navHelper.navigateToProcessPage();
process.clickOnAddProcess();

//Step2: Create the process from template
templates.searchTemplateFromProcess(templateName);
//Click on use Template
Expand All @@ -923,7 +923,9 @@ export class ExecutionConnectors {
//Step 3: Verify that process can be created from templated
navHelper.navigateToProcessPage();
process.searchProcessAndSelectOptions(processName,"edit");
cy.get('[data-type="processmaker.components.nodes.task.Shape"]').eq(0).contains("Sub Process").should("be.visible");
process.openAlternativeModeler();
cy.get('g > text >tspan').contains('Sub Process').should('be.visible');


}
actionsAndAssertionsOfTCP43392() {
Expand Down
Loading