Browse Source

test: cypress corrections for i18n changes

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/1353/head
Raju Udava 3 years ago
parent
commit
40ed4c3697
  1. 4
      scripts/cypress/integration/common/7a_create_project_from_excel.js

4
scripts/cypress/integration/common/7a_create_project_from_excel.js

@ -138,7 +138,7 @@ export const genTest = (apiType, dbType) => {
for (let j = 1; j < row.length; j++) { for (let j = 1; j < row.length; j++) {
// column name to match input in excel // column name to match input in excel
cy.wrap(row[j]) cy.wrap(row[j])
.find('[placeholder="Column name"]') .find('[placeholder="Column Name"]')
.then((obj) => { .then((obj) => {
cy.log(obj[0].value); cy.log(obj[0].value);
expect(obj[0].value).to.equal( expect(obj[0].value).to.equal(
@ -269,7 +269,7 @@ export const genTest = (apiType, dbType) => {
) { ) {
// column name to match input in excel // column name to match input in excel
cy.wrap(row[j]) cy.wrap(row[j])
.find('[placeholder="Column name"]') .find('[placeholder="Column Name"]')
.then((obj) => { .then((obj) => {
cy.log(obj[0].value); cy.log(obj[0].value);
expect(obj[0].value).to.equal( expect(obj[0].value).to.equal(

Loading…
Cancel
Save