Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/ability-detail.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test.describe('Ability Detail Page', () => {

await expect(page.locator('text=Something went wrong')).not.toBeVisible();
await expect(page.locator('text=overgrow').first()).toBeVisible();
expect(errors.filter((e) => !e.includes('Warning'))).toHaveLength(0);
expect(errors).toHaveLength(0);
});

test('should display ability description', async ({ page }) => {
Expand Down
2 changes: 1 addition & 1 deletion e2e/item-detail.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test.describe('Item Detail Page', () => {

await expect(page.locator('text=Something went wrong')).not.toBeVisible();
await expect(page.locator('text=potion').first()).toBeVisible();
expect(errors.filter((e) => !e.includes('Warning'))).toHaveLength(0);
expect(errors).toHaveLength(0);
});

test('should display item category', async ({ page }) => {
Expand Down
2 changes: 1 addition & 1 deletion e2e/location-detail.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test.describe('Location Detail Page', () => {

await expect(page.locator('text=Something went wrong')).not.toBeVisible();
await expect(page.locator('text=pallet town').first()).toBeVisible();
expect(errors.filter((e) => !e.includes('Warning'))).toHaveLength(0);
expect(errors).toHaveLength(0);
});

test('should display region information', async ({ page }) => {
Expand Down
2 changes: 1 addition & 1 deletion e2e/move-detail.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test.describe('Move Detail Page', () => {

await expect(page.locator('text=Something went wrong')).not.toBeVisible();
await expect(page.locator('text=tackle').first()).toBeVisible();
expect(errors.filter((e) => !e.includes('Warning'))).toHaveLength(0);
expect(errors).toHaveLength(0);
});

test('should display move type badge', async ({ page }) => {
Expand Down
2 changes: 1 addition & 1 deletion e2e/nature-detail.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test.describe('Nature Detail Page', () => {

await expect(page.locator('text=Something went wrong')).not.toBeVisible();
await expect(page.locator('text=adamant').first()).toBeVisible();
expect(errors.filter((e) => !e.includes('Warning'))).toHaveLength(0);
expect(errors).toHaveLength(0);
});

test('should display stat changes', async ({ page }) => {
Expand Down
2 changes: 1 addition & 1 deletion e2e/trainer-detail.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test.describe('Trainer Detail Page', () => {

await expect(page.locator('text=Something went wrong')).not.toBeVisible();
await expect(page.locator('text=Brock').first()).toBeVisible();
expect(errors.filter((e) => !e.includes('Warning'))).toHaveLength(0);
expect(errors).toHaveLength(0);
});

test('should display trainer title', async ({ page }) => {
Expand Down
2 changes: 1 addition & 1 deletion e2e/type-detail.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ test.describe('Type Detail Page', () => {

await expect(page.locator('text=Something went wrong')).not.toBeVisible();
await expect(page.locator('text=fire').first()).toBeVisible();
expect(errors.filter((e) => !e.includes('Warning'))).toHaveLength(0);
expect(errors).toHaveLength(0);
});

test('should display type matchups', async ({ page }) => {
Expand Down