mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Remove these
This commit is contained in:
parent
70d7425ccb
commit
e674a1c720
4 changed files with 0 additions and 86 deletions
|
|
@ -1,34 +0,0 @@
|
|||
import { expect, test } from '@playwright/test';
|
||||
|
||||
test.describe('I18n', () => {
|
||||
test.describe('Language Switching', () => {
|
||||
test('should switch language from English to French using dropdown and verify text on the homepage', async ({
|
||||
page,
|
||||
}) => {
|
||||
await page.goto('/');
|
||||
|
||||
await expect(
|
||||
page.getByText('The perfect SaaS template to build'),
|
||||
).toBeVisible();
|
||||
|
||||
await page.getByRole('button', { name: 'lang-switcher' }).click();
|
||||
await page.getByText('Français').click();
|
||||
|
||||
await expect(
|
||||
page.getByText('Le parfait SaaS template pour construire'),
|
||||
).toBeVisible();
|
||||
});
|
||||
|
||||
test('should switch language from English to French using URL and verify text on the sign-in page', async ({
|
||||
page,
|
||||
}) => {
|
||||
await page.goto('/sign-in');
|
||||
|
||||
await expect(page.getByText('Email address')).toBeVisible();
|
||||
|
||||
await page.goto('/fr/sign-in');
|
||||
|
||||
await expect(page.getByText('Adresse e-mail')).toBeVisible();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
import { expect, test } from '@playwright/test';
|
||||
|
||||
// Checkly is a tool used to monitor deployed environments, such as production or preview environments.
|
||||
// It runs end-to-end tests with the `.check.e2e.ts` extension after each deployment to ensure that the environment is up and running.
|
||||
// With Checkly, you can monitor your production environment and run `*.check.e2e.ts` tests regularly at a frequency of your choice.
|
||||
// If the tests fail, Checkly will notify you via email, Slack, or other channels of your choice.
|
||||
// On the other hand, E2E tests ending with `*.e2e.ts` are only run before deployment.
|
||||
// You can run them locally or on CI to ensure that the application is ready for deployment.
|
||||
|
||||
// BaseURL needs to be explicitly defined in the test file.
|
||||
// Otherwise, Checkly runtime will throw an exception: `CHECKLY_INVALID_URL: Only URL's that start with http(s)`
|
||||
// You can't use `goto` function directly with a relative path like with other *.e2e.ts tests.
|
||||
// Check the example at https://feedback.checklyhq.com/changelog/new-changelog-436
|
||||
|
||||
test.describe('Sanity', () => {
|
||||
test.describe('Static pages', () => {
|
||||
test('should display the homepage', async ({ page, baseURL }) => {
|
||||
await page.goto(`${baseURL}/`);
|
||||
|
||||
await expect(
|
||||
page.getByText('The perfect SaaS template to build'),
|
||||
).toBeVisible();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
import percySnapshot from '@percy/playwright';
|
||||
import { expect, test } from '@playwright/test';
|
||||
|
||||
test.describe('Visual testing', () => {
|
||||
test.describe('Static pages', () => {
|
||||
test('should take screenshot of the homepage', async ({ page }) => {
|
||||
await page.goto('/');
|
||||
|
||||
await expect(
|
||||
page.getByText('The perfect SaaS template to build'),
|
||||
).toBeVisible();
|
||||
|
||||
await percySnapshot(page, 'Homepage');
|
||||
});
|
||||
|
||||
test('should take screenshot of the French homepage', async ({ page }) => {
|
||||
await page.goto('/fr');
|
||||
|
||||
await expect(
|
||||
page.getByText('Le parfait SaaS template pour construire'),
|
||||
).toBeVisible();
|
||||
|
||||
await percySnapshot(page, 'Homepage - French');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
@ -1 +0,0 @@
|
|||
Place your integration tests in this folder by creating files with the `*.spec.ts` extension. These files will be automatically detected by Playwright. For a real-world example, you can check out the Next.js Boilerplate Pro at https://nextjs-boilerplate.com/pro-saas-starter-kit
|
||||
Loading…
Add table
Reference in a new issue