Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
fix: add label to stop timeout during e2e test (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
maghirardelli authored Aug 31, 2021
1 parent 9c74ac7 commit ff0b4cc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ConfigStep extends React.Component {
Configurations are predefined set of Input Parameter values for the AWS Service Catalog Product. The
configurations are presented as preset options when launching workspaces of this type.
</p>
<Button basic color="blue" onClick={this.showEnvTypeConfigDialog}>
<Button data-testid="addconfigbutton" basic color="blue" onClick={this.showEnvTypeConfigDialog}>
Add Configuration
</Button>
</Header.Subheader>
Expand All @@ -99,7 +99,14 @@ class ConfigStep extends React.Component {
<>
<Segment basic>
{!this.shouldShowEnvTypeConfigDialog && (
<Button className="ml3" basic color="blue" floated="right" onClick={this.showEnvTypeConfigDialog}>
<Button
data-testid="addconfigbutton"
className="ml3"
basic
color="blue"
floated="right"
onClick={this.showEnvTypeConfigDialog}
>
Add Configuration
</Button>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe('Check that variables prepopulate when making a new configuration', ()
cy.contains('Configurations').click();

// Add new configuration
cy.get('button')
cy.get('[data-testid=addconfigbutton]')
.contains('Add Configuration')
.click();

Expand Down

0 comments on commit ff0b4cc

Please sign in to comment.