ember-forge / ember-forge-ui

Ember.js UI Components that are independent of any specific CSS framework
MIT License
1 stars 2 forks source link

Create test suites #108

Open notmessenger opened 8 years ago

notmessenger commented 8 years ago

For the didInsertElement() logic:

{{#ef-form
  data=theProperties
  as |f|
}}
  {{#f.fieldset}}
    {{f.label label="test1 - should not"}}
  {{/f.fieldset}}

  {{#f.fieldset}}
    Test 2 - should not
    {{f.input}}
  {{/f.fieldset}}

  {{#f.fieldset}}
    {{f.label label="test3 - should"}}
    {{f.input}}
  {{/f.fieldset}}

  {{#f.fieldset}}
    {{f.label label="test4 - should"}}
    {{f.input elementId="test4"}}
  {{/f.fieldset}}

  {{#f.fieldset}}
    {{f.label for="test5" label="test5 - should not"}}
    {{f.input elementId="test5"}}
  {{/f.fieldset}}

  {{#f.fieldset}}
    {{f.label for="test5" label="test6 - should not"}}
    {{f.input}}
  {{/f.fieldset}}

  {{#f.fieldset}}
    {{#f.label}}
      Test 7 - should not {{f.input}}
    {{/f.label}}
  {{/f.fieldset}}

  {{#f.fieldset}}
    Test 8 - should not
    {{f.input}}
    {{f.input}}
  {{/f.fieldset}}

  {{#f.fieldset}}
    {{f.label label="test9 - should"}}
<p></p>
    <output>a</output>
    <select></select>
    <button>b</button>
    <textarea></textarea>
    <input type="text">
    <input id="b" type="hidden">
    <input id="c" type="checkbox">
    <meter></meter>
    <progress></progress>

  {{/f.fieldset}}

{{/ef-form}}