A mistake was made by adding file naming test cases instead of testing
a collection naming operation.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>
const names = [
'bar', // initial name already set
const names = [
'bar', // initial name already set
- '[between brackets]', // JSON-like strings (#17582)
- '{between braces}', // JSON-like strings (#17582)
// Create new collection
cy.get('[data-cy=side-panel-button]').click();
cy.get('[data-cy=side-panel-new-collection]').click();
// Create new collection
cy.get('[data-cy=side-panel-button]').click();
cy.get('[data-cy=side-panel-new-collection]').click();
- const collName = `Test collection (${Math.floor(999999 * Math.random())})`;
+ // Name between brackets tests bugfix #17582
+ const collName = `[Test collection (${Math.floor(999999 * Math.random())})]`;
cy.get('[data-cy=form-dialog]')
.should('contain', 'New collection')
.within(() => {
cy.get('[data-cy=form-dialog]')
.should('contain', 'New collection')
.within(() => {