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

Browser test suite #458

Merged
merged 7 commits into from
Dec 30, 2018
Merged

Browser test suite #458

merged 7 commits into from
Dec 30, 2018

Conversation

n1474335
Copy link
Member

This PR introduces a set of basic UI tests to confirm that the web app loads correctly (in a reasonable timeframe) and that a selection of operations from each module can be run.

It uses Nightwatch.js to automate a number of basic interactions. Currently only the latest version of Chrome is tested against.

These tests will be run as a continuous integration task on TravisCI so should flag up breaking changes.

The tests can be run manually using the following commands:

  • If you have already built a production version using grunt prod, you can use grunt testui. This will create a webserver in the build/prod directory and run tests against index.html (module-based version) and cyberchef.htm (inline, standalone version).
  • If you are currently running the dev server (using grunt dev), you can run tests against it using npx nightwatch.

@n1474335 n1474335 self-assigned this Dec 29, 2018
@n1474335 n1474335 merged commit 71e0a4e into master Dec 30, 2018
@n1474335 n1474335 deleted the feature-browser-testsuite branch December 30, 2018 01:10
BRAVO68WEB pushed a commit to BRAVO68WEB/CyberChef that referenced this pull request May 29, 2022
BRAVO68WEB pushed a commit to BRAVO68WEB/CyberChef that referenced this pull request May 29, 2022
docs:fix theming title and themes' count
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant