1
0
mirror of https://github.com/storybookjs/storybook.git synced 2025-03-21 05:02:39 +08:00
Norbert de Langen 341fc2d90d
FIX linting
2020-03-27 20:04:50 +01:00

16 lines
444 B
TypeScript

import { clickAddon, visitExample } from '../helper';
describe('Knobs', () => {
beforeEach(() => {
visitExample('official-storybook', '?path=/story/addons-knobs-withknobs--tweaks-static-values');
});
it('[text] it should change a string value', () => {
clickAddon('Knobs');
cy.get('#Name').clear().type('John Doe');
cy.preview().console('info').find('p').eq(0).should('contain.text', 'My name is John Doe');
});
});