Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typo #63276

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/integration/next-image-new/default/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -461,14 +461,14 @@ function runTests(mode) {
)
})

it('should callback native onError when error occured while loading image', async () => {
it('should callback native onError when error occurred while loading image', async () => {
let browser = await webdriver(appPort, '/on-error')
await browser.eval(
`document.getElementById("img1").scrollIntoView({behavior: "smooth"})`
)
await check(
() => browser.eval(`document.getElementById("msg1").textContent`),
'no error occured for img1'
'no error occurred for img1'
)
await check(
() => browser.eval(`document.getElementById("img1").style.color`),
Expand All @@ -479,7 +479,7 @@ function runTests(mode) {
)
await check(
() => browser.eval(`document.getElementById("msg2").textContent`),
'no error occured for img2'
'no error occurred for img2'
)
await check(
() => browser.eval(`document.getElementById("img2").style.color`),
Expand All @@ -488,7 +488,7 @@ function runTests(mode) {
await browser.eval(`document.getElementById("toggle").click()`)
await check(
() => browser.eval(`document.getElementById("msg2").textContent`),
'error occured while loading img2'
'error occurred while loading img2'
)
await check(
() => browser.eval(`document.getElementById("img2").style.color`),
Expand Down