[ARVADOS-WORKBENCH2] updated: 1.4.1-396-g90460e90

Git user git at public.arvados.org
Sat Jul 11 16:43:41 UTC 2020


Summary of changes:
 src/views/not-found-panel/not-found-panel-root.test.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  90460e90dfb2ac4863b133bc477098252f677fea (commit)
      from  56c9663bbdb3f4b86a499f736f1663e20d64a959 (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 90460e90dfb2ac4863b133bc477098252f677fea
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date:   Sat Jul 11 18:43:14 2020 +0200

    14990: failing test fix
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>

diff --git a/src/views/not-found-panel/not-found-panel-root.test.tsx b/src/views/not-found-panel/not-found-panel-root.test.tsx
index 1d84a662..e4178a53 100644
--- a/src/views/not-found-panel/not-found-panel-root.test.tsx
+++ b/src/views/not-found-panel/not-found-panel-root.test.tsx
@@ -33,7 +33,7 @@ describe('NotFoundPanelRoot', () => {
 
     it('should render component', () => {
         // given
-        const expectedMessage = 'The page you requested was not found, email us us if you suspect this is a bug.';
+        const expectedMessage = "The page you requested was not found";
 
         // when
         const wrapper = mount(
@@ -43,7 +43,7 @@ describe('NotFoundPanelRoot', () => {
             );
 
         // then
-        expect(wrapper.find('p').text()).toEqual(expectedMessage);
+        expect(wrapper.find('p').text()).toContain(expectedMessage);
     });
 
     it('should render component with additional message', () => {

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list