Skip to content

Conversation

@Kcheung42
Copy link
Collaborator

Purpose

  1. Update cucumber step files to process new syntax for feature files
  2. Add new feature files

NOTE: this suite of new tests covers all instances with 100% test coverage of:

  • selected output ensures display of input
  • selected input ensures display of another input
  • input is not displayed if output is not selected

Tests have been tagged with either @core or @Extended

@Extended tests significantly increases the run time of the test suite (~3hrs). These tests are all related to picking an input from a large drop down (i.e. fuel model code, mortality tree species, etc)
@core tests take ~30 min

Other conditionals not covered

  1. actions setting default values
  2. actions disable/enable

Related Issues

Closes BHP1-1454

Submission Checklist

  • Included Jira issue in the PR title (e.g. BHP1-### <title>)
  • Code passes linter rules (clj-kondo --lint components/**/src bases/**/src projects/**/src)
  • Feature(s) work when compiled (clojure -M:compile-cljs)

Testing

  1. Open google chrome in headless mode
  2. start local App
  3. In clj repl run this form:. NOTE This tests only features and scenarios tagged as core
(time
   (run-cucumber-tests
    {:debug?   false
     :headless? true
     :features "features"
     :steps    "steps"
     :stop     true
     :query-string '(and "core" (not "extended"))
     :browser  :chrome
     :url      "http://localhost:8081/worksheets"}))

Screenshots

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants