-
-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '5.x' into fix/doctrine-requirements
- Loading branch information
Showing
17 changed files
with
160 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
describe('simple', () => { | ||
beforeEach(() => { | ||
cy.visit('/cypress?testType=filters'); | ||
}); | ||
|
||
it('test', () => { | ||
const expectedFilter = '{"input_text":{"name":"d","email":"d"}}' // Daniel, Claudio | ||
|
||
cy.get('[wire\\:model="filters.input_text.name"]') | ||
.type('d').should('have.value', 'd'); | ||
|
||
cy.get('[wire\\:model="filters.input_text.email"]') | ||
.type('d').should('have.value', 'd'); | ||
|
||
cy.get('[data-cy="filters-log"]').should('contain.text', expectedFilter); | ||
|
||
cy.get('.power-grid-table tbody tr').then(($el) => { | ||
$el.each((index, row) => { | ||
|
||
const name = Cypress.$(row).find('td').eq(1).text(); | ||
|
||
expect(name).not.to.include('Luan'); | ||
expect(name).not.to.include('Tio Jobs'); | ||
}); | ||
}) | ||
}); | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
describe('simple', () => { | ||
beforeEach(() => { | ||
cy.visit('/cypress?testType=filters'); | ||
}); | ||
|
||
it('test', () => { | ||
const expectedFilter = '{"number":{"id":{"start":"2","end":"4"}}}' | ||
|
||
cy.get('[wire\\:model="filters.number.id.start"]') | ||
.type('2').should('have.value', '2'); | ||
|
||
cy.get('[wire\\:model="filters.number.id.end"]') | ||
.type('4').should('have.value', '4'); | ||
|
||
cy.get('[data-cy="filters-log"]').should('contain.text', expectedFilter); | ||
|
||
cy.get('.power-grid-table tbody tr').then(($el) => { | ||
$el.each((index, row) => { | ||
|
||
const firstTdText = Cypress.$(row).find('td').eq(0).text(); | ||
expect(firstTdText).not.to.include('1'); | ||
expect(firstTdText).not.to.include('5'); | ||
expect(firstTdText).not.to.include('6'); | ||
}); | ||
}) | ||
}); | ||
}) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<div> | ||
<div data-cy="filters-log"> | ||
@json($filters) | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters