P
Первый ответ в гугле
javascript scroll
Size: a a a
P
javascript scroll
VZ
it("should enter test data into fields and check them"),
() => {
browser.waitForAngular();
browser.get("http://127.0.0.1:5500/hero/indes.html");
expect(browser.getCurrentUrl()).toBe(
"http://127.0.0.1:5500/hero/indes.html"
);
// Enter data into the fields
emailField.sendKeys("Just testing");
passwordField.sendKeys("Just testing");
//Verify entered data
expect(loginLabel.getText()).toEqual("Welcome. Please, LogIn");
emailField.getAttribute("value").toEqual("Just testing");
browser.sleep(5000);
};
AN
it("should enter test data into fields and check them")
and then () => {...}
, but it should be it("should enter test data into fields and check them", () => {...})
: it("should enter test data into fields and check them",
() => {
browser.waitForAngular();
browser.get("http://127.0.0.1:5500/hero/indes.html");
expect(browser.getCurrentUrl()).toBe(
"http://127.0.0.1:5500/hero/indes.html"
);
// Enter data into the fields
emailField.sendKeys("Just testing");
passwordField.sendKeys("Just testing");
//Verify entered data
expect(loginLabel.getText()).toEqual("Welcome. Please, LogIn");
emailField.getAttribute("value").toEqual("Just testing");
browser.sleep(5000);
});
VZ
НП
P
AP
ДS
VS
A
G
R
R
S
JD
R
Н
R
JD