Skip to content

Commit

Permalink
Fixed playwright test
Browse files Browse the repository at this point in the history
  • Loading branch information
vickyRathee committed Apr 3, 2024
1 parent a6bcb08 commit 0013f6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 'latest'
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
Expand Down
1 change: 1 addition & 0 deletions tests/popup.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const uri = `file:${path.join(__dirname, "../examples/popup.html")}`;

test("has title", async ({ page }) => {
await page.goto(uri);
await page.setViewportSize({ width: 1960, height: 1080 });
await expect(page).toHaveTitle(/popup/);
});

Expand Down

0 comments on commit 0013f6a

Please sign in to comment.