[arvados] updated: 2.7.0-6216-g34fba73b21
git repository hosting
git at public.arvados.org
Mon Mar 18 19:59:57 UTC 2024
Summary of changes:
.../workbench2/cypress/e2e/banner-tooltip.cy.js | 35 ++++++++++++++--------
1 file changed, 22 insertions(+), 13 deletions(-)
via 34fba73b216678a3f447d462c5e487a4011bc700 (commit)
from ea30fca96919402f1eedcf1a598240b9514972e0 (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 34fba73b216678a3f447d462c5e487a4011bc700
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Mon Mar 18 15:59:49 2024 -0400
21600: added waits everywhere it could possibly matter Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/services/workbench2/cypress/e2e/banner-tooltip.cy.js b/services/workbench2/cypress/e2e/banner-tooltip.cy.js
index f7df7d9742..3b4a4fac47 100644
--- a/services/workbench2/cypress/e2e/banner-tooltip.cy.js
+++ b/services/workbench2/cypress/e2e/banner-tooltip.cy.js
@@ -71,30 +71,39 @@ describe('Banner / tooltip tests', function () {
cy.loginAs(adminUser);
cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
+ cy.waitForDom();
- // cy.get('[title=Notifications]').click({ force: true });
- // cy.get('[data-cy=restore-banner-li]').click({ force: true });
+ cy.get('[title=Notifications]').click({ force: true });
+ cy.waitForDom();
+ cy.get('[data-cy=restore-banner-li]').click({ force: true });
+ cy.waitForDom();
- // cy.get('[data-cy=confirmation-dialog-ok-btn]').should('be.visible');
+ cy.get('[data-cy=confirmation-dialog-ok-btn]').should('be.visible');
});
it('should show tooltips and remove tooltips as localStorage key is present', () => {
cy.loginAs(adminUser);
- // cy.get('[data-cy=side-panel-tree]').then(($el) => {
- // const el = $el.get(0) //native DOM element
- // expect(el._tippy).to.not.be.undefined;
- // });
+ cy.get('[data-cy=side-panel-tree]').then(($el) => {
+ if(!!$el) {
+ const el = $el.get(0) //native DOM element
+ expect(el._tippy).to.not.be.undefined;
+ }
+ });
cy.get('[data-cy=confirmation-dialog-ok-btn]').click();
+ cy.waitForDom();
- // cy.get('[title=Notifications]').click();
- // cy.get('[data-cy=disable-tooltip-toggle]').click({ force: true });
+ cy.get('[title=Notifications]').click();
+ cy.waitForDom();
+ cy.get('[data-cy=disable-tooltip-toggle]').click({ force: true });
- // cy.get('[data-cy=side-panel-tree]').then(($el) => {
- // const el = $el.get(0) //native DOM element
- // expect(el._tippy).to.be.undefined;
- // });
+ cy.get('[data-cy=side-panel-tree]').then(($el) => {
+ if(!!$el) {
+ const el = $el.get(0) //native DOM element
+ expect(el._tippy).to.be.undefined;
+ }
+ });
});
});
\ No newline at end of file
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list