Skip to content

Commit

Permalink
fix: removed unnecessary assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Florez authored and Sergio Florez committed Feb 3, 2025
1 parent 9d38bd4 commit a39aea8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
7 changes: 0 additions & 7 deletions tests/initialInquiry/initialInquiry.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,6 @@ test.describe.serial('Create initial inquiry', () => {

await loginUser(page, username!, password!);

// assert user is logged in and check for initial inquiries
await page.waitForSelector('a[href="/profile"]');
await expect(page.locator('a[href="/profile"]')).toBeVisible();
await expect(
page.locator('div[id="local-switch-wrapper"]')
).toBeVisible();

await page.locator('a.navigation__item:first-of-type').click();

await page.waitForSelector('.listInfo__illustration');
Expand Down
4 changes: 0 additions & 4 deletions tests/login/loginConsultant.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ test.fixme('Log in as a consultant', async ({ page }) => {

await loginUser(page, username!, password!);

// assert consultant is logged in
await expect(page.locator('a[href="/profile"]')).toBeVisible();
await expect(page.locator('div[id="local-switch-wrapper"]')).toBeVisible();

// log out & assert home page
await page
.locator(
Expand Down

0 comments on commit a39aea8

Please sign in to comment.