Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer able to import iAssertion context from flagpole #213

Open
kbabcock1 opened this issue Jan 17, 2022 · 0 comments
Open

No longer able to import iAssertion context from flagpole #213

kbabcock1 opened this issue Jan 17, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@kbabcock1
Copy link
Collaborator

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 kbabcock1 added the bug Something isn't working label Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant