You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce performance budget functionality: add PerformanceBudgetAttribute to declare per-test/class thresholds and map sentinel values to nullable PerformanceBudget. Implement PerformanceBudgetContext (AsyncLocal) to hold ambient budget for the current async test flow. Add PageAssertions methods (ToMeetPerformanceBudgetAsync and individual metric checks) that resolve budgets from the ambient context or motus.config.json and format failures. Integrate budget push/clear into MSTest/NUnit/xUnit test setup/teardown to apply method/class attributes. Extend configuration with MotusPerformanceConfig, JSON context generation, env var parsing, and ConfigMerge.ToBudget/merging logic. Add comprehensive unit tests for assertions, attribute mapping, context behavior and config deserialization. Also include small cleanups: tweak BrowserFinder comment and refine Download cancellation exception message.
0 commit comments