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();
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")
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
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")
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
In ES2015 (ES6), we can use template literals instead of string concatenation.
var str = `Hello, ${name}!`;
var str = "Hello, " + name + "!";
var str = "Time: " + (12 * 60 * 60 * 1000);
var str = "Hello World!";
var str = `Hello, ${name}!`;
var str = `Time: ${12 * 60 * 60 * 1000}`;
var str = "Hello, " + "World!";