projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '21158-wf-page-list' refs #21158
[arvados.git]
/
services
/
workbench2
/
cypress
/
integration
/
user-profile.spec.js
diff --git
a/services/workbench2/cypress/integration/user-profile.spec.js
b/services/workbench2/cypress/integration/user-profile.spec.js
index d91dbb0bc5bf4a49f98e7ffd256b2df31248edfb..0a06eaf361ba97763ba20d4730001c3b26e93378 100644
(file)
--- a/
services/workbench2/cypress/integration/user-profile.spec.js
+++ b/
services/workbench2/cypress/integration/user-profile.spec.js
@@
-145,6
+145,8
@@
describe('User profile tests', function() {
website: 'example.com',
});
website: 'example.com',
});
+ cy.get('[data-cy=profile-form] button[type="submit"]').should('not.be.disabled');
+
// Submit
cy.get('[data-cy=profile-form] button[type="submit"]').click();
// Submit
cy.get('[data-cy=profile-form] button[type="submit"]').click();
@@
-159,6
+161,9
@@
describe('User profile tests', function() {
role: 'Data Scientist',
website: 'example.com',
});
role: 'Data Scientist',
website: 'example.com',
});
+
+ // if it worked, the save button should be disabled.
+ cy.get('[data-cy=profile-form] button[type="submit"]').should('be.disabled');
});
it('non-admin cannot edit other profile', function() {
});
it('non-admin cannot edit other profile', function() {