-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: added glue code for dismissing an app #284
base: deepLinkImplementation
Are you sure you want to change the base?
feat: added glue code for dismissing an app #284
Conversation
Invalid PR title. It must start with feat: or fix: or BREAKING CHANGE: or feat(): or fix(): or BREAKING CHANGE():. Please see our Contributing-Guide. |
Issue with linting detected.
For more information on our linting policies, please see our Linting-Guide. |
methods: { | ||
'lifecycle.close': [], | ||
}, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what happens for badger here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are we hardcoding the content object/validation objects in FCS ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to fixtures
// Reading the pattern content from the runtime environment variable | ||
const value = runtimeEnv[pattern] !== undefined ? runtimeEnv[pattern] : match; | ||
return functionName && functions[functionName] ? functions[functionName](value) : value; | ||
// If the input contains '->', Consdering it as an object path and extracting the value from the object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would something like
resolveAtRuntime('some {{object -> value.uppercaseFirstChar}}')
be handled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking the order of operations should be check to see if there is a function in the pattern. Apply that function after we have handled any object extraction.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
handled in deeplink PR
Build error occurred while running sample test with the following errors:
For more information on our testing policies, please see our Testing-Guide. |
Issue with linting detected.
For more information on our linting policies, please see our Linting-Guide. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, but waiting to approve until deeplink has been merged
) { | ||
fireLog.info( | ||
`State validation successful: Current state of ${appId} app is ${responseString} as expected` | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 453 is not correct. we are not getting any app state and we are not validating app state here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the logs
const responseString = JSON.stringify(response); | ||
if ( | ||
// Check if response exists and contains appState, visibilityState | ||
// and if appState is INACTIVE and visibilityState is VISIBLE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
give a generic comment on line 435. what is visibility state ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
No description provided.