Unverified Commit 68e41ed3 authored by Luis Fernando Alvarez D's avatar Luis Fernando Alvarez D Committed by GitHub

Updated broken test in Windows (#7124)

parent 254b23eb
...@@ -796,9 +796,9 @@ describe('Client Navigation', () => { ...@@ -796,9 +796,9 @@ describe('Client Navigation', () => {
try { try {
browser = await webdriver(context.appPort, '/nav/head-1') browser = await webdriver(context.appPort, '/nav/head-1')
expect(await browser.elementByCss('meta[name="description"]').getAttribute('content')).toBe('Head One') expect(await browser.elementByCss('meta[name="description"]').getAttribute('content')).toBe('Head One')
await browser.elementByCss('#to-head-2').click().waitForElementByCss('#head-2') await browser.elementByCss('#to-head-2').click().waitForElementByCss('#head-2', 3000)
expect(await browser.elementByCss('meta[name="description"]').getAttribute('content')).toBe('Head Two') expect(await browser.elementByCss('meta[name="description"]').getAttribute('content')).toBe('Head Two')
await browser.elementByCss('#to-head-1').click().waitForElementByCss('#head-1') await browser.elementByCss('#to-head-1').click().waitForElementByCss('#head-1', 3000)
expect(await browser.elementByCss('meta[name="description"]').getAttribute('content')).toBe('Head One') expect(await browser.elementByCss('meta[name="description"]').getAttribute('content')).toBe('Head One')
} finally { } finally {
if (browser) { if (browser) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment