yatt-ai / yattie

A tool to help testers test.
GNU General Public License v3.0
59 stars 10 forks source link

bug: Application hangs when we close Login to Jira browser. #96

Closed afrozshaheenkhan closed 7 months ago

afrozshaheenkhan commented 9 months ago

Bug Report

Platform: Windows YATTIE version: 0.10.0

Current behavior:

  1. Application hangs when we click on login with jira Cloud option and close the browser without logging.
  2. Back button doesn't work in the 'Sign in with Jira' screen to go back to Home screen.
  3. When application is re-launched, we are taken to 'Sign in with Jira' and not home page.

Expected behavior:

  1. All the options should be displayed in 'Sign in with Jira' screen even when we close the browser without logging.
  2. Back button should be functional to go back to home page.
  3. Everytime we launch the application, we should be taken to home screen first.

Steps to reproduce:

  1. Launch the application.
  2. Click on the Quick Test.
  3. Click on User icon.
  4. Click Login.
  5. Click Sign in with JIRA
  6. Click Login with JIRA cloud
  7. Close the opened browser
  8. Come back to Sign in with JIRA screen.

https://github.com/yatt-ai/yattie/assets/21246549/884101fa-1090-45ea-a538-ba604e502975

isntlazy commented 7 months ago

@dacoaster I see that logic of attempts to connect is already there, I went with leaving it as is but now it looks more user-friendly and clear for user, also fixed app restart as suggested

image