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

Add New cypress Test for language selection and link redirection #9017

Open
nihal467 opened this issue Nov 6, 2024 · 1 comment
Open

Add New cypress Test for language selection and link redirection #9017

nihal467 opened this issue Nov 6, 2024 · 1 comment
Assignees

Comments

@nihal467
Copy link
Member

nihal467 commented Nov 6, 2024

Description

Add a new Cypress test to verify language selection and repository redirection functionality.

Conditions to follow

  • Add these tests to the redirect.cy.ts file.
  • Use the Page Object Model (POM) approach.
  • Reuse existing functions and add necessary API verification with cy.intercept.

Test - 1

  • After the LoginPage loads, click the "Contribute on GitHub" link and verify redirection by checking the URL and the new page content.
  • Repeat the same for the "Third Party Software License" link.

Test - 2

  • After the login page loads, switch between all five languages and verify that the login submit button text updates according to the selected language.
  • Log in with any language selected other than English and verify that the sidebar items display in the chosen language

Screenshot

Image

@nihal467 nihal467 changed the title Add New cypress Test for language selection and org repo redirection Add New cypress Test for language selection and link redirection Nov 6, 2024
@AdityaJ2305
Copy link
Contributor

@nihal467 I would like to work on this issue. Could you assign it to me ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

No branches or pull requests

2 participants