Skip to content

Is it possible to make "event.all.before" callback async? #3583

Closed Answered by adudyak
Nikoms asked this question in Q&A
Discussion options

You must be logged in to vote

Does BeforeSuite work for you? Put your function in it.

BeforeSuite(async ({ I }) => {
  await I.syncDown('testfolder');
});

https://codecept.io/parallel/#parallel-execution-by-workers-on-multiple-browsers

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Nikoms
Comment options

@adudyak
Comment options

@myrepojuly1987
Comment options

Answer selected by Nikoms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants