[arvados] updated: 2.7.0-6588-g869c50de9a

git repository hosting git at public.arvados.org
Wed May 29 17:52:00 UTC 2024


Summary of changes:
 services/workbench2/cypress/e2e/details-card.cy.js | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

       via  869c50de9a61a8607f9980abd190724d4426aa7d (commit)
      from  5844085c0f593ea07ac85a153607fec6dfb18b2f (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 869c50de9a61a8607f9980abd190724d4426aa7d
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Wed May 29 13:51:57 2024 -0400

    21224: fixed chip toggle spec
    
    Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/cypress/e2e/details-card.cy.js b/services/workbench2/cypress/e2e/details-card.cy.js
index 6510d8a87b..923caff22a 100644
--- a/services/workbench2/cypress/e2e/details-card.cy.js
+++ b/services/workbench2/cypress/e2e/details-card.cy.js
@@ -150,7 +150,7 @@ describe('Project Details Card tests', function () {
         const projName = `Test project (${Math.floor(999999 * Math.random())})`;
         //must be long enough to require a 2nd line
         const projDescription =
-            'Science! true daughter of Old Time thou art! Who alterest all things with thy peering eyes. Why preyest thou thus upon the poet’s heart, Vulture, whose wings are dull realities? ';
+            'Science! True daughter of Old Time thou art! Who alterest all things with thy peering eyes. Why preyest thou thus upon the poet’s heart, Vulture, whose wings are dull realities? ';
         cy.loginAs(adminUser);
 
         // Create project
@@ -214,16 +214,24 @@ describe('Project Details Card tests', function () {
         cy.get('[data-cy=value-input]').should('be.visible').click().type('Critical');
         cy.get('[data-cy=property-add-btn]').should('be.visible').click();
 
+        cy.get('[data-cy=key-input]').should('be.visible').click().type('very long key');
+        cy.get('[data-cy=value-input]').should('be.visible').click().type('very loooooooooooooooooooooooooooooooooooooooooooooooooooooong value');
+        cy.get('[data-cy=property-add-btn]').should('be.visible').click();
+
+        cy.get('[data-cy=key-input]').should('be.visible').click().type('very long key 2');
+        cy.get('[data-cy=value-input]').should('be.visible').click().type('very loooooooooooooooooooooooooooooooooooooooooooooooooooooong value 2');
+        cy.get('[data-cy=property-add-btn]').should('be.visible').click();
+
         cy.get('[data-cy=form-submit-btn]').click();
 
         //toggle chips
-        cy.get('[data-cy=project-details-card]').invoke('height').should('be.lt', 100);
+        cy.get('[data-cy=project-details-card]').invoke('height').should('be.lt', 95);
         cy.get('[data-cy=toggle-chips]').click();
         cy.waitForDom();
-        cy.get('[data-cy=project-details-card]').invoke('height').should('be.gt', 101);
+        cy.get('[data-cy=project-details-card]').invoke('height').should('be.gt', 96);
         cy.get('[data-cy=toggle-chips').click();
         cy.waitForDom();
-        cy.get('[data-cy=project-details-card]').invoke('height').should('be.lt', 100);
+        cy.get('[data-cy=project-details-card]').invoke('height').should('be.lt', 95);
 
         //check for key/value pairs in project details card
         cy.get('[data-cy=project-details-card]').contains('Animal').should('be.visible');

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list