1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Cypress Command Retry

Last updated at Posted at 2019-11-24

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
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?