attempting to fix broken cypress test by waiting for page to load before clearing w/ burnettk
This commit is contained in:
parent
45bcba172d
commit
586cb8893d
|
@ -20,8 +20,9 @@ describe('process-groups', () => {
|
|||
cy.contains(`Process Group: ${groupDisplayName}`);
|
||||
|
||||
cy.getBySel('edit-process-group-button').click();
|
||||
cy.get('input[name=display_name]').clear();
|
||||
cy.get('input[name=display_name]').type(newGroupDisplayName);
|
||||
cy.wait(1000); // wait for the page to load before clearing the field
|
||||
cy.getBySel('process-group-display-name-input').clear();
|
||||
cy.getBySel('process-group-display-name-input').type(newGroupDisplayName);
|
||||
cy.contains('Submit').click();
|
||||
cy.contains(`Process Group: ${newGroupDisplayName}`);
|
||||
|
||||
|
|
|
@ -109,6 +109,7 @@ export default function ProcessGroupForm({
|
|||
const textInputs = [
|
||||
<TextInput
|
||||
id="process-group-display-name"
|
||||
data-qa="process-group-display-name-input"
|
||||
name="display_name"
|
||||
invalidText="Display Name is required."
|
||||
invalid={displayNameInvalid}
|
||||
|
|
Loading…
Reference in New Issue