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

🐛 fix(user-simulator): Fix user-simulator not properly terminating #83

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

W3D3
Copy link
Contributor

@W3D3 W3D3 commented Aug 7, 2024

This PR fixes the user-simulator hanging when something goes wrong during execution. It will now properly terminate the process with a non-zero exit code.

Additionally, before trying to log out, the simulator will navigate to the homepage to make sure the logout button is available to click.

Screenshot of execution with a fake error thrown:
image

Also used the opportunity to clean up the type usage.

Fixes #82 .

@W3D3 W3D3 requested a review from a team as a code owner August 7, 2024 13:26
@W3D3 W3D3 added the bug Something isn't working label Aug 7, 2024
@W3D3 W3D3 force-pushed the bugfix/fix-user-simulator-hanging branch from 0b55ee7 to 14214b2 Compare August 7, 2024 13:33
Copy link
Contributor

@orazefabian orazefabian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, LGTM

@W3D3 W3D3 merged commit f00b4dc into main Aug 8, 2024
4 checks passed
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 this pull request may close these issues.

User simulator hangs on logging out
2 participants