A Typesafe page object framework, suitable for e2e testing Angular/React apps
Xenon is written in typescript and any components you write in typescript can be benefit from code completion and showing compile errors when components change over time. Xenon also has a powerful list generics which allow you to write a page object for a single row/element and apply to multiple instances of that element like those commonly found in list + table UI's.
Xenon helps by reducing the amount of duplicated code within E2Es and means that if the UI changes, the fix need only to be applied to one place. Xenon components can be shipped and versioned with your component making it easy for others to use and rely on in their E2E tests.
If you find difficulty maintaining your e2e tests when making simple changes to your component, Xenon may help.
Can be thought of as a page object framework. See page object design pattern.
Protractor is an end to end test framework for AngularJS applications and maintained by the angular team. It has great community backing and support from Google. The community also uses it for React applications and we have written E2E's for React apps ( Searchkit E2E ) with xenon and protractor.
To get started with xenon, you can simply install it with npm:
npm install --save-dev xenon
We rely on
;describe"Chat App features",
Why did we make this?
xenon keeps our E2E's sane and enjoyable to write! Transportable components! Built by teneleven.