Easy UI testing with Cypress

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • step

    An async control-flow library that makes stepping through logic easy.

  • import { When, Then, Given } from '@badeball/cypress-cucumber-preprocessor'; Given(`I've opened the npm.com`, () => { cy.visit('https://www.npmjs.com/'); cy.intercept('GET', 'https://www.npmjs.com/search/suggestions?q=step', [ { name: 'step', scope: 'unscoped', version: '1.0.0', description: 'Test', date: '2017-01-06T21:16:57.341Z', links: { npm: 'https://www.npmjs.com/package/step' }, author: { name: 'John Smith', email: '[email protected]', username: 'test' }, publisher: { username: 'test', email: '[email protected]' }, maintainers: [{ username: '[email protected]', email: '[email protected]' }], }, ]).as('getResults'); }); When('I typed a phrase in the search field', () => { cy.get('input[name="q"]').type('step'); }); Then('I should see the results in the dropdown menu', () => { cy.wait('@getResults'); cy.get('ul[role="listbox"] li').should('have.length', 1).should('have.text', 'stepTest1.0.0'); });

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts