Retryについて
「Not every command is retried 」とあったので調べてみた
結果
以下の結果から
概ねretry(or wait)されると思っていてよいのではないでしょうか
Command
API | Retry(Wait) | Link |
---|---|---|
and | - | link |
as | .as() is a utility command. | link |
blur | 〇 | link |
check | 〇 | link |
children | 〇 | link |
clear | 〇 | link |
clearCookie | - | link |
clearCookies | - | link |
clearLocalStorage | - | link |
click | 〇 | link |
clock | cy.clock() is a utility command. | link |
closest | 〇 | link |
contains | 〇 | link |
dblclick | 〇 | link |
debug | .debug() is a utility command. | link |
document | 〇 | link |
each | .each() will only run assertions you've chained once | link |
end | - | link |
eq | 〇 | link |
exec | cy.exec() will only run assertions you've chained once | link |
filter | 〇 | link |
find | 〇 | link |
first | 〇 | link |
fixture | cy.fixture() will only run assertions you've chained once | link |
focus | 〇 | link |
focused | 〇 | link |
get | 〇 | link |
getCookie | cy.getCookie() will only run assertions you've chained once, | link |
getCookies | cy.getCookies() will only run assertions you've chained once | link |
go | 〇 | link |
hash | 〇 | link |
invoke | 〇 | link |
its | 〇 | link |
last | 〇 | link |
location | 〇 | link |
log | - | link |
next | 〇 | link |
nextAll | 〇 | link |
nextUntil | 〇 | link |
not | 〇 | link |
parent | 〇 | link |
parents | 〇 | link |
parentsUntil | 〇 | link |
pause | .pause() is a utility command. | link |
prev | 〇 | link |
prevAll | 〇 | link |
prevUntil | 〇 | link |
readFile | 〇 | link |
reload | 〇 cy.reload() will automatically wait | link |
request | cy.request() will only run assertions you've chained once | link |
rightclick | 〇 .rightclick() will automatically wait | link |
root | 〇 | link |
route | - | link |
screenshot | cy.screenshot() will only run assertions you've chained once | link |
scrollIntoView | 〇 .scrollIntoView() will automatically wait | link |
scrollTo | - | link |
select | 〇 .select() will automatically wait | link |
server | - | link |
setCookie | cy.setCookie() will only run assertions you've chained once | link |
should | 〇 .should() will continue to retry its specified assertions until it times out. | link |
siblings | 〇 | link |
spread | .spread() will only run assertions you've chained once, | link |
spy | - | link |
stub | - | link |
submit | 〇 .submit() will automatically wait for assertions | link |
task | cy.task() will only run assertions you've chained once | link |
then | .then() will only run assertions you've chained once | link |
tick | cy.tick() is a utility command. | link |
title | 〇 | link |
trigger | 〇 .trigger() will automatically wait | link |
type | 〇 .type() will automatically wait | link |
uncheck | 〇 .uncheck() will automatically wait | link |
url | 〇 | link |
viewport | - | link |
visit | 〇 cy.visit() will automatically wait | link |
wait | cy.wait() will only run assertions you've chained once, | link |
window | 〇 | link |
within | .within() will only run assertions you've chained once, | link |
wrap | 〇 | link |
writeFile | cy.writeFile() will only run assertions you've chained once, | link |