checkbox_test.js 287 B

1234567891011
  1. var assert = require('assert');
  2. var value = '';
  3. Feature('checkbox');
  4. Scenario('should be disabled if "readonly" is specified', async (I) => {
  5. I.amOnPage('read-only.html');
  6. value = await I.grabAttributeFrom('[name="root[checkbox]"]', 'disabled');
  7. assert.equal(value, 'true');
  8. });