mirror of
https://github.com/morris/vanilla-todo.git
synced 2025-09-01 18:02:41 +02:00
add tests for item drag and drop
This commit is contained in:
@@ -4,8 +4,8 @@ import '../coverage.js';
|
||||
test('Add custom to-do list', async ({ page }) => {
|
||||
await page.goto('http://localhost:8080');
|
||||
|
||||
const add = page.locator('.todo-frame.-custom .add');
|
||||
await add.click();
|
||||
const addCustomTodoList = page.locator('.todo-frame.-custom .add');
|
||||
await addCustomTodoList.click();
|
||||
|
||||
const title = page.locator('.todo-custom-list > .header > .title');
|
||||
await expect(title).toHaveText('...');
|
||||
|
Reference in New Issue
Block a user