Skip to content

refactor: tests arrange and teardown sections#104

Merged
Andrew-Orlov merged 16 commits intodevfrom
vcst-4235
Jan 27, 2026
Merged

refactor: tests arrange and teardown sections#104
Andrew-Orlov merged 16 commits intodevfrom
vcst-4235

Conversation

@Andrew-Orlov
Copy link
Collaborator

No description provided.

@Andrew-Orlov Andrew-Orlov changed the title refacor: tests arrange and teardown sections refactor: tests arrange and teardown sections Jan 23, 2026
Andrew-Orlov and others added 15 commits January 23, 2026 12:32
- Updated the Auth class to perform browser-based login instead of setting local storage directly.
- Enhanced the test_e2e_merge_carts to utilize the new authentication method and clear user carts appropriately.
- Adjusted user ID handling to ensure correct cart operations for both registered and anonymous users.
- Updated the pickup location modal component to handle visibility checks and ensure proper filtering based on user input.
- Refactored tests to replace button clicks with keyboard interactions for better reliability.
- Enhanced assertions in tests to validate the presence of keywords in pickup locations.
- Cleaned up unnecessary waits and improved overall test structure for clarity.
- Added functionality to convert 'expires_in' to 'expires_at' in ISO format.
- Implemented a method to extract user ID from the JWT access token.
- Updated the authentication flow to set localStorage values before page navigation, improving the login process.
…t operations

- Added wait for network idle state in multiple test cases to ensure proper loading of pickup locations.
- Updated cart operations to use clear_cart for better clarity and consistency.
- Enhanced assertions to validate pickup points count after applying and resetting filters.
- Improved test structure for better reliability and maintainability.
…ti_organization tests

- Added wait for network idle state in multiple test cases to ensure proper loading of pages before interactions.
- Refactored authentication flow to streamline user sign-in process across various tests.
@Andrew-Orlov Andrew-Orlov merged commit 867bd22 into dev Jan 27, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants