|
@@ -228,3 +228,22 @@ test('invalid page props #3944', async ({ page, block }) => {
|
|
|
// Force rendering property block
|
|
|
await block.enterNext()
|
|
|
})
|
|
|
+
|
|
|
+test('Scheduled date picker should point to the already specified Date #6985', async({page,block})=>{
|
|
|
+ await createRandomPage(page)
|
|
|
+
|
|
|
+ await block.mustFill('testTask \n SCHEDULED: <2000-05-06 Sat>')
|
|
|
+ await block.enterNext()
|
|
|
+ await page.waitForTimeout(500)
|
|
|
+ await block.escapeEditing()
|
|
|
+
|
|
|
+ // Open date picker
|
|
|
+ await page.click('a.opacity-80')
|
|
|
+ await page.waitForTimeout(500)
|
|
|
+ expect(page.locator('text=May 2000')).toBeVisible()
|
|
|
+ expect(page.locator('td:has-text("6").active')).toBeVisible()
|
|
|
+
|
|
|
+ // Close date picker
|
|
|
+ await page.click('a.opacity-80')
|
|
|
+ await page.waitForTimeout(500)
|
|
|
+})
|