-
Notifications
You must be signed in to change notification settings - Fork 502
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
Add New cypress Test for language selection and link redirection #9017
Comments
@nihal467 I would like to work on this issue. Could you assign it to me ? |
@nihal467 can you assign this to me ? |
@nihal467 Apologies, but I’m not working on this issue. Please assign it to @Kaushikgtm. Thanks! |
@nihal467 I have write code for Cypress test -1 but face some difficulty to write cypress test-2 should i raise a PR for test-1 or not ? |
@Kaushikgtm what is the difficulty you are facing, share the issue |
Hii @nihal467 The LANGUAGES and resources are managed via i18next, but I cannot figure out how to reference them correctly in the Cypress tests. Translations like sidebar items and button text are already implemented in i18n and LanguageSelector components. However, I’m unsure how to fetch and use these dynamically in the test cases to verify language-specific UI updates. |
@nihal467 there is no function in Page Object Model which Verify Language for Login and Sidebar items, can you help ? |
|
@nihal467 updated test 1 code |
@Kaushikgtm raise the PR for review purpose |
Hii @nihal467 I’m working on Test 2 to verify that the sidebar items display correctly in the selected language after switching between the five supported languages. The sidebar content is already defined in six different language files within the repository. |
@Kaushikgtm dont use the existing language typo variable, declare constant's and verify using that |
Hi @Jacobjeevan , can i work on this issue? |
Description
Add a new Cypress test to verify language selection and repository redirection functionality.
Conditions to follow
Test - 1
Test - 2
Screenshot
The text was updated successfully, but these errors were encountered: