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
I have a page which needs to be launched with a query string that's generated after a sendPostRequest call.
-----pages----
async goToPage(){
const pageId= await I.sendPostRequest(url);
I.amOnPage(/details?id=${pageId});
}
I am calling this method in my step file.
The issue that am facing is, the page that's generated in report is blank, even if I call a static page it's blank. But if I remove the async, await then I can see the page in report generated.
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 have a page which needs to be launched with a query string that's generated after a sendPostRequest call.
-----pages----
async goToPage(){
const pageId= await I.sendPostRequest(url);
I.amOnPage(
/details?id=${pageId}
);}
I am calling this method in my step file.
The issue that am facing is, the page that's generated in report is blank, even if I call a static page it's blank. But if I remove the async, await then I can see the page in report generated.
Please assist on the same.
Beta Was this translation helpful? Give feedback.
All reactions