mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
12 lines
311 B
JavaScript
12 lines
311 B
JavaScript
import { When, Then } from 'cypress-cucumber-preprocessor/steps'
|
|
|
|
When('I search for a specific word', () => {
|
|
cy.get('#nav-search').type('Essays')
|
|
})
|
|
|
|
Then('I should see posts with that word included', () => {
|
|
cy.get('.ds-card-header:first').then(() => {
|
|
cy.title().should('include', 'Essays')
|
|
})
|
|
})
|