test: fix all tests

This commit is contained in:
thecodrr
2022-07-07 17:27:35 +05:00
parent eb1e2fc56d
commit 1ade0dfb36
11 changed files with 13 additions and 10 deletions

View File

@@ -1 +1 @@
Test note 1 (9) Test note 1 (8) Test note 1 (7) Test note 1 (6) Test note 1 (5) Test note 1 (4) Test note 1 (3) Test note 1 (2) Test note 1 (1) Test note 1 (0) 53ad8e4e40ebebd0f400498d
Test note 1 (9) Test note 1 (7) Test note 1 (6) Test note 1 (5) Test note 1 (4) Test note 1 (3) Test note 1 (2) Test note 1 (1) Test note 1 (0) 53ad8e4e40ebebd0f400498d

View File

@@ -1 +1 @@
Test note 2 (9)Test note 2 (8)Test note 2 (7)Test note 2 (6)Test note 2 (5)Test note 2 (4)Test note 2 (3)Test note 2 (2)Test note 2 (1)Test note 2 (0)f054d19e9a2f46eff7b9bb25
Test note 2 (9)Test note 2 (7)Test note 1 (8) Test note 2 (8)Test note 2 (6)Test note 2 (5)Test note 2 (4)Test note 2 (3)Test note 2 (2)Test note 2 (1)Test note 2 (0)f054d19e9a2f46eff7b9bb25

View File

@@ -462,10 +462,9 @@ test.describe("run tests independently", () => {
await openLockedNote(noteSelector);
await page.waitForSelector(".mce-content-body");
await page.waitForTimeout(1000);
await expect(page.textContent(".mce-content-body")).resolves.toContain(
`${content}${NOTE.content}`
);
const editorContent = await getEditorContent();
expect(editorContent).toContain(`${content}${NOTE.content}`);
});
});

View File

@@ -11,7 +11,7 @@
</head>
<body>
<h1>Test 1</h1>
<p>This is Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1</p>
<p dir="ltr">This is Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1</p>
<br/>
Created on: <b>xxx</b><br/>
Edited on: <b>xxx</b>

View File

@@ -11,7 +11,7 @@
</head>
<body>
<h1>Test 1</h1>
<p>This is Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1<br></p>
<p dir="ltr">This is Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1</p>
<br/>
Created on: <b>xxx</b><br/>
Edited on: <b>xxx</b>

View File

@@ -11,7 +11,7 @@
</head>
<body>
<h1>Test 1</h1>
<p>This is Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1</p>
<p dir="ltr">This is Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1Test 1</p>
<br/>
Created on: <b>xxx</b><br/>
Edited on: <b>xxx</b>