pub struct SoftPageAssertions<'a> { /* private fields */ }Expand description
Soft assertions for pages.
These assertions collect failures instead of failing immediately.
Implementations§
Source§impl SoftPageAssertions<'_>
impl SoftPageAssertions<'_>
Sourcepub async fn to_have_url(&self, expected: impl AsRef<str>)
pub async fn to_have_url(&self, expected: impl AsRef<str>)
Assert page URL (soft).
Sourcepub async fn to_have_title(&self, expected: impl AsRef<str>)
pub async fn to_have_title(&self, expected: impl AsRef<str>)
Assert page title (soft).
Auto Trait Implementations§
impl<'a> Freeze for SoftPageAssertions<'a>
impl<'a> !RefUnwindSafe for SoftPageAssertions<'a>
impl<'a> Send for SoftPageAssertions<'a>
impl<'a> Sync for SoftPageAssertions<'a>
impl<'a> Unpin for SoftPageAssertions<'a>
impl<'a> !UnwindSafe for SoftPageAssertions<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more