From a0a722d1920abbe1e20190d296be0c51daabefc2 Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Wed, 3 Mar 2021 18:22:07 -0300 Subject: [PATCH] 17337: Adds valid file names test cases. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- cypress/integration/collection.spec.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js index dfc1c466..dc26d09a 100644 --- a/cypress/integration/collection.spec.js +++ b/cypress/integration/collection.spec.js @@ -187,7 +187,14 @@ describe('Collection panel tests', function () { ['&', 'foo'], ['foo', '&'], ['&', 'I ❤️ ⛵️'], - ['I ❤️ ⛵️', '...'] + ['I ❤️ ⛵️', '...'], + ['...', , '#...'], + ['#...', 'some name with whitespaces'], + ['some name with whitespaces', 'some name with whitespaces #2'], + ['some name with whitespaces #2', 'is this name legal? I hope it is'], + ['is this name legal? I hope it is', 'some_file.pdf#'], + ['some_file.pdf#', 'some_file.pdf?'], + ['some_file.pdf?', '?some_file.pdf'] ]; nameTransitions.forEach(([from, to]) => { cy.get('[data-cy=collection-files-panel]') -- 2.30.2