-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotes
More file actions
23 lines (17 loc) · 682 Bytes
/
notes
File metadata and controls
23 lines (17 loc) · 682 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Cypress and Seleniu
- Cypress use only JS an jquery
- can run on chrome, ff, edge and electron
- it is easy to run headless test execution
- it is easy to get screen shot and videos
- it is easy to debug
- Caypress help us to find locators easyly
- Cypress wait 4 seconds dynamically by defaults
- this wait will apply if needed.
get, find within
-We should try get() to find element first
-if this fails to locate the element (it can be not visible, not unique) then try find()
-if this not work try within()
-- to skipp the test it.skip
-cypress automatically accepts alert when you click on it
-we don't see the pop up alert window
-- to ru the cypress test using terminal