Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

BigTest interactors for applications using Material UI react components

Notifications You must be signed in to change notification settings

thefrontside/material-ui-interactors

Repository files navigation

material-ui-interactors

The collection of interactors for basic Material-UI components. Simplifies your tests by providing a nice and powerful API to emulate user interactions and make short and elegant assertions.

Usage

import { test } from "bigtest";
import { Button, DateField, Popover, Select, Slider, TextField } from "material-ui-interactors";

test("SignUp")
  .step(TextField("Username").fillIn("JohnDow"))
  .step(TextField("Password").fillIn("VeryStrongPassword"))
  .step(TextField("Repeat password").fillIn("VeryStrongPassword"))
  .step(Select("Gender").choose("Male"))
  .step(DateField("Date of birth").fillIn("1990-03-17"))
  .step(Slider("Your satisfaction").setValue(10))
  .step(Button("Submit").click())
  .assertion(Popover("Registration successful").exists());

About

BigTest interactors for applications using Material UI react components

Resources

Code of conduct

Stars

Watchers

Forks

Languages