Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Updates navigation.spec.ts #966

Merged
merged 4 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions e2e/pages/filing-app/formAlerts.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ test('Form Alerts', async ({
await test.step('Click: Continue', async () => {
await page
.getByRole('button', { name: 'Continue to next step' })
.click({ timeout: 5000 });
.click({ timeout: 30_000 });
});
});

Expand All @@ -163,7 +163,7 @@ test('Form Alerts', async ({
await test.step('Click: Continue', async () => {
await page
.getByRole('button', { name: 'Continue' })
.click({ timeout: 5000 });
.click({ timeout: 30_000 });
});
});

Expand All @@ -179,7 +179,7 @@ test('Form Alerts', async ({
await test.step('Click: Continue', async () => {
await page
.getByRole('button', { name: 'Continue to next step' })
.click({ timeout: 5000 });
.click({ timeout: 30_000 });
});
});

Expand Down
5 changes: 4 additions & 1 deletion e2e/pages/shared-lending-platform/Navigation.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { expect } from '@playwright/test';
import { test } from '../../fixtures/testFixture';

test('Navigation', async ({ page }) => {
test('Navigation', async ({ page, navigateToFilingHome }) => {
test.slow();

navigateToFilingHome;

await test.step('Main Navigation', async () => {
// Test Filing Link
await page
Expand Down Expand Up @@ -234,6 +236,7 @@ test('Navigation', async ({ page }) => {
.locator('.navbar .links')
.getByRole('button', { name: 'LOG OUT' })
.click();

await expect(page.locator('h1')).toContainText(
'Get started filing your lending data',
);
Expand Down