-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump @nextui-org/react from 2.2.10 to 2.6.8
Bumps [@nextui-org/react](https://github.com/nextui-org/nextui/tree/HEAD/packages/core/react) from 2.2.10 to 2.6.8. - [Release notes](https://github.com/nextui-org/nextui/releases) - [Changelog](https://github.com/nextui-org/nextui/blob/canary/packages/core/react/CHANGELOG.md) - [Commits](https://github.com/nextui-org/nextui/commits/@nextui-org/[email protected]/packages/core/react) --- updated-dependencies: - dependency-name: "@nextui-org/react" dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
- Loading branch information
1 parent
2589166
commit c204a57
Showing
5 changed files
with
1,792 additions
and
1,576 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
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 |
---|---|---|
@@ -1,3 +1,10 @@ | ||
const selectItem = (selector, itemValue) => { | ||
cy.get(selector).click(); | ||
cy.get("div[data-slot='popover']") | ||
.find(`span:contains(${itemValue})`) | ||
.click(); | ||
}; | ||
|
||
describe('Load', () => { | ||
it('should navigate to index page', () => { | ||
cy.visit('/'); | ||
|
@@ -9,7 +16,7 @@ describe('Form', () => { | |
it('should be able to fill in basic fields', () => { | ||
cy.get('#name').type('John Doe'); | ||
cy.get('#mailFrom').type('[email protected]'); | ||
cy.get('#mailTo').type('Webkom'); | ||
selectItem('#mailTo', 'Webkom'); | ||
cy.get('#accountNumber').type('1234 56 78903'); | ||
cy.get('#amount').type('1000'); | ||
cy.get('#date').type('1970-01-01'); | ||
|
@@ -63,7 +70,7 @@ describe('Submit', () => { | |
// Fill in values | ||
cy.get('#name').type('John Doe'); | ||
cy.get('#mailFrom').type('[email protected]'); | ||
cy.get('#mailTo').type('Webkom'); | ||
selectItem('#mailTo', 'Webkom'); | ||
cy.get('#accountNumber').type('1234 56 78903'); | ||
cy.get('#amount').type('1000'); | ||
cy.get('#date').type('1970-01-01'); | ||
|
Oops, something went wrong.