Skip to content

Commit

Permalink
Fixed merge conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthkh committed Dec 3, 2019
1 parent 2664691 commit 3caf09b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/driver/src/cy/commands/querying.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const restoreContains = () => {

const whitespaces = /\s+/g

module.exports = function (Commands, Cypress, cy, state, config) {
module.exports = (Commands, Cypress, cy) => {
// restore initially when a run starts
restoreContains()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1893,6 +1893,12 @@ space
cy.get('#test-button').contains('Test')
})

it('is case sensitive when matchCase is true', () => {
cy.get('#test-button').contains('Test', {
matchCase: true,
})
})

it('is case insensitive when matchCase is false', () => {
cy.get('#test-button').contains('test', {
matchCase: false,
Expand Down

0 comments on commit 3caf09b

Please sign in to comment.