From d10e3de65595d9ab1983da00dc498c5fb11abf79 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Wed, 7 Dec 2022 19:43:41 +0100 Subject: [PATCH] 19732: Adds test assertion exposing the bug. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- cypress/integration/collection.spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js index 74506aea21..a62cca59de 100644 --- a/cypress/integration/collection.spec.js +++ b/cypress/integration/collection.spec.js @@ -911,6 +911,10 @@ describe('Collection panel tests', function () { // Confirm proper vocabulary labels are displayed on the UI. cy.get('[data-cy=form-dialog]').should('contain', 'Color: Magenta'); + // Value field should not complain about being required just after + // adding a new property. See #19732 + cy.get('[data-cy=form-dialog]').should('not.contain', 'This field is required'); + cy.get('[data-cy=form-submit-btn]').click(); // Confirm that the user was taken to the newly created collection cy.get('[data-cy=form-dialog]').should('not.exist'); -- 2.30.2