Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Nov 13, 2020
1 parent d80de3f commit 38df9f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/css/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ describe('CSS Support', () => {
const titleColor = await browser.eval(
`window.getComputedStyle(document.querySelector('#green-title')).color`
)
expect(titleColor).toBe('rgb(0, 255, 0)')
expect(titleColor).toBe('rgb(0, 128, 0)')
}
async function checkBlueTitle(browser) {
await browser.waitForElementByCss('#blue-title')
Expand Down Expand Up @@ -1404,7 +1404,7 @@ describe('CSS Support', () => {
const newPageHref2 = await browser.eval(
`document.querySelector('style[data-n-href]').getAttribute('data-n-href')`
)
expect(newPrevSibling2).toBeTruthy()
expect(newPrevSibling2).toBe('')
expect(newPageHref2).toBeDefined()
expect(newPageHref2).toBe(currentPageHref)
} finally {
Expand Down

0 comments on commit 38df9f3

Please sign in to comment.