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

New user sign up tests not working on 401 response #13

Open
akshay1502 opened this issue Sep 6, 2021 · 2 comments · May be fixed by #14
Open

New user sign up tests not working on 401 response #13

akshay1502 opened this issue Sep 6, 2021 · 2 comments · May be fixed by #14
Assignees
Labels
bug Something isn't working

Comments

@akshay1502
Copy link

No description provided.

@akshay1502 akshay1502 self-assigned this Sep 6, 2021
@ankushdharkar ankushdharkar changed the title test for new user sign up page is not working on 401 response. New user sign up tests not working on 401 response Sep 6, 2021
@ankushdharkar ankushdharkar added the bug Something isn't working label Sep 6, 2021
@akshay1502
Copy link
Author

akshay1502 commented Sep 8, 2021

Blockers:

  • New user sees a sign-up page test gives an error of navigation timeout of 30000ms exceeded.

Solutions tried:

  • used jest.setTimeout()
  • used page.setDefaultNavigationTimeout()
  • increased timeout property of page.goto()

Progress:

  • using setRequestInterception for request

@akshay1502
Copy link
Author

Progress:
Able to run the test thanks to vividh.

Findings:
Time limit exceeded error was because of test making calls to github for authorization
Will use setRequestInterception to avoid the error.

@akshay1502 akshay1502 linked a pull request Sep 22, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants