vividus icon indicating copy to clipboard operation
vividus copied to clipboard

Introduce step' availability on the platform checking mechanism

Open ikalinin1 opened this issue 4 years ago • 1 comments

We can introduce platform availability checking step monitor similar code https://github.com/vividus-framework/vividus/blob/master/vividus-plugin-mobile-app/src/main/java/org/vividus/bdd/mobileapp/steps/ElementSteps.java#L56 cc @valfirst @uarlouski

@SupportedOn(platform="ios", errorMessage= "Profiling is supported only on ios")

Originally posted by @ikalinin1 in https://github.com/vividus-framework/vividus/pull/1988#r713732196

ikalinin1 avatar Sep 23 '21 14:09 ikalinin1

sidenote Even if we close the platform availability checking at step level, it's still will be possible to use the underlying API used by platform specific steps outside of those steps due to lack of platform check

uarlouski avatar Nov 30 '21 11:11 uarlouski