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.4.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.3.0.pre.alpha2 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.3.0.pre.alpha1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.3.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.2.7 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.2.6 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.2.5 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.2.4 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.2.4.pre.alpha1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.2.3 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.2.2 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.2.1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.2.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.1.2 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.1.2.pre.alpha1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.1.1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.1.1.pre.alpha1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.1.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.0.1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-11.0.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx