flagpole icon indicating copy to clipboard operation
flagpole copied to clipboard

No longer able to import iAssertion context from flagpole

Open kbabcock1 opened this issue 3 years ago • 0 comments

import { iAssertionContext } from "flagpole";

no longer works. This causes issues when calling a function from a template like so: This is an AppiumScenario Example export const mainPageClickThrough = () => { return async (context: iAssertionContext) => { .... } }

This makes it impossible for me to call this function in a template next like this: 'Main Page click through': mainPageClickThrough()

This means to use the function I have to call it like: 'Main Page click through': async (context) => { await mainPageClickThrough(context) }

This bug is breaking some current tests.

kbabcock1 avatar Jan 17 '22 22:01 kbabcock1