Skip to content

Commit 63ab630

Browse files
committed
fix spec
1 parent fed5ca3 commit 63ab630

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/content.e2e.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ describe('learn.microsoft.com Update Checker E2E Test', () => {
100100
}, testCase.themeColor);
101101
await page.waitForSelector('button[aria-pressed="true"]');
102102

103-
// Wait for the time element with the 'data-article-date' attribute to be added
104-
await page.waitForSelector('time[data-article-date]');
103+
// Wait for the time element with the 'local-time' attribute to be added
104+
await page.waitForSelector('local-time');
105105

106106
const englishDateText = await page.evaluate((expectedText) => {
107107
return new Promise(resolve => setTimeout(resolve, 1000)) // Add a delay to allow time for the element to be added

0 commit comments

Comments
 (0)