Tag

Async Handling

1 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Sep 7, 2023 · Frontend Development

Best Practices for Optimizing Page Waits and Asynchronous Operations with Playwright

This article explains how to improve Playwright automation scripts by using appropriate wait conditions, explicit timeouts, event listeners, custom functions, proper timeout settings, and parallel async execution, and provides clear Python code examples for each technique.

Async HandlingAutomationPlaywright
0 likes · 6 min read
Best Practices for Optimizing Page Waits and Asynchronous Operations with Playwright
Airbnb Technology Team
Airbnb Technology Team
Feb 24, 2022 · Mobile Development

Ensuring Consistency in Airbnb's Android Automated Testing Framework

In the sixth Airbnb Android testing article, the team identifies flaky‑test sources such as nondeterministic sharding, asynchronous execution, view and drawable caching, shared‑preference leaks, time drift, and RecyclerView pre‑fetching, and resolves them by clearing shared state, injecting test‑scoped coroutine scopes, forcing view refreshes, mocking time, clearing drawable caches, disabling pre‑fetching, using synchronous drawables, and wrapping WebViews to block network loads while logging details.

Android TestingAsync HandlingAutomation
0 likes · 13 min read
Ensuring Consistency in Airbnb's Android Automated Testing Framework