forked from rancher/dashboard
-
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.
add mgmt cluster description to prov cluster description as fallback …
…in home cluster list and main side nav clusters (rancher#10782) * add mgmt cluster description to prov cluster description as fallbacks in home cluster list and main side nav clusters * address pr comments * add e2e to test description for rke1 cluster in home page * address pr comments
- Loading branch information
Showing
7 changed files
with
139 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import EmberComponentPo from '@/cypress/e2e/po/components/ember/ember-component.po'; | ||
|
||
export default class EmberTextareaPo extends EmberComponentPo { | ||
/** | ||
* Type value in the input | ||
* @param value Value to be typed | ||
* @param secret Pass in true to hide sensitive data from logs | ||
* @returns | ||
*/ | ||
set(value: string, secret?: boolean): Cypress.Chainable { | ||
this.input().should('be.visible'); | ||
this.input().focus(); | ||
this.input().clear(); | ||
|
||
if (secret) { | ||
return this.input().type(value, { log: false }); | ||
} else { | ||
return this.input().type(value); | ||
} | ||
} | ||
|
||
clear() { | ||
return this.input().clear(); | ||
} | ||
|
||
/** | ||
* Return the input HTML element from given container | ||
* @returns HTML Element | ||
*/ | ||
private input(): Cypress.Chainable { | ||
return this.self(); | ||
} | ||
} |
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