You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I want to tests screen with pagination. There are some tests that are identical for each first page. And for second all tests are unique.
I decided to put all tests for first page in collection.bru. It works perfect, but I they also run for second page. I tried to do something like: if (firstPage) { return } else { runTest }
It works, but in tests report there are a lot of useless green tests.
Is it possible not to run tests from collection.bru by some condition?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I want to tests screen with pagination. There are some tests that are identical for each first page. And for second all tests are unique.
I decided to put all tests for first page in collection.bru. It works perfect, but I they also run for second page. I tried to do something like:
if (firstPage) { return } else { runTest }
It works, but in tests report there are a lot of useless green tests.
Is it possible not to run tests from collection.bru by some condition?
Beta Was this translation helpful? Give feedback.
All reactions