Skip to content

Commit 4d1af82

Browse files
authored
chore: remove '#main and #footer when items added' test (#62)
1 parent 9e48a27 commit 4d1af82

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

assets/demo-todo-app.spec.js

-12
Original file line numberDiff line numberDiff line change
@@ -68,18 +68,6 @@ test.describe('New Todo', () => {
6868
await expect(page.getByTestId('todo-title')).toHaveText(TODO_ITEMS);
6969
await checkNumberOfTodosInLocalStorage(page, 3);
7070
});
71-
72-
test('should show #main and #footer when items added', async ({ page }) => {
73-
// create a new todo locator
74-
const newTodo = page.getByPlaceholder('What needs to be done?');
75-
76-
await newTodo.fill(TODO_ITEMS[0]);
77-
await newTodo.press('Enter');
78-
79-
await expect(page.locator('.main')).toBeVisible();
80-
await expect(page.locator('.footer')).toBeVisible();
81-
await checkNumberOfTodosInLocalStorage(page, 1);
82-
});
8371
});
8472

8573
test.describe('Mark all as completed', () => {

assets/demo-todo-app.spec.ts

-12
Original file line numberDiff line numberDiff line change
@@ -67,18 +67,6 @@ test.describe('New Todo', () => {
6767
await expect(page.getByTestId('todo-title')).toHaveText(TODO_ITEMS);
6868
await checkNumberOfTodosInLocalStorage(page, 3);
6969
});
70-
71-
test('should show #main and #footer when items added', async ({ page }) => {
72-
// create a new todo locator
73-
const newTodo = page.getByPlaceholder('What needs to be done?');
74-
75-
await newTodo.fill(TODO_ITEMS[0]);
76-
await newTodo.press('Enter');
77-
78-
await expect(page.locator('.main')).toBeVisible();
79-
await expect(page.locator('.footer')).toBeVisible();
80-
await checkNumberOfTodosInLocalStorage(page, 1);
81-
});
8270
});
8371

8472
test.describe('Mark all as completed', () => {

0 commit comments

Comments
 (0)