2023-05-09 12:43:16 +00:00
|
|
|
import { test } from '@japa/runner';
|
2023-03-03 15:54:28 +00:00
|
|
|
|
|
|
|
test('display welcome page', async ({ client }) => {
|
2024-01-31 12:19:46 +00:00
|
|
|
const response = await client.get('/welcome');
|
2023-03-03 15:54:28 +00:00
|
|
|
|
2023-05-09 12:43:16 +00:00
|
|
|
response.assertStatus(200);
|
|
|
|
response.assertTextIncludes('<h1 class="title"> It Works! </h1>');
|
|
|
|
});
|