Browse Source

fix(test): language menu test correction after realignment

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3763/head
Raju Udava 2 years ago
parent
commit
8fb26b9d14
  1. 5
      scripts/cypress/integration/common/6d_language_validation.js

5
scripts/cypress/integration/common/6d_language_validation.js

@ -61,6 +61,7 @@ export const genTest = (apiType, dbType) => {
}; };
let langMenu = [ let langMenu = [
"help-translate",
"ar.json", "ar.json",
"bn_IN.json", "bn_IN.json",
"da.json", "da.json",
@ -95,11 +96,11 @@ export const genTest = (apiType, dbType) => {
]; ];
// Index is the order in which menu options appear // Index is the order in which menu options appear
for (let i = 0; i < langMenu.length; i++) for (let i = 1; i < langMenu.length; i++)
langVerification(i, langMenu[i]); langVerification(i, langMenu[i]);
// reset to English // reset to English
langVerification(4, langMenu[4]); langVerification(5, langMenu[5]);
}); });
}; };

Loading…
Cancel
Save