fixing e2e cron job with minor syntax updates from the monitor app
This commit is contained in:
Родитель
810b268275
Коммит
5aab6ea696
|
@ -118,8 +118,6 @@ export default defineConfig({
|
|||
/* Run your local dev server before starting the tests */
|
||||
webServer: {
|
||||
command: 'npm run build; npm start',
|
||||
url: 'http://localhost:6060',
|
||||
reuseExistingServer: process.env.E2E_TEST_ENV === 'local',
|
||||
// Building the app can take some time:
|
||||
timeout: 600_000,
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ export class DashboardPage {
|
|||
});
|
||||
|
||||
this.fixedHeading = page.getByRole("heading", {
|
||||
name: "View all exposures that are fixed or in-progress",
|
||||
name: "View all exposures that are fixed or in progress",
|
||||
});
|
||||
|
||||
this.toolTip = page.locator(
|
||||
|
|
|
@ -89,7 +89,7 @@ test.describe(`${process.env.E2E_TEST_ENV} - Breaches Dashboard - Headers`, () =
|
|||
// verify fixed tab's tooltips and popups
|
||||
await dashboardPage.fixedTab.click();
|
||||
await expect(dashboardPage.heresWhatsFixedCardTitle).toHaveText(
|
||||
"Here’s what we fixed",
|
||||
"Here’s what you fixed",
|
||||
);
|
||||
await expect(dashboardPage.fixedHeading).toBeVisible();
|
||||
await dashboardPage.toolTip.click();
|
||||
|
|
Загрузка…
Ссылка в новой задаче