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

chore: Update Chrome (beta) to 131.0.6778.3 #30416

Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion browser-versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"chrome:beta": "130.0.6723.44",
"chrome:beta": "131.0.6778.3",
"chrome:stable": "130.0.6723.58",
"chrome:minimum": "64.0.3282.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -1091,11 +1091,15 @@ describe('src/cy/commands/actions/type - #type special chars', () => {
.type('{downarrow}22').then(($div) => {
if (Cypress.isBrowser('firefox')) {
expect(trimInnerText($div)).to.eq('foo22\nbar\nbaz')

return
} else if (Cypress.isBrowser({ family: 'chromium' }) && Cypress.browserMajorVersion() >= 131) {
// Chromium >=131 moves the cursor to the location of the end of the selection
// on the next line when typing the downarrow (in this case, behind 'bar')
expect(trimInnerText($div)).to.eql('foo\nbar22\nbaz')
} else {
// Chromium <=130 moves the cursor to the location of the beginning of the selection
// on the next line when typing the downarrow (in this case, in front of 'bar')
expect(trimInnerText($div)).to.eql('foo\n22bar\nbaz')
}

expect(trimInnerText($div)).to.eql('foo\n22bar\nbaz')
})
})
})
Expand Down
Loading