Replies: 3 comments 2 replies
-
Thanks @mahadazad for your collaboration. Although this is just a workaround, I hope we'll get a proper solution to this problem very soon.
// e2e.ts file
import './commands'
// @ts-ignore
import registerCypressGrep from '@cypress/grep'
registerCypressGrep()
|
Beta Was this translation helpful? Give feedback.
-
Hi @Zujaj : I tried the same steps suggested by you and getting below error and all the specs are getting executed: Execution report: Can you please assist? |
Beta Was this translation helpful? Give feedback.
-
Error message: |
Beta Was this translation helpful? Give feedback.
-
Thanks @bahmutov for creating the @cypress-grep plugin. It's really cool and awesome, I saw the videos and appreciate your efforts. Here's the scenario:
Cypress Version
11.0.1
Node Version
16.16.0
Package Manager
Yarn version 1.22.19
Operating System
Windows 10 Pro Version 21H2
I've created a cypress_grep_test_project to practice this plugin(version ^3.1.0) and used the sample spec files that Cypress provides during the first-time configuration. Just changed some files from "cy.js" to "cy.ts." I aim to use this plugin and test it out for Continuous Integration.
According to the Cypress docs, the plugins folder no longer exists. Following the current documentation of the plugin, the
registerCypressGrep
method isn't available anymore.I've added the
@cypress/grep
to thets.config
file.In the
todo.cy.ts
file, I inserted the{ tags: 'smoke' }
to thedescribe
block as shown in below snippet.Now I don't know what to do next, can you please help me with this?
Beta Was this translation helpful? Give feedback.
All reactions