Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
LARINA-NB-W10\OlgaLarina committed Oct 8, 2024
1 parent f20d833 commit 8187d01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/Creator/custom_property_editor.testcafe.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ fixture `custom_property_editor`
.page `https://surveyjstest.azurewebsites.net/survey-creator/examples/s/customize-property-editors/reactjs`;

test('Check shortname property', async t => {
const shortnameEditor = Selector('.sv-string-viewer').withText('Shortname').parent('.spg-question').find('input');
const shortnameEditor = Selector('.sv-string-viewer').withText('Short name').parent('.spg-question').find('input');
await t
.maximizeWindow()
.click(Selector('.svc-add-new-question-action'))
.typeText(shortnameEditor, '123456789')
.expect(shortnameEditor.value).eql('12345');
.typeText(shortnameEditor, '123456789101112131415')
.expect(shortnameEditor.value).eql('123456789101112');
});

0 comments on commit 8187d01

Please sign in to comment.