Handvask / handvask

Require template literals instead of string concatenation JS-0246
Anti-pattern
Minor
a year agoa year old
Unexpected string concatenation.
931      .children("div")
932      .get("table")
933      .children("tbody")
934      .should("contain", "test_frontend" + random_int);935
936    // Check that you can update vCPU
937    cy.get("#max_cpu").last();
Unexpected string concatenation.
689    // Log in
690    cy.get("#userInput").type("test_frontend" + random_int);
691
692    cy.get("#passwordInput").type("test_frontend" + random_int);693
694    cy.get("#__next")
695      .children("div")
Unexpected string concatenation.
687    cy.visit(base_url);
688
689    // Log in
690    cy.get("#userInput").type("test_frontend" + random_int);691
692    cy.get("#passwordInput").type("test_frontend" + random_int);
693
Unexpected string concatenation.
496    // Log in
497    cy.get("#userInput").type("test_frontend" + random_int);
498
499    cy.get("#passwordInput").type("test_frontend" + random_int);500
501    cy.get("#__next")
502      .children("div")
Unexpected string concatenation.
494    cy.visit(base_url);
495
496    // Log in
497    cy.get("#userInput").type("test_frontend" + random_int);498
499    cy.get("#passwordInput").type("test_frontend" + random_int);
500