generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
14794 - Added Managing Your Connection e2e. (#15259)
* 14794 - Added Managing Your Connection e2e. Updates to other e2e spec files. * 14794 - fixed bug and irrelevant eslint disable comment
- Loading branch information
1 parent
f12c302
commit 3a590ad
Showing
6 changed files
with
328 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,22 @@ | ||
import { expect, Page } from "@playwright/test"; | ||
import { BasePage, BasePageTestArgs } from "./BasePage"; | ||
|
||
export async function onLoad(page: Page) { | ||
await expect(page).toHaveURL(/managing-your-connection/); | ||
await expect(page).toHaveTitle(/Managing your connection/); | ||
} | ||
|
||
export class ManagingYourConnectionPage extends BasePage { | ||
constructor(testArgs: BasePageTestArgs) { | ||
super( | ||
{ | ||
url: "/managing-your-connection", | ||
title: "Managing your connection with ReportStream", | ||
heading: testArgs.page.getByRole("heading", { | ||
name: "Managing Your Connection", | ||
}), | ||
}, | ||
testArgs, | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.