Update README.md

master
helena 4 years ago committed by GitHub
parent 703f086483
commit f0cd6903ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -43,9 +43,9 @@ Selectors are located in `cypress/selectors` folder [only difference from cypres
## :grey_question: Q&A ## :grey_question: Q&A
1. Why mobile view is in config and not in test (like cy.viewport())? 1. Why mobile view is in config and not in test (like cy.viewport())?
- we can't change userAgent in the middle of the test: - we can't change userAgent in the middle of the test:
https://github.com/cypress-io/cypress/issues/2100 https://github.com/cypress-io/cypress/issues/2100
So it seems more correct to launch the tests with the correct config (--env device=mob/web) So it seems more correct to launch the tests with the correct config (--env device=mob/web)
## :link: Links ## :link: Links

Loading…
Cancel
Save