Skip to content

Commit

Permalink
Merge pull request #37 from ProcessMaker/upd-AI
Browse files Browse the repository at this point in the history
upd translateControlAdded
  • Loading branch information
MayraMelisa authored May 3, 2024
2 parents 08c6bcd + 855a801 commit 0889eca
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pages/translations.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import selectors from "#selectors/translations"
import pageConstants from "#helpers/pageConstants";
import promisify from "cypress-promise";
import { NavigationHelper } from "#helpers/navigationHelper";
import { isThisWeek } from "date-fns";
import { Process } from "./process";

let navHelper = new NavigationHelper();
Expand Down Expand Up @@ -115,9 +112,9 @@ export class Translations {
translateControlAdded(languageSet){
cy.xpath(selectors.translationsSearch).should("be.visible").type(languageSet,{delay:500});
cy.xpath(selectors.openTranslation.replace('language', languageSet)).should('be.visible').first().click({force: true});
cy.xpath(selectors.translationScreenList).click();
cy.xpath(selectors.translationScreenList).should("be.visible").click();
cy.xpath(selectors.optionListScreen.replace("ScreenOption",screen2)).should("be.visible").click();
cy.xpath(selectors.TestForTranslationStingInPut).should('have.value', '');
cy.xpath(selectors.TestForTranslationStingInPut).should('exist');
cy.xpath(selectors.translationsOptions).should("be.visible").click();
cy.xpath(selectors.radioTranslateEmpty).should("be.visible").click();
cy.xpath(selectors.translateOptionsBtn).should("be.visible").click();
Expand Down

0 comments on commit 0889eca

Please sign in to comment.