Optional
toleranceAllowed tolerance for the containment check, expressed as a percentage (%) of the container's width.
This value defines the margin by which the target element can extend beyond the container's horizontal boundaries while still being considered "inside". For example, a tolerancePercent of 5 allows the element to exceed the container's width by up to 5% without failing the assertion.
If omitted, the default is 0
, meaning strict containment with no allowed overflow.
Options for the toBeInside matcher.