Skip to content

Commit

Permalink
Update example.spec.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhaiwat10 committed May 9, 2024
1 parent 57bb3c6 commit 0f8cfcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e-tests/example.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { test, expect } from '@playwright/test';
test('has title', async ({ page }) => {
await page.goto('http://localhost:3000/');

// Expect a title "to contain" a substring.
await expect(page).toHaveTitle(/Fuel/);
const title = page.getByRole('heading', { name: 'Welcome to Fuel' });
expect(title).toBeVisible();

Check failure on line 7 in e2e-tests/example.spec.ts

View workflow job for this annotation

GitHub Actions / browser

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator

Check failure on line 7 in e2e-tests/example.spec.ts

View workflow job for this annotation

GitHub Actions / node@20

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator

Check failure on line 7 in e2e-tests/example.spec.ts

View workflow job for this annotation

GitHub Actions / [email protected]

Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
});

// test('get started link', async ({ page }) => {
Expand Down

0 comments on commit 0f8cfcf

Please sign in to comment.