I'm trying to use TestCafe running BDD test against the Angular app.
And we got an account page like:
http://localhost:8080/main#/account
In the testing steps, we have
- When User go to the account page
- Then User waited for 20 seconds in the page
- Then User go to the account page
in the 1st and 3rd step, we implemented using TestCafe
await t.navigateTo(http://localhost:8080/main#/account);
As the hashtag is not triggering a page reload, so no server call/api call would happen, as I'm testing session related feature, expecting some reload/hard refresh happening here.
Anyone come across similar requirements?