Skip to content

build(backend): Update testcontainers dep #59

build(backend): Update testcontainers dep

build(backend): Update testcontainers dep #59

GitHub Actions / JEST Tests succeeded May 26, 2024 in 0s

29 passed, 0 failed and 0 skipped

Tests passed successfully

✅ junit.xml

29 tests were completed in 10s with 29 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
<Header /> 2✅ 635ms
<ProfileDataTable /> 7✅ 3s
<ProfileNav /> 8✅ 1s
<Profiles /> 2✅ 2s
<Sidebar /> 3✅ 610ms
<SideNav /> 3✅ 576ms
<TestCredentialsButton /> 2✅ 505ms
<ThemeToggle /> 2✅ 698ms

✅ <Header />

<Header /> should render the Header component without crashing
  ✅ <Header /> should render the Header component without crashing
<Header /> should render the MobileSidebar component within the Header component
  ✅ <Header /> should render the MobileSidebar component within the Header component

✅ <ProfileDataTable />

<ProfileDataTable /> should render profile data table with profile set data
  ✅ <ProfileDataTable /> should render profile data table with profile set data
<ProfileDataTable /> should select all rows when the "Select All" checkbox is clicked
  ✅ <ProfileDataTable /> should select all rows when the "Select All" checkbox is clicked
<ProfileDataTable /> given "Select All" checkbox is already checked then should unselect all rows when the "Select All" checkbox is clicked again
  ✅ <ProfileDataTable /> given "Select All" checkbox is already checked then should unselect all rows when the "Select All" checkbox is clicked again
<ProfileDataTable /> should select row 1 when the "Select row 1" checkbox is clicked
  ✅ <ProfileDataTable /> should select row 1 when the "Select row 1" checkbox is clicked
<ProfileDataTable /> given row 1 is checkbox is already selected then should unselect row 1 when the "Select row 1" checkbox is clicked again
  ✅ <ProfileDataTable /> given row 1 is checkbox is already selected then should unselect row 1 when the "Select row 1" checkbox is clicked again
<ProfileDataTable /> should filter row by region when the "Region" filter is changed
  ✅ <ProfileDataTable /> should filter row by region when the "Region" filter is changed
<ProfileDataTable /> should filter row by output format when the "Output Format" filter is changed
  ✅ <ProfileDataTable /> should filter row by output format when the "Output Format" filter is changed

✅ <ProfileNav />

<ProfileNav /> should render the component without error when in loading state
  ✅ <ProfileNav /> should render the component without error when in loading state
<ProfileNav /> should expand profile nav when dropdown is clicked
  ✅ <ProfileNav /> should expand profile nav when dropdown is clicked
<ProfileNav /> should render chevron down icon in trigger button when profile nav is closed and additional profiles are available
  ✅ <ProfileNav /> should render chevron down icon in trigger button when profile nav is closed and additional profiles are available
<ProfileNav /> should render chevron up icon in trigger button when profile nav is open and additional profiles are available
  ✅ <ProfileNav /> should render chevron up icon in trigger button when profile nav is open and additional profiles are available
<ProfileNav /> should not render chevron icon when no additional profiles are available
  ✅ <ProfileNav /> should not render chevron icon when no additional profiles are available
<ProfileNav /> should render placeholder values for region and format label in profile nav trigger when these optional values are not set
  ✅ <ProfileNav /> should render placeholder values for region and format label in profile nav trigger when these optional values are not set
<ProfileNav /> should render placeholder values for region and format label in profile nav item when these optional values are not set
  ✅ <ProfileNav /> should render placeholder values for region and format label in profile nav item when these optional values are not set
<ProfileNav /> should select clicked profile as current when profile nav item is clicked
  ✅ <ProfileNav /> should select clicked profile as current when profile nav item is clicked

✅ <Profiles />

<Profiles /> should render loading state
  ✅ <Profiles /> should render loading state
<Profiles /> should render error state
  ✅ <Profiles /> should render error state

✅ <Sidebar />

<Sidebar /> should render Sidebar without throwing an error
  ✅ <Sidebar /> should render Sidebar without throwing an error
<Sidebar /> given sidebar is closed when the toggle button is clicked then should toggle to open 
  ✅ <Sidebar /> given sidebar is closed when the toggle button is clicked then should toggle to open
<Sidebar /> should apply transition to nav when the toggle button is clicked
  ✅ <Sidebar /> should apply transition to nav when the toggle button is clicked

✅ <SideNav />

<SideNav /> should render with passed nav items
  ✅ <SideNav /> should render with passed nav items
<SideNav /> should trigger setOpen on nav item click
  ✅ <SideNav /> should trigger setOpen on nav item click
<SideNav /> should display muted title text when current path equals nav item href
  ✅ <SideNav /> should display muted title text when current path equals nav item href

✅ <TestCredentialsButton />

<TestCredentialsButton /> should render shield alert icon when profile credentials are invalid
  ✅ <TestCredentialsButton /> should render shield alert icon when profile credentials are invalid
<TestCredentialsButton /> should render shield check icon when profile credentials are valid
  ✅ <TestCredentialsButton /> should render shield check icon when profile credentials are valid

✅ <ThemeToggle />

<ThemeToggle /> should toggle theme from light to dark
  ✅ <ThemeToggle /> should toggle theme from light to dark
<ThemeToggle /> should toggle theme from dark to light
  ✅ <ThemeToggle /> should toggle theme from dark to light