multiselect_test.js 339 B

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