19991: Switch localhost for 127.0.0.1 due to wb url change 19991-breadcrumbs-missing-bug
authorStephen Smith <stephen@curii.com>
Fri, 18 Aug 2023 22:27:33 +0000 (18:27 -0400)
committerStephen Smith <stephen@curii.com>
Fri, 18 Aug 2023 22:27:33 +0000 (18:27 -0400)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

cypress/integration/project.spec.js

index eff4d4e9f18651fc322b7374b0d4b03adf613fbb..fd14cc4226323b331a22c09ea35724748a07f6b7 100644 (file)
@@ -554,7 +554,7 @@ describe('Project tests', function() {
         cy.get('[data-cy=context-menu]').contains('Copy to clipboard').click();
         cy.window().then((win) => (
             win.navigator.clipboard.readText().then((text) => {
-                expect(text).to.match(/https\:\/\/localhost\:[0-9]+\/projects\/[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{15}/,);
+                expect(text).to.match(/https\:\/\/127\.0\.0\.1\:[0-9]+\/projects\/[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{15}/,);
             })
         ));