-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1214 from FlowFuse/1177-dynamic-properties-ui-tex…
…t-input Dynamic prop support for UI Text Input
- Loading branch information
Showing
9 changed files
with
3,754 additions
and
3,440 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* eslint-disable cypress/no-unnecessary-waiting */ | ||
describe('Node/-RED Dashboard 2.0 - Text Input Widget', () => { | ||
beforeEach(() => { | ||
cy.deployFixture('dashboard-text-input') | ||
cy.visit('/dashboard/page1') | ||
}) | ||
|
||
// Test case: Renders the Text Input widget correctly | ||
it('renders the Text Input widget correctly', () => { | ||
cy.get('#nrdb-ui-widget-ab3346b81a7cf742 input[type="text"]').should('exist') | ||
}) | ||
|
||
// Test case: Displays the tooltip correctly | ||
it('displays the tooltip correctly', () => { | ||
cy.get('#nrdb-ui-widget-ab3346b81a7cf742 .nrdb-ui-text-field').trigger('mouseover') | ||
cy.get('.v-tooltip').should('contain', 'Tooltip Text') | ||
}) | ||
}) |
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
Oops, something went wrong.