We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e731264 commit 208d432Copy full SHA for 208d432
src/page-objects/satellite.page.ts
@@ -21,4 +21,8 @@ export class SatellitePage extends BrowserPage {
21
async assertScreenshot(): Promise<void> {
22
await expect(this.page).toHaveScreenshot({fullPage: true});
23
}
24
+
25
+ async assertContainText(text: string): Promise<void> {
26
+ await expect(this.page.locator('body')).toContainText(text);
27
+ }
28
0 commit comments