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-10.6.1.pre.alpha1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.6.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.5.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.4.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.3.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.2.1.alpha.sisensefix app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.2.1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.2.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.1.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.0.3.pre.alpha.walkthrough2 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.0.3.pre.alpha.walkthrough app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.0.1.alpha.railscusticon app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.0.2.pre.alpha.pre.iconfix app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.0.1.alpha.rtflexfix app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.0.0.pre.alphafonts app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.0.1 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-10.0.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-9.19.0.pre.alpha.pre.fonts2 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-9.19.0 app/pb_kits/playbook/pb_dialog/dialog.test.jsx
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_dialog/dialog.test.jsx