Hello , does anyone has faced this problem, I have...
# e2e-testing
a
Hello , does anyone has faced this problem, I have a class with all my elements ( clases , locators ets) and actions (like click , find etc..)
Copy code
import { BasePage } from './basePage';

export class xdInteriorInspection extends BasePage {
    // Element getters
    confirmFuel(): Cypress.Chainable<JQuery<HTMLElement>> {
        return cy.contains('.jss2', "Confirm");
    }

    continueButton(): Cypress.Chainable<JQuery<HTMLElement>> {
        return cy.get('.jss26 > .jss16 > .MuiButtonBase-root');
    }

    // Interior damage confirmation
    clickConfirmFuel() {
        this.confirmFuel().click({ force: true });
    }

    clickContinueButton() {
        this.continueButton().click({ force: true });
    }
}
when I try to execute a click , it does nothing , I call it like this: interiorInspection.confirmFuel();