[ARVADOS-WORKBENCH2] updated: 2.1.0-37-gd893647f
Git user
git at public.arvados.org
Mon Nov 2 23:09:48 UTC 2020
Summary of changes:
cypress/integration/collection-panel.spec.js | 3 ++-
src/views-components/advanced-tab-dialog/advanced-tab-dialog.tsx | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
via d893647fe76b435bfe0fcec4226a796369f2ee8b (commit)
from e6a7ab198d2ab3beaa673f33092b416be4098a4a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit d893647fe76b435bfe0fcec4226a796369f2ee8b
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date: Tue Nov 3 00:09:28 2020 +0100
16005: Fixed tests
Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
diff --git a/cypress/integration/collection-panel.spec.js b/cypress/integration/collection-panel.spec.js
index 616145fc..9714fe38 100644
--- a/cypress/integration/collection-panel.spec.js
+++ b/cypress/integration/collection-panel.spec.js
@@ -64,8 +64,9 @@ describe('Collection panel tests', function() {
cy.get('[data-cy=context-menu]')
.should('contain', 'Add to favorites')
.and(`${isWritable ? '' : 'not.'}contain`, 'Edit collection')
- .type('{esc}')
.type('{esc}'); // Collapse the options menu
+ cy.get('[data-cy=close-advanced-dialog]')
+ .click();
cy.get('[data-cy=collection-properties-panel]')
.should('contain', 'someKey')
.and('contain', 'someValue')
diff --git a/src/views-components/advanced-tab-dialog/advanced-tab-dialog.tsx b/src/views-components/advanced-tab-dialog/advanced-tab-dialog.tsx
index fdd0bd70..7e90bfd2 100644
--- a/src/views-components/advanced-tab-dialog/advanced-tab-dialog.tsx
+++ b/src/views-components/advanced-tab-dialog/advanced-tab-dialog.tsx
@@ -87,7 +87,7 @@ export const AdvancedTabDialog = compose(
{value === 4 && dialogContent(curlHeader, curlExample, classes)}
</DialogContent>
<DialogActions>
- <Button variant='text' color='primary' onClick={closeDialog}>
+ <Button data-cy="close-advanced-dialog" variant='text' color='primary' onClick={closeDialog}>
Close
</Button>
</DialogActions>
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list