Skip to content

Commit

Permalink
UIU-1675: Rewrite test
Browse files Browse the repository at this point in the history
  • Loading branch information
annamelnyk authored and zburke committed Jul 7, 2020
1 parent 4a9ba72 commit b937055
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/bigtest/tests/patron-blocks/settings-limits-form-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,15 @@ describe('Patron blocks limits form', () => {
});
});

describe('set float limit value for fee fine limit', () => {
describe('save float limit value for fee fine limit', () => {
beforeEach(async function () {
await SettingsLimitsForm.limitField(5)
.fillAndBlur(12.5);
await SettingsLimitsForm.saveButton.click();
});

it('should show error message', () => {
expect(SettingsLimitsForm.errorMessage.isPresent).to.be.false;
it('should appear callout message', () => {
expect(SettingsLimitsForm.calloutMessage.successCalloutIsPresent).to.be.true;
});
});
});
Expand Down

0 comments on commit b937055

Please sign in to comment.