Skip to content

Commit 8aa1827

Browse files
committed
✅ Test login page on different screen sizes
1 parent eb04e43 commit 8aa1827

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

cypress/integration/pages/Login/index.test.js renamed to cypress/integration/pages/Login/form_validation.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
describe("Page Login", function() {
1+
describe("Login form validation", function() {
22
let $emailField, $passwordField, $submitButton;
33

44
before(function() {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
describe("Login page in different screen sizes", function() {
2+
it("Open page on Desktop", function() {
3+
cy.visit("/auth/login");
4+
});
5+
6+
it("Open page on Mobile", function() {
7+
cy.visit("/auth/login");
8+
cy.viewport("iphone-5");
9+
});
10+
11+
it("Open page on TV 4K", function() {
12+
cy.visit("/auth/login");
13+
cy.viewport(3840, 2160);
14+
});
15+
});

0 commit comments

Comments
 (0)