chore(inputs): ✅ Add Button targets e2e tests
This commit is contained in:
@ -12,6 +12,12 @@ Cypress.Commands.add('signIn', (email: string) => {
|
||||
})
|
||||
})
|
||||
|
||||
Cypress.Commands.add('loadTypebotFixtureInDatabase', (path: string) => {
|
||||
return cy.fixture(path).then((typebot) => {
|
||||
cy.task('loadRawTypebotInDatabase', typebot)
|
||||
})
|
||||
})
|
||||
|
||||
Cypress.Commands.add(
|
||||
'mouseMoveBy',
|
||||
{
|
||||
|
@ -20,6 +20,7 @@ declare global {
|
||||
interface Chainable {
|
||||
signOut(): Chainable<any>
|
||||
signIn(email: string): Chainable<any>
|
||||
loadTypebotFixtureInDatabase(path: string): Chainable<any>
|
||||
mouseMoveBy(
|
||||
x: number,
|
||||
y: number,
|
||||
|
Reference in New Issue
Block a user