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

Scripted Testing #18

Open
jameshopkins opened this issue Oct 27, 2016 · 0 comments
Open

Scripted Testing #18

jameshopkins opened this issue Oct 27, 2016 · 0 comments

Comments

@jameshopkins
Copy link
Collaborator

Whilst it's relatively straightforward capturing metrics from a stateless page, it's conceptually trickier capturing the same metrics from a stateful application (i.e an SPA). This is because a certain state representation is required in order for the appropriate UI to be rendered, so that the test can be carried out.

This can be achieved by either using:

  • an application API (if it's exposed to the browser) that we can call directly through some sort of interface in WebAppTest. In which case, we'd need some sort of eval mechanism.
  • or by either carrying out a realistic user journey in a programmatic way, or an interstitial UI that makes these API calls itself.

Trying to execute such a sequenced flow in a programmatic way, is incredibly tricky.

Any conventional 'web driver' that offers a waitOn API are non-deterministic by their very nature. Cypress looks like something we should look at when it's released, given it's use of promises

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant