Sha256: 0b1ef77f9d396dbe3e62dd35498e7e44d22688a147e915a13ec9f51c91a6df03

Contents?: true

Size: 555 Bytes

Versions: 115

Compression:

Stored size: 555 Bytes

Contents

import React from 'react'
import { render, screen } from '../utilities/test-utils'
import { Dialog } from '../'

/* eslint-disable jsx-control-statements/jsx-jcs-no-undef */

/* See these resources for more testing info:
  - https://github.com/testing-library/jest-dom#usage for useage and examples
  - https://jestjs.io/docs/en/using-matchers
*/

test('Kit renders Dialog', () => {
  const testId = 'test1'

  render(
    <Dialog
        data={{ testid: testId }}
    />
  )

  const kit = screen.getByTestId(testId)
  expect(kit).toBeInTheDocument()
})

Version data entries

115 entries across 115 versions & 1 rubygems

Version Path
playbook_ui-11.0.0.pre.alpha.2 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.0.0.pre.alpha.1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.26.1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.27.0.pre.lazysizes1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.27.0.pre.datepicker1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.26.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.26.0.pre.alpha5 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.26.0.pre.rc1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.26.0.pre.alpha.sticky1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.26.0.pre.alpha.display1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.26.0.pre.alpha3 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.25.1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.26.0.pre.alpha1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.25.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.25.0.pre.alpha3 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.25.0.pre.treeshaking1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.24.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.24.0.pre.alpha1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.23.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.23.0.pre.alpha2 app/pb_kits/playbook/pb_dialog/dialog.test.jsx