{"library":"drupal-test-session-cypress","type":"library","category":null,"description":"This package, `drupal-test-session-cypress` (current version 1.1.66), provides Cypress commands that streamline interaction with Drupal's Test Session module. Its primary function is to extend the Cypress API with `cy.drupalSession()`, enabling testers to easily manage Drupal user sessions and state directly within their end-to-end tests. This abstraction simplifies common testing scenarios like logging in users, asserting permissions, and resetting session data, which otherwise would require complex custom commands or direct API calls to the Drupal backend. The package is typically installed as a development dependency and integrates by requiring it within Cypress's `support/index.js` (or `.ts`) file, making its commands globally available to Cypress tests. It offers a focused solution for projects leveraging Drupal and Cypress, differentiating itself by tightly coupling with the specific Drupal module. The Drupal Test Session module itself is marked as 'minimally maintained' and 'feature-complete' on Drupal.org, and this Cypress wrapper aligns with that stability.","language":"javascript","status":"active","version":"1.1.66","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install drupal-test-session-cypress","imports":["require('drupal-test-session-cypress');","Cypress.env('DRUPAL_BASE_URL')"]},{"cmd":"yarn add drupal-test-session-cypress","imports":[]},{"cmd":"pnpm add drupal-test-session-cypress","imports":[]}],"homepage":null,"github":"https://github.com/AmazeeLabs/silverback-mono","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/drupal-test-session-cypress","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/drupal-test-session-cypress/compatibility"}}