In Cypress, I have this testing code:
describe('In Viewport LARGE 1366', function() {
it('Google', function() {
//cy.visit('/');
cy.log(Cypress.config().baseUrl);
});
});
Cypress configuration is:
{
"baseUrl": "https://www.google.com",
"viewportWidth": 1300,
"viewportHeight": 660
}
Cypress version: 3.6
When I run the test, Cypress.config().baseUrl is localhost:1313 not google site as I mention in cypress.json
What is the problem ?
PS: with cy.visit('/'); I have the same problem - it points to http://localhost:1313