Skip to content

Commit

Permalink
chore: single quote
Browse files Browse the repository at this point in the history
  • Loading branch information
sousuke0422 committed Mar 12, 2024
1 parent d7d9008 commit 6ed2936
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/root.spec.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import { test, expect } from "@playwright/test";
import { test, expect } from '@playwright/test';

test.beforeEach(async ({ page }) => {
await page.goto("http://localhost:3000/");
await page.goto('http://localhost:3000/');
});

test.describe("Root Page", () => {
test("Check Title", async ({ page }) => {
await expect(page).toHaveTitle("AkariNext");
test.describe('Root Page', () => {
test('Check Title', async ({ page }) => {
await expect(page).toHaveTitle('AkariNext');
});

test("Landing Page Text", async ({ page }) => {
const text = "Let's have fun and play funny!";
test('Landing Page Text', async ({ page }) => {
const text = 'Let\'s have fun and play funny!';
expect(text).toBeTruthy();
await page.screenshot({ path: "screenshots/landing.png", fullPage: false });
await page.screenshot({ path: 'screenshots/landing.png', fullPage: false });
});
});

0 comments on commit 6ed2936

Please sign in to comment.